torcs - 1.2.2

Transform Class Reference

#include <Transform.h>

Collaboration diagram for Transform:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 Transform ()
 Transform (const float m[16])
 Transform (const double m[16])
Point operator() (const Point &p) const
const MatrixgetBasis () const
const PointgetOrigin () const
void setValue (const float m[16])
void setValue (const double m[16])
void setIdentity ()
Transformoperator *= (const Transform &t)
void translate (const Vector &v)
void rotate (const Quaternion &q)
void scale (Scalar x, Scalar y, Scalar z)
void invert (const Transform &t)
void mult (const Transform &t1, const Transform &t2)
void multInverseLeft (const Transform &t1, const Transform &t2)
 Transform ()
 Transform (const float m[16])
 Transform (const double m[16])
Point operator() (const Point &p) const
const MatrixgetBasis () const
const PointgetOrigin () const
void setValue (const float m[16])
void setValue (const double m[16])
void setIdentity ()
Transformoperator *= (const Transform &t)
void translate (const Vector &v)
void rotate (const Quaternion &q)
void scale (Scalar x, Scalar y, Scalar z)
void invert (const Transform &t)
void mult (const Transform &t1, const Transform &t2)
void multInverseLeft (const Transform &t1, const Transform &t2)

Private Types

enum  {
  IDENTITY = 0x00, TRANSLATION = 0x01, ROTATION = 0x02, SCALING = 0x04,
  LINEAR = ROTATION | SCALING, AFFINE = TRANSLATION | LINEAR
}
enum  {
  IDENTITY = 0x00, TRANSLATION = 0x01, ROTATION = 0x02, SCALING = 0x04,
  LINEAR = ROTATION | SCALING, AFFINE = TRANSLATION | LINEAR
}

Private Attributes

Matrix basis
Point origin
unsigned int type

Member Enumeration Documentation

anonymous enum [private]
 

Enumeration values:
IDENTITY 
TRANSLATION 
ROTATION 
SCALING 
LINEAR 
AFFINE 

anonymous enum [private]
 

Enumeration values:
IDENTITY 
TRANSLATION 
ROTATION 
SCALING 
LINEAR 
AFFINE 


Constructor & Destructor Documentation

Transform::Transform  )  [inline]
 

Transform::Transform const float  m[16]  )  [inline]
 

Here is the call graph for this function:

Transform::Transform const double  m[16]  )  [inline]
 

Here is the call graph for this function:

Transform::Transform  )  [inline]
 

Transform::Transform const float  m[16]  )  [inline]
 

Here is the call graph for this function:

Transform::Transform const double  m[16]  )  [inline]
 

Here is the call graph for this function:


Member Function Documentation

const Matrix& Transform::getBasis  )  const [inline]
 

const Matrix& Transform::getBasis  )  const [inline]
 

const Point& Transform::getOrigin  )  const [inline]
 

const Point& Transform::getOrigin  )  const [inline]
 

void Transform::invert const Transform t  ) 
 

void Transform::invert const Transform t  ) 
 

Here is the call graph for this function:

void Transform::mult const Transform t1,
const Transform t2
 

void Transform::mult const Transform t1,
const Transform t2
 

void Transform::multInverseLeft const Transform t1,
const Transform t2
 

void Transform::multInverseLeft const Transform t1,
const Transform t2
 

Here is the call graph for this function:

Transform& Transform::operator *= const Transform t  ) 
 

Transform & Transform::operator *= const Transform t  ) 
 

Point Transform::operator() const Point p  )  const [inline]
 

Here is the call graph for this function:

Point Transform::operator() const Point p  )  const [inline]
 

Here is the call graph for this function:

void Transform::rotate const Quaternion q  ) 
 

void Transform::rotate const Quaternion q  ) 
 

void Transform::scale Scalar  x,
Scalar  y,
Scalar  z
 

void Transform::scale Scalar  x,
Scalar  y,
Scalar  z
 

void Transform::setIdentity  ) 
 

void Transform::setIdentity  ) 
 

Here is the call graph for this function:

void Transform::setValue const double  m[16]  ) 
 

void Transform::setValue const float  m[16]  ) 
 

void Transform::setValue const double  m[16]  ) 
 

Here is the call graph for this function:

void Transform::setValue const float  m[16]  ) 
 

Here is the call graph for this function:

void Transform::translate const Vector v  ) 
 

void Transform::translate const Vector v  ) 
 


Member Data Documentation

Matrix Transform::basis [private]
 

Point Transform::origin [private]
 

unsigned int Transform::type [private]
 


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