#include <primitive.h>
Inherits Primitive.
Inheritance diagram for Mesh:


Public Member Functions | |
| Mesh (const std::string &filename, float scale, GlobalData &global) | |
| virtual | ~Mesh () |
| 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 | |
| virtual float | getRadius () |
Protected Attributes | |
| OSGMesh * | osgmesh |
| char | drawBoundingMode |
| const std::string | filename |
| float | scale |
| BoundingShape * | boundshape |
|
||||||||||||||||
|
|
|
|
|
|
|
returns the assoziated osg primitive if there or 0
Implements Primitive.
|
|
|
|
|
||||||||||||||||||||
|
registers primitive in ODE and OSG.
Implements Primitive.
|
|
|
Updates the OSG nodes with ODE coordinates. This function must be overloaded (usually calls setMatrix of OsgPrimitives) Implements Primitive.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1.3.8