#include <SoJointFixed.h>
Public Member Functions | |
SoJointFixed (const SbString &BodyOne="", const SbString &BodyTwo="", const SbString &nodeName="") | |
Static Public Member Functions | |
static void | initClass () |
Public Attributes | |
SoSFBool | soFixed |
Protected Member Functions | |
virtual void | createOdeJoint (const dWorldID soWorldId) |
virtual void | updateOdeJointProperties (const SbMatrix &modelMatrix) |
Private Member Functions | |
SO_KIT_HEADER (SoJointFixed) |
The fixed joint maintains a fixed relative position and orientation between two bodies, or between a body and the static environment.
Definition at line 32 of file SoJointFixed.h.
SoJointFixed::SoJointFixed | ( | const SbString & | BodyOne = "" , |
|
const SbString & | BodyTwo = "" , |
|||
const SbString & | nodeName = "" | |||
) |
The parameterized constructor of SoJointFixed.
BodyOne | name of the first body to connect with (default = "") | |
BodyTwo | name of the second body to connect with (default = "") | |
nodeName | name of the node in the Inventor scenegraph |
Definition at line 60 of file SoJointFixed.cpp.
References soFixed.
void SoJointFixed::createOdeJoint | ( | const dWorldID | soWorldId | ) | [protected, virtual] |
This method creates a fixed joint using the soWorldId
.
soWorldId | the ODE world ID used for creating the joint |
Reimplemented from SoJoint.
Definition at line 77 of file SoJointFixed.cpp.
References SoJoint::soJointGroupId, and SoJoint::soJointId.
void SoJointFixed::initClass | ( | ) | [static] |
Initialises the class and it's type id variables.
Reimplemented from SoJoint.
Definition at line 49 of file SoJointFixed.cpp.
SoJointFixed::SO_KIT_HEADER | ( | SoJointFixed | ) | [private] |
void SoJointFixed::updateOdeJointProperties | ( | const SbMatrix & | modelMatrix | ) | [protected, virtual] |
This method updates fixed property of the fixed joint based on the value of the member soFixed.
modelMatrix | UNUSED |
Reimplemented from SoJoint.
Definition at line 89 of file SoJointFixed.cpp.
References soFixed, and SoJoint::soJointId.
The status of the fixed joint (default = true).
Definition at line 42 of file SoJointFixed.h.
Referenced by SoJointFixed(), and updateOdeJointProperties().
Generated on Sat Mar 10 20:00:20 2012 for IPSA by 1.5.8 |