#include <joint.h>
Inherits lpzrobots::Joint.

Public Member Functions | |
| FixedJoint (Primitive *part1, Primitive *part2, const osg::Vec3 &anchor=osg::Vec3(0, 0, 0)) | |
| the anchor is only required for drawing. | |
| virtual | ~FixedJoint () |
| virtual void | init (const OdeHandle &odeHandle, const OsgHandle &osgHandle, bool withVisual=true, double visualSize=0.2, bool ignoreColl=true) |
| initialises (and creates) the joint. | |
| virtual void | update () |
| should syncronise the Ode stuff and the OSG notes (if any) | |
| virtual void | setParam (int parameter, double value) |
| sets the ODE joint parameter (see ODE manual) | |
| virtual double | getParam (int parameter) const |
| return the ODE joint parameter (see ODE manual) | |
| virtual int | getNumberAxes () const |
| returns the number of Axes | |
Protected Attributes | |
| OSGPrimitive * | visual |
| FixedJoint | ( | Primitive * | part1, | |
| Primitive * | part2, | |||
| const osg::Vec3 & | anchor = osg::Vec3(0,0,0) | |||
| ) |
the anchor is only required for drawing.
If not provided than part1 position is used
| ~FixedJoint | ( | ) | [virtual] |
| virtual int getNumberAxes | ( | ) | const [inline, virtual] |
returns the number of Axes
Implements Joint.
| double getParam | ( | int | parameter | ) | const [virtual] |
return the ODE joint parameter (see ODE manual)
Implements Joint.
| void init | ( | const OdeHandle & | odeHandle, | |
| const OsgHandle & | osgHandle, | |||
| bool | withVisual = true, |
|||
| double | visualSize = 0.2, |
|||
| bool | ignoreColl = true | |||
| ) | [virtual] |
initialises (and creates) the joint.
Reimplemented from Joint.
| void setParam | ( | int | parameter, | |
| double | value | |||
| ) | [virtual] |
sets the ODE joint parameter (see ODE manual)
Implements Joint.
| void update | ( | ) | [virtual] |
should syncronise the Ode stuff and the OSG notes (if any)
Implements Joint.
OSGPrimitive* visual [protected] |
1.6.3