HingeJoint.hh
Go to the documentation of this file.00001 
00002 
00003 
00004 
00005 
00006 
00007 
00008 
00009 
00010 
00011 
00012 
00013 
00014 
00015 
00016 
00017 
00018 
00019 
00020 
00021 
00022 
00023 
00024 
00025 
00026 
00027 #ifndef HINGEJOINT_HH
00028 #define HINGEJOINT_HH
00029 
00030 #include "Vector.hh"
00031 #include "Joint.hh"
00032 
00033 class World;
00034 
00035 class HingeJoint : public Joint
00036 {
00038   public: HingeJoint(World *world);
00039 
00040   
00041   public: virtual ~HingeJoint();
00042 
00043   
00044   public: double GetAngle() const;
00045 
00046   
00047   public: double GetAngleRate() const;
00048 
00049   
00050   public: virtual double GetParam( int parameter ) const;
00051 
00053   public: virtual void SetAnchor(GzVector anchor);
00054 
00056   public: void SetAxis(GzVector axis);
00057 
00059   public: virtual GzVector GetAnchor() const;
00060 
00062   public: GzVector GetAxis() const;
00063 
00064   
00065   public: virtual void SetParam( int parameter, double value );
00066 
00067   
00068   public: void SetTorque(double torque);
00069 };
00070 
00071 #endif
00072 
  
  
    
      | Last updated 12 September 2005 21:38:45 |