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