#include <primitive.h>
Inheritance diagram for Plane:
Definition at line 137 of file primitive.h.
Public Member Functions | |
Plane () | |
virtual | ~Plane () |
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 | |
OSGPlane * | osgplane |
|
Definition at line 171 of file primitive.cpp. |
|
Definition at line 175 of file primitive.cpp. |
|
returns the assoziated osg primitive if there or 0
Implements Primitive. Definition at line 146 of file primitive.h. |
|
registers primitive in ODE and OSG.
Implements Primitive. Definition at line 179 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 201 of file primitive.cpp. |
|
Definition at line 149 of file primitive.h. |