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 void SetMaxForce(
unsigned int _index,
double _t);
77 public:
virtual double GetMaxForce(
unsigned int _index);
80 public:
virtual double GetParam(
unsigned int _parameter)
const;
82 public:
virtual void SetParam(
unsigned int _parameter,
double _value);
85 protected:
virtual void SetForceImpl(
unsigned int _index,
double _effort);
boost::shared_ptr< Base > BasePtr
Definition: PhysicsTypes.hh:68
A two axis hinge joint.
Definition: Hinge2Joint.hh:42
The Vector3 class represents the generic vector containing 3 elements.
Definition: Vector3.hh:39
#define GZ_PHYSICS_ODE_VISIBLE
Definition: system.hh:343
A two axis hinge joint.
Definition: ODEHinge2Joint.hh:37
An angle and related functions.
Definition: Angle.hh:53