TORCS  1.3.9
The Open Racing Car Simulator
Object Class Reference

#include <Object.h>

Collaboration diagram for Object:

Public Member Functions

 Object (DtObjectRef obj, ShapePtr shape)
 
void move ()
 
void proceed ()
 
void translate (const Vector &v)
 
void rotate (const Quaternion &q)
 
void scale (Scalar x, Scalar y, Scalar z)
 
void setIdentity ()
 
void setMatrix (const float v[16])
 
void setMatrix (const double v[16])
 
void multMatrix (const float v[16])
 
void multMatrix (const double v[16])
 
const BBoxgetBBox () const
 

Public Attributes

Transform curr
 
Transform prev
 
DtObjectRef ref
 
ShapePtr shapePtr
 
BBox bbox
 
Endpoint lower [3]
 
Endpoint upper [3]
 

Detailed Description

Definition at line 41 of file Object.h.

Constructor & Destructor Documentation

◆ Object()

Object::Object ( DtObjectRef  obj,
ShapePtr  shape 
)

Definition at line 38 of file Object.cpp.

Here is the call graph for this function:

Member Function Documentation

◆ getBBox()

const BBox& Object::getBBox ( ) const
inline

Definition at line 60 of file Object.h.

◆ move()

void Object::move ( )

Definition at line 54 of file Object.cpp.

Here is the call graph for this function:

◆ multMatrix() [1/2]

void Object::multMatrix ( const float  v[16])
inline

Definition at line 57 of file Object.h.

◆ multMatrix() [2/2]

void Object::multMatrix ( const double  v[16])
inline

Definition at line 58 of file Object.h.

◆ proceed()

void Object::proceed ( )

Definition at line 64 of file Object.cpp.

◆ rotate()

void Object::rotate ( const Quaternion q)
inline

Definition at line 49 of file Object.h.

Here is the call graph for this function:

◆ scale()

void Object::scale ( Scalar  x,
Scalar  y,
Scalar  z 
)
inline

Definition at line 50 of file Object.h.

Here is the call graph for this function:

◆ setIdentity()

void Object::setIdentity ( )
inline

Definition at line 52 of file Object.h.

Here is the call graph for this function:

◆ setMatrix() [1/2]

void Object::setMatrix ( const float  v[16])
inline

Definition at line 54 of file Object.h.

Here is the call graph for this function:

◆ setMatrix() [2/2]

void Object::setMatrix ( const double  v[16])
inline

Definition at line 55 of file Object.h.

Here is the call graph for this function:

◆ translate()

void Object::translate ( const Vector v)
inline

Definition at line 48 of file Object.h.

Here is the call graph for this function:

Member Data Documentation

◆ bbox

BBox Object::bbox

Definition at line 66 of file Object.h.

◆ curr

Transform Object::curr

Definition at line 62 of file Object.h.

◆ lower

Endpoint Object::lower[3]

Definition at line 67 of file Object.h.

◆ prev

Transform Object::prev

Definition at line 63 of file Object.h.

◆ ref

DtObjectRef Object::ref

Definition at line 64 of file Object.h.

◆ shapePtr

ShapePtr Object::shapePtr

Definition at line 65 of file Object.h.

◆ upper

Endpoint Object::upper[3]

Definition at line 68 of file Object.h.


The documentation for this class was generated from the following files: