22 #ifndef _ODEHINGE2JOINT_HH_
23 #define _ODEHINGE2JOINT_HH_
48 public:
virtual void Load(sdf::ElementPtr _sdf);
51 public:
virtual void SetAnchor(
unsigned int _index,
55 public:
virtual void SetAxis(
unsigned int _index,
59 public:
virtual math::Vector3 GetAnchor(
unsigned int _index)
const;
62 public:
virtual math::Vector3 GetGlobalAxis(
unsigned int _index)
const;
65 public:
virtual math::Angle GetAngleImpl(
unsigned int _index)
const;
68 public:
virtual double GetVelocity(
unsigned int _index)
const;
71 public:
virtual void SetVelocity(
unsigned int _index,
double _angle);
74 public:
virtual double GetParam(
unsigned int _parameter)
const;
76 public:
virtual void SetParam(
unsigned int _parameter,
double _value);
79 protected:
virtual void SetForceImpl(
unsigned int _index,
double _effort);
boost::shared_ptr< Base > BasePtr
Definition: PhysicsTypes.hh:72
#define GZ_PHYSICS_VISIBLE
Definition: system.hh:259
A two axis hinge joint.
Definition: Hinge2Joint.hh:42
The Vector3 class represents the generic vector containing 3 elements.
Definition: Vector3.hh:39
A two axis hinge joint.
Definition: ODEHinge2Joint.hh:37
An angle and related functions.
Definition: Angle.hh:53