#include <primitive.h>
Inheritance diagram for Capsule:
Definition at line 190 of file primitive.h.
Public Member Functions | |
Capsule (float radius, float height) | |
virtual | ~Capsule () |
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 | |
Protected Attributes | |
OSGCapsule * | osgcapsule |
|
Definition at line 293 of file primitive.cpp. |
|
Definition at line 297 of file primitive.cpp. |
|
returns the assoziated osg primitive if there or 0
Implements Primitive. Definition at line 199 of file primitive.h. |
|
registers primitive in ODE and OSG.
Implements Primitive. Definition at line 301 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 322 of file primitive.cpp. |
|
Definition at line 202 of file primitive.h. |