UniversalJoint Class Reference
[Universal Joint]
#include <UniversalJoint.hh>
Inheritance diagram for UniversalJoint:

Detailed Description
A universal jointPublic Member Functions | |
| UniversalJoint (dWorldID worldId) | |
| virtual | ~UniversalJoint () |
| virtual Vector3 | GetAnchor () const |
| Vector3 | GetAxis1 () const |
| Vector3 | GetAxis2 () const |
| double | GetAngle1 () const |
| double | GetAngle2 () const |
| double | GetAngleRate1 () const |
| double | GetAngleRate2 () const |
| virtual void | SetAnchor (const Vector3 &anchor) |
| void | SetAxis1 (const Vector3 &axis) |
| void | SetAxis2 (const Vector3 &axis) |
| virtual void | SetParam (int parameter, double value) |
| virtual void | SetTorque (double torque1, double torque2) |
Protected Member Functions | |
| virtual void | LoadChild (XMLConfigNode *node) |
Constructor & Destructor Documentation
| UniversalJoint | ( | dWorldID | worldId | ) |
Constructor
| virtual ~UniversalJoint | ( | ) | [virtual] |
Destuctor
Member Function Documentation
| virtual void LoadChild | ( | XMLConfigNode * | node | ) | [protected, virtual] |
Load the joint
Reimplemented from Joint.
| Vector3 GetAxis1 | ( | ) | const |
Get the first axis of rotation
| Vector3 GetAxis2 | ( | ) | const |
Get the second axis of rotation
| double GetAngle1 | ( | ) | const |
Get the angle of axis 1
| double GetAngle2 | ( | ) | const |
Get the angle of axis 2
| double GetAngleRate1 | ( | ) | const |
Get the angular rate of axis 1
| double GetAngleRate2 | ( | ) | const |
Get the angular rate of axis 2
| virtual void SetAnchor | ( | const Vector3 & | anchor | ) | [virtual] |
Set the anchor point
Reimplemented from Joint.
| void SetAxis1 | ( | const Vector3 & | axis | ) |
Set the first axis of rotation
| void SetAxis2 | ( | const Vector3 & | axis | ) |
Set the second axis of rotation
| virtual void SetParam | ( | int | parameter, | |
| double | value | |||
| ) | [virtual] |
Set the parameter to value
Reimplemented from Joint.
| virtual void SetTorque | ( | double | torque1, | |
| double | torque2 | |||
| ) | [virtual] |
Set the torque of a joint.
The documentation for this class was generated from the following file: