22 #ifndef _ODEHINGEJOINT_HH_ 23 #define _ODEHINGEJOINT_HH_ 48 public:
virtual void Load(sdf::ElementPtr _sdf);
51 public:
virtual ignition::math::Vector3d Anchor(
52 const unsigned int _index)
const;
55 public:
virtual void SetAnchor(
const unsigned int _index,
56 const ignition::math::Vector3d &_anchor);
59 public:
virtual ignition::math::Vector3d GlobalAxis(
60 const unsigned int _index)
const;
63 public:
virtual void SetAxis(
const unsigned int _index,
64 const ignition::math::Vector3d &_axis);
67 public:
virtual double PositionImpl(
const unsigned int _index)
const;
70 public:
virtual void SetVelocity(
unsigned int _index,
double _angle);
73 public:
virtual double GetVelocity(
unsigned int _index)
const;
76 public:
virtual double GetParam(
unsigned int _parameter)
const;
79 public:
virtual void SetParam(
unsigned int _parameter,
double _value);
82 protected:
virtual void SetForceImpl(
unsigned int _index,
double _effort);
91 private:
void SetCumulativeAngle(
double _angle);
Forward declarations for the common classes.
Definition: Animation.hh:26
A single axis hinge joint.
Definition: HingeJoint.hh:37
ODE joint interface.
Definition: ODEJoint.hh:35
A single axis hinge joint.
Definition: ODEHingeJoint.hh:37
boost::shared_ptr< Base > BasePtr
Definition: PhysicsTypes.hh:78