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