Public Member Functions | Protected Member Functions
ODESliderJoint Class Reference

A slider joint. More...

#include <ODESliderJoint.hh>

Inheritance diagram for ODESliderJoint:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 ODESliderJoint (dWorldID worldId)
 Constructor.
virtual ~ODESliderJoint ()
 Destructor.
virtual math::Vector3 GetGlobalAxis (int index) const
 Get the axis of rotation.
virtual void SetAxis (int index, const math::Vector3 &axis)
 Set the axis of motion.
virtual void SetDamping (int index, const double damping)
 Set joint damping, not yet implemented.
void ApplyDamping ()
 callback to apply damping force to joint
virtual math::Angle GetAngleImpl (int index) const
 Get the position of the joint.
virtual double GetVelocity (int index) const
 Get the rate of change.
virtual void SetVelocity (int index, double angle)
 Set the velocity of an axis(index).
virtual void SetForce (int index, double force)
 Set the slider force.
virtual void SetMaxForce (int index, double t)
 Set the max allowed force of an axis(index).
virtual double GetMaxForce (int index)
 Get the max allowed force of an axis(index).
virtual double GetParam (int parameter) const
 Get the _parameter.
virtual void SetParam (int parameter, double value)
 Set the _parameter.

Protected Member Functions

virtual void Load (sdf::ElementPtr &_sdf)
 Load the joint.

Detailed Description

A slider joint.


The documentation for this class was generated from the following file: