#include <primitive.h>
Inheritance diagram for Sphere:


Definition at line 173 of file primitive.h.
Public Member Functions | |
| Sphere (float radius) | |
| virtual | ~Sphere () |
| 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 | |
| OSGSphere * | osgsphere |
|
|
Definition at line 253 of file primitive.cpp. |
|
|
Definition at line 257 of file primitive.cpp. |
|
|
returns the assoziated osg primitive if there or 0
Implements Primitive. Definition at line 183 of file primitive.h. |
|
||||||||||||||||||||
|
registers primitive in ODE and OSG.
Implements Primitive. Definition at line 261 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 283 of file primitive.cpp. |
|
|
Definition at line 186 of file primitive.h. |
1.4.5