#include <primitive.h>
Inheritance diagram for Transform:
Hides complexity of ODE TransformGeoms.
Definition at line 211 of file primitive.h.
Public Member Functions | |
Transform (Primitive *parent, Primitive *child, const osg::Matrix &pose) | |
virtual void | init (const OdeHandle &odeHandle, double mass, const OsgHandle &osgHandle, char mode=Body|Geom|Draw) |
mode is ignored | |
virtual void | update () |
Updates the OSG nodes with ODE coordinates. | |
virtual OSGPrimitive * | getOSGPrimitive () |
returns the assoziated osg primitive if there or 0 | |
Protected Attributes | |
Primitive * | parent |
Primitive * | child |
osg::Matrix | pose |
|
Definition at line 332 of file primitive.cpp. |
|
returns the assoziated osg primitive if there or 0
Implements Primitive. Definition at line 225 of file primitive.h. |
|
mode is ignored
Implements Primitive. Definition at line 336 of file primitive.cpp. |
|
Updates the OSG nodes with ODE coordinates. This function must be overloaded (usually calls setMatrix of OsgPrimitives) Implements Primitive. Definition at line 365 of file primitive.cpp. |
|
Definition at line 229 of file primitive.h. |
|
Definition at line 228 of file primitive.h. |
|
Definition at line 230 of file primitive.h. |