Hinge2Joint Class Reference
[Hinge 2 Joint]
#include <Hinge2Joint.hh>
Inheritance diagram for Hinge2Joint:
Detailed Description
A two axis hinge joint.
Public Member Functions | |
Hinge2Joint (dWorldID worldId) | |
Constructor. | |
virtual | ~Hinge2Joint () |
Destructor. | |
virtual void | SetAnchor (const Vector3 &anchor) |
Set the anchor point. | |
void | SetAxis1 (const Vector3 &axis) |
Set the first axis of rotation. | |
void | SetAxis2 (const Vector3 &axis) |
Set the second axis of rotation. | |
virtual double | GetParam (int parameter) const |
Get the specified parameter. | |
virtual void | SetParam (int parameter, double value) |
Set _parameter with _value. | |
virtual Vector3 | GetAnchor () const |
Get anchor point. | |
Vector3 | GetAnchor2 () const |
Get anchor point 2. | |
Vector3 | GetAxis1 () const |
Get first axis of rotation. | |
Vector3 | GetAxis2 () const |
Get second axis of rotation. | |
double | GetAngle1 () const |
Get angle of rotation about first axis. | |
double | GetAngle1Rate () const |
Get rate of rotation about first axis. | |
double | GetAngle2Rate () const |
Get rate of rotation about second axis. | |
void | SetTorque (double torque1, double torque2) |
Set the torque. | |
Protected Member Functions | |
virtual void | LoadChild (XMLConfigNode *node) |
Load the joint. |
The documentation for this class was generated from the following file: