HingeJoint Class Reference
[Hinge Joint]

#include <HingeJoint.hh>

Inheritance diagram for HingeJoint:

Joint List of all members.

Detailed Description

A single axis hinge joint.

Public Member Functions

 HingeJoint (dWorldID worldId)
virtual ~HingeJoint ()
double GetAngle () const
 Get the angle of rotation.
double GetAngleRate () const
 Get the rotation rate.
virtual double GetParam (int parameter) const
 Get the specified parameter.
virtual void SetAnchor (const Vector3 &anchor)
 Set the anchor point.
void SetAxis (const Vector3 &axis)
 Set the axis of rotation.
virtual Vector3 GetAnchor () const
 Get the anchor point.
Vector3 GetAxis () const
 Get the axis of rotation.
virtual void SetParam (int parameter, double value)
 Set the parameter to value.
void SetTorque (double torque)
 Set the torque of a joint.

Protected Member Functions

virtual void LoadChild (XMLConfigNode *node)
 Load joint.

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

Last updated Aug 04 2007