Public Member Functions | Protected Member Functions
ODEHingeJoint Class Reference

A single axis hinge joint. More...

#include <ODEHingeJoint.hh>

Inheritance diagram for ODEHingeJoint:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 ODEHingeJoint (dWorldID worldId)
 Constructor.
virtual ~ODEHingeJoint ()
 Destructor.
virtual math::Vector3 GetAnchor (int index) const
 Get the anchor point.
virtual void SetAnchor (int index, const math::Vector3 &anchor)
 Set the anchor point.
virtual math::Vector3 GetGlobalAxis (int index) const
 Get the axis of rotation.
virtual void SetAxis (int index, const math::Vector3 &axis)
 Set the axis of rotation.
virtual void SetDamping (int index, const double damping)
 Set the joint damping.
void ApplyDamping ()
 callback to apply damping force to joint
virtual math::Angle GetAngleImpl (int index) const
 Get the angle of rotation.
virtual void SetVelocity (int index, double angle)
 Set the velocity of an axis(index).
virtual double GetVelocity (int index) const
 Get the rotation rate of an axis(index)
virtual void SetMaxForce (int index, double t)
 Set the max allowed force of an axis(index).
virtual double GetMaxForce (int index)
 Get the max allowed force of an axis(index).
virtual void SetForce (int index, double torque)
 Set the torque of a joint.
virtual double GetParam (int parameter) const
 Get the specified parameter.
virtual void SetParam (int parameter, double value)
 Set the parameter to value.

Protected Member Functions

virtual void Load (sdf::ElementPtr &_sdf)
 Load joint.

Detailed Description

A single axis hinge joint.


The documentation for this class was generated from the following file: