FixedJoint Class Reference

#include <joint.h>

Inherits lpzrobots::Joint.

Collaboration diagram for FixedJoint:
Collaboration graph
[legend]

List of all members.

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

OSGPrimitivevisual

Constructor & Destructor Documentation

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]

Member Function Documentation

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.


Member Data Documentation

OSGPrimitive* visual [protected]

The documentation for this class was generated from the following files:
Generated on Thu Jun 28 14:48:47 2012 for Robot Simulator of the Robotics Group for Self-Organization of Control by  doxygen 1.6.3