vrsode/include/vrsode/TrimeshShape.h

Go to the documentation of this file.
00001 
00002 #ifndef _VRSODE_TRIMESH_SHAPE_H_
00003 #define _VRSODE_TRIMESH_SHAPE_H_
00004 
00005 #include <ode/ode.h>
00006 
00007 #include "Shape.h"
00008 
00009 namespace vrsode
00010 {
00011 class TriangleData;
00012     
00020 class TrimeshShape : public Shape
00021 {
00022     VRS::SO<TriangleData> m_triangleData;
00023     
00024     dTriMeshDataID m_trimeshId;
00025     
00026 public:
00030     TrimeshShape(VRS::SO<TriangleData>);
00031             
00035     virtual ~TrimeshShape();
00036 
00042     void geometryChangeCallback();
00043 
00044 protected:
00045     virtual void createDebugNode();
00046     virtual void createGeometry();
00047 };
00048 
00049 }
00050 
00051 #endif

Generated on Fri May 11 21:01:58 2007 for Random Racer by  doxygen 1.5.1