#include <joint.h>
Inherits OneAxisJoint.
Inherited by Hinge2Joint, and UniversalJoint.
Inheritance diagram for TwoAxisJoint:


Public Member Functions | |
| TwoAxisJoint (Primitive *part1, Primitive *part2, const osg::Vec3 &anchor, const Axis axis1, const Axis axis2) | |
| virtual Axis | getAxis2 () const |
| virtual double | getPosition2 () const =0 |
| virtual double | getPosition2Rate () const =0 |
| virtual int | getNumberAxes () const |
| returns the number of Axes | |
| virtual std::list< double > | getPositions () const |
| returns the positions of all Axes | |
| virtual std::list< double > | getPositionRates () const |
| returns the position rates of all Axes | |
| virtual int | getPositions (double *sensorarray) const |
| stores the positions of all Axes into sensorarray and returns the number of written entries | |
| virtual int | getPositionRates (double *sensorarray) const |
| stores the position rates of all Axes into sensorarray and returns the number of written entries | |
Protected Attributes | |
| Axis | axis2 |
|
||||||||||||||||||||||||
|
|
|
|
|
|
|
returns the number of Axes
Reimplemented from OneAxisJoint.
|
|
|
Implemented in Hinge2Joint, and UniversalJoint.
|
|
|
Implemented in Hinge2Joint, and UniversalJoint.
|
|
|
stores the position rates of all Axes into sensorarray and returns the number of written entries
Reimplemented from OneAxisJoint.
|
|
|
returns the position rates of all Axes
Reimplemented from OneAxisJoint.
|
|
|
stores the positions of all Axes into sensorarray and returns the number of written entries
Reimplemented from OneAxisJoint.
|
|
|
returns the positions of all Axes
Reimplemented from OneAxisJoint.
|
|
|
|
1.3.8