vrsode/include/vrsode/SphereShape.h

Go to the documentation of this file.
00001 
00002 #ifndef _VRSODE_SPHERE_SHAPE_H_
00003 #define _VRSODE_SPHERE_SHAPE_H_
00004 
00005 #include <ode/ode.h>
00006 
00007 #include "Shape.h"
00008 
00009 namespace vrsode
00010 {
00016 class SphereShape : public Shape
00017 {
00018     VRS::Bounds m_bounds;
00019 
00020 public:
00024     SphereShape(VRS::Bounds);
00025 
00029     virtual ~SphereShape();
00030 
00031     void setRadius(double);
00032     double radius();
00033 
00034     void setBounds(VRS::Bounds);
00035     VRS::Bounds bounds();
00036 
00037 protected:
00038     virtual void createGeometry();
00039     virtual void createDebugNode();
00040 };
00041 
00042 }
00043 
00044 #endif

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