InvisibleBox Class Reference

#include <invisibleprimitive.h>

Inherits Primitive.

Inheritance diagram for InvisibleBox:

Inheritance graph
[legend]
Collaboration diagram for InvisibleBox:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 InvisibleBox (float lengthX, float lengthY, float lengthZ)
virtual void init (const OdeHandle &odeHandle, double mass, const OsgHandle &osgHandle, char mode=Body|Geom|Draw)
 registers primitive in ODE and OSG.
virtual void update ()
 Updates the OSG nodes with ODE coordinates.
virtual OSGPrimitivegetOSGPrimitive ()
 returns the assoziated osg primitive if there or 0

Protected Attributes

float lengthX
float lengthY
float lengthZ

Constructor & Destructor Documentation

InvisibleBox ( float  lengthX,
float  lengthY,
float  lengthZ 
)


Member Function Documentation

virtual OSGPrimitive* getOSGPrimitive (  )  [inline, virtual]

returns the assoziated osg primitive if there or 0

Implements Primitive.

void init ( const OdeHandle odeHandle,
double  mass,
const OsgHandle osgHandle,
char  mode = Body|Geom|Draw 
) [virtual]

registers primitive in ODE and OSG.

Parameters:
osgHandle scruct with ODE variables inside (to specify space, world...)
mass Mass of the object in ODE (if withBody = true)
osgHandle scruct with OSG variables inside (scene node, color ...)
mode is a conjuction of Modes.

Implements Primitive.

virtual void update (  )  [inline, virtual]

Updates the OSG nodes with ODE coordinates.

This function must be overloaded (usually calls setMatrix of OsgPrimitives)

Implements Primitive.


Member Data Documentation

float lengthX [protected]

float lengthY [protected]

float lengthZ [protected]


The documentation for this class was generated from the following files:
Generated on Mon Aug 7 16:53:22 2006 for Robotsystem of the Robot Group Leipzig by  doxygen 1.4.7