vrsode/include/vrsode/PlaneShape.h

Go to the documentation of this file.
00001 
00002 #ifndef _VRSODE_PLANE_SHAPE_H_
00003 #define _VRSODE_PLANE_SHAPE_H_
00004 
00005 #include <ode/ode.h>
00006 
00007 #include "Shape.h"
00008 
00009 namespace vrsode
00010 {
00016 class PlaneShape : public Shape
00017 {
00018     VRS::Vector m_normal;
00019     double m_anchor;
00020 
00021 public:
00025     PlaneShape(VRS::Vector p_normal, double p_anchor);
00026 
00030     virtual ~PlaneShape();
00031 
00032     double anchor();
00033     VRS::Vector normal();
00034 
00035     void setAnchor(double);
00036     void setNormal(VRS::Vector);
00037 
00038     void setNormalAndAnchor(VRS::Vector, double);
00039 
00040 protected:
00041     virtual void createGeometry();
00042     virtual void createDebugNode();
00043 };
00044 
00045 }
00046 
00047 #endif

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