00001
00002 #ifndef _VRSODE_BOX_SHAPE_H_
00003 #define _VRSODE_BOX_SHAPE_H_
00004
00005 #include <ode/ode.h>
00006
00007 #include "Shape.h"
00008
00009 namespace vrsode
00010 {
00015 class BoxShape : public Shape
00016 {
00017 VRS::Bounds m_bounds;
00018
00019 public:
00023 BoxShape(VRS::Bounds);
00024
00028 virtual ~BoxShape();
00029
00033 void setBounds(VRS::Bounds);
00034
00038 VRS::Bounds bounds();
00039
00040 protected:
00041 virtual void createGeometry();
00042 virtual void createDebugNode();
00043 };
00044
00045 }
00046
00047 #endif