22 #ifndef _ODEHINGEJOINT_HH_
23 #define _ODEHINGEJOINT_HH_
50 public:
virtual void Load(sdf::ElementPtr _sdf);
53 public:
virtual ignition::math::Vector3d Anchor(
54 const unsigned int _index)
const;
57 public:
virtual void SetAnchor(
const unsigned int _index,
58 const ignition::math::Vector3d &_anchor);
61 public:
virtual ignition::math::Vector3d GlobalAxis(
62 const unsigned int _index)
const;
65 public:
virtual void SetAxis(
const unsigned int _index,
66 const ignition::math::Vector3d &_axis);
69 public:
virtual double PositionImpl(
const unsigned int _index)
const;
72 public:
virtual void SetVelocity(
unsigned int _index,
double _angle);
75 public:
virtual double GetVelocity(
unsigned int _index)
const;
78 public:
virtual double GetParam(
unsigned int _parameter)
const;
81 public:
virtual void SetParam(
unsigned int _parameter,
double _value);
84 protected:
virtual void SetForceImpl(
unsigned int _index,
double _effort);
A single axis hinge joint.
Definition: HingeJoint.hh:37
A single axis hinge joint.
Definition: ODEHingeJoint.hh:39
boost::shared_ptr< Base > BasePtr
Definition: PhysicsTypes.hh:77