#include <primitive.h>
Inheritance diagram for DummyPrimitive:
Only useful for representing the static world in terms of primitives.
Definition at line 237 of file primitive.h.
Public Member Functions | |
DummyPrimitive () | |
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 OSGPrimitive * | getOSGPrimitive () |
returns the assoziated osg primitive if there or 0 |
|
Definition at line 244 of file primitive.h. |
|
returns the assoziated osg primitive if there or 0
Implements Primitive. Definition at line 252 of file primitive.h. |
|
registers primitive in ODE and OSG.
Implements Primitive. Definition at line 248 of file primitive.h. |
|
Updates the OSG nodes with ODE coordinates. This function must be overloaded (usually calls setMatrix of OsgPrimitives) Implements Primitive. Definition at line 251 of file primitive.h. |