torcs - 1.2.2

Matrix Class Reference

#include <Matrix.h>

List of all members.

Public Member Functions

 Matrix ()
 Matrix (const float *m)
 Matrix (const double *m)
 Matrix (const Quaternion &q)
 Matrix (Scalar x, Scalar y, Scalar z)
 Matrix (Scalar xx, Scalar xy, Scalar xz, Scalar yx, Scalar yy, Scalar yz, Scalar zx, Scalar zy, Scalar zz)
Vectoroperator[] (int i)
const Vectoroperator[] (int i) const
Mat3getValue ()
const Mat3getValue () const
void setValue (const float *m)
void setValue (const double *m)
void setValue (Scalar xx, Scalar xy, Scalar xz, Scalar yx, Scalar yy, Scalar yz, Scalar zx, Scalar zy, Scalar zz)
void setRotation (const Quaternion &q)
void setScaling (Scalar x, Scalar y, Scalar z)
void setIdentity ()
Matrixoperator *= (const Matrix &m)
Scalar tdot (int i, const Vector &v) const
Scalar determinant () const
Matrix absolute () const
Matrix transpose () const
Matrix adjoint () const
Matrix inverse () const
 Matrix ()
 Matrix (const float *m)
 Matrix (const double *m)
 Matrix (const Quaternion &q)
 Matrix (Scalar x, Scalar y, Scalar z)
 Matrix (Scalar xx, Scalar xy, Scalar xz, Scalar yx, Scalar yy, Scalar yz, Scalar zx, Scalar zy, Scalar zz)
Vectoroperator[] (int i)
const Vectoroperator[] (int i) const
Mat3getValue ()
const Mat3getValue () const
void setValue (const float *m)
void setValue (const double *m)
void setValue (Scalar xx, Scalar xy, Scalar xz, Scalar yx, Scalar yy, Scalar yz, Scalar zx, Scalar zy, Scalar zz)
void setRotation (const Quaternion &q)
void setScaling (Scalar x, Scalar y, Scalar z)
void setIdentity ()
Matrixoperator *= (const Matrix &m)
Scalar tdot (int i, const Vector &v) const
Scalar determinant () const
Matrix absolute () const
Matrix transpose () const
Matrix adjoint () const
Matrix inverse () const

Protected Attributes

Mat3 elem


Constructor & Destructor Documentation

Matrix::Matrix  )  [inline]
 

Matrix::Matrix const float *  m  )  [inline]
 

Here is the call graph for this function:

Matrix::Matrix const double *  m  )  [inline]
 

Here is the call graph for this function:

Matrix::Matrix const Quaternion q  )  [inline]
 

Here is the call graph for this function:

Matrix::Matrix Scalar  x,
Scalar  y,
Scalar  z
[inline]
 

Here is the call graph for this function:

Matrix::Matrix Scalar  xx,
Scalar  xy,
Scalar  xz,
Scalar  yx,
Scalar  yy,
Scalar  yz,
Scalar  zx,
Scalar  zy,
Scalar  zz
[inline]
 

Here is the call graph for this function:

Matrix::Matrix  )  [inline]
 

Matrix::Matrix const float *  m  )  [inline]
 

Here is the call graph for this function:

Matrix::Matrix const double *  m  )  [inline]
 

Here is the call graph for this function:

Matrix::Matrix const Quaternion q  )  [inline]
 

Here is the call graph for this function:

Matrix::Matrix Scalar  x,
Scalar  y,
Scalar  z
[inline]
 

Here is the call graph for this function:

Matrix::Matrix Scalar  xx,
Scalar  xy,
Scalar  xz,
Scalar  yx,
Scalar  yy,
Scalar  yz,
Scalar  zx,
Scalar  zy,
Scalar  zz
[inline]
 

Here is the call graph for this function:


Member Function Documentation

Matrix Matrix::absolute  )  const
 

Matrix Matrix::absolute  )  const [inline]
 

Here is the call graph for this function:

Matrix Matrix::adjoint  )  const
 

Matrix Matrix::adjoint  )  const [inline]
 

Here is the call graph for this function:

Scalar Matrix::determinant  )  const
 

Scalar Matrix::determinant  )  const [inline]
 

Here is the call graph for this function:

const Mat3& Matrix::getValue  )  const [inline]
 

Mat3& Matrix::getValue  )  [inline]
 

const Mat3& Matrix::getValue  )  const [inline]
 

Mat3& Matrix::getValue  )  [inline]
 

Matrix Matrix::inverse  )  const
 

Matrix Matrix::inverse  )  const [inline]
 

Here is the call graph for this function:

Matrix& Matrix::operator *= const Matrix m  ) 
 

Matrix & Matrix::operator *= const Matrix m  )  [inline]
 

Here is the call graph for this function:

const Vector& Matrix::operator[] int  i  )  const [inline]
 

Vector& Matrix::operator[] int  i  )  [inline]
 

const Vector& Matrix::operator[] int  i  )  const [inline]
 

Vector& Matrix::operator[] int  i  )  [inline]
 

void Matrix::setIdentity  )  [inline]
 

Here is the call graph for this function:

void Matrix::setIdentity  )  [inline]
 

Here is the call graph for this function:

void Matrix::setRotation const Quaternion q  )  [inline]
 

Here is the call graph for this function:

void Matrix::setRotation const Quaternion q  )  [inline]
 

Here is the call graph for this function:

void Matrix::setScaling Scalar  x,
Scalar  y,
Scalar  z
[inline]
 

Here is the call graph for this function:

void Matrix::setScaling Scalar  x,
Scalar  y,
Scalar  z
[inline]
 

Here is the call graph for this function:

void Matrix::setValue Scalar  xx,
Scalar  xy,
Scalar  xz,
Scalar  yx,
Scalar  yy,
Scalar  yz,
Scalar  zx,
Scalar  zy,
Scalar  zz
[inline]
 

void Matrix::setValue const double *  m  )  [inline]
 

void Matrix::setValue const float *  m  )  [inline]
 

void Matrix::setValue Scalar  xx,
Scalar  xy,
Scalar  xz,
Scalar  yx,
Scalar  yy,
Scalar  yz,
Scalar  zx,
Scalar  zy,
Scalar  zz
[inline]
 

void Matrix::setValue const double *  m  )  [inline]
 

void Matrix::setValue const float *  m  )  [inline]
 

Scalar Matrix::tdot int  i,
const Vector v
const [inline]
 

Scalar Matrix::tdot int  i,
const Vector v
const [inline]
 

Matrix Matrix::transpose  )  const
 

Matrix Matrix::transpose  )  const [inline]
 

Here is the call graph for this function:


Member Data Documentation

Mat3 Matrix::elem [protected]
 


The documentation for this class was generated from the following files:
Generated at Thu Feb 26 21:54:09 2004 for torcs by doxygen 1.3.3 written by Dimitri van Heesch, © 1997-1999
TORCS © Eric Espié 1999, 2002.