#include <sliderjoint.h>
Inheritance diagram for oxygen::SliderJoint:
Public Member Functions | |
SliderJoint () | |
virtual | ~SliderJoint () |
float | GetPosition () |
returns the slider linear position, i.e. | |
float | GetPositionRate () |
returns the time derivative of the sliders linear position | |
Protected Member Functions | |
virtual void | Attach (boost::shared_ptr< Body > body1, boost::shared_ptr< Body > body2) |
attaches the joint to some new bodies | |
virtual void | OnLink () |
creates a new slider joint | |
virtual void | SetParameter (int parameter, float value) |
sets a joint parameter value | |
virtual float | GetParameter (int parameter) |
returns a joint parameter value |
Definition at line 29 of file sliderjoint.h.
|
Definition at line 27 of file sliderjoint.cpp. |
|
Definition at line 31 of file sliderjoint.cpp. |
|
attaches the joint to some new bodies
Reimplemented from oxygen::Joint. |
|
returns a joint parameter value
Implements oxygen::Joint. Definition at line 70 of file sliderjoint.cpp. References oxygen::Joint::mODEJoint. |
|
returns the slider linear position, i.e. the slider's `extension'. When the axis is set, the current position of the attached bodies is examined and that position will be the zero position. Definition at line 55 of file sliderjoint.cpp. References oxygen::Joint::mODEJoint. |
|
returns the time derivative of the sliders linear position
Definition at line 60 of file sliderjoint.cpp. References oxygen::Joint::mODEJoint. |
|
creates a new slider joint
Reimplemented from oxygen::Joint. Definition at line 35 of file sliderjoint.cpp. References oxygen::ODEObject::GetWorldID(), and oxygen::Joint::mODEJoint. Here is the call graph for this function: ![]() |
|
sets a joint parameter value
Implements oxygen::Joint. Definition at line 65 of file sliderjoint.cpp. References oxygen::Joint::mODEJoint. |