#include <OgreNewt_Joint.h>
|
| OgCustomJoint (unsigned int maxDOF, const OgreNewt::Body *child, const OgreNewt::Body *parent) |
|
virtual | ~OgCustomJoint () |
|
void | pinAndDirToLocal (const Ogre::Vector3 &pinpt, const Ogre::Vector3 &pindir, Ogre::Quaternion &localOrient0, Ogre::Vector3 &localPos0, Ogre::Quaternion &localOrient1, Ogre::Vector3 &localPos1) const |
|
void | localToGlobal (const Ogre::Quaternion &localOrient, const Ogre::Vector3 &localPos, Ogre::Quaternion &globalOrient, Ogre::Vector3 &globalPos, int bodyIndex) const |
|
void | localToGlobalVisual (const Ogre::Quaternion &localOrient, const Ogre::Vector3 &localPos, Ogre::Quaternion &globalOrient, Ogre::Vector3 &globalPos, int bodyIndex) const |
|
void | globalToLocal (const Ogre::Quaternion &globalOrient, const Ogre::Vector3 &globalPos, Ogre::Quaternion &localOrient, Ogre::Vector3 &localPos, int bodyIndex) const |
|
Ogre::Quaternion | grammSchmidt (const Ogre::Vector3 &pin) const |
|
| Joint () |
| constructor
|
|
virtual | ~Joint () |
| destructor
|
|
Body * | getBody0 () const |
| get the pointer to the first rigid body
|
|
Body * | getBody1 () const |
| get the pointer to the first rigid body
|
|
const OgreNewt::World * | getWorld () |
| get the pointer to the world
|
|
virtual void | submitConstraint (Ogre::Real timeStep, int threadIndex) |
| must be define for a functioning joint.
|
|
virtual void | showDebugData (Ogre::SceneNode *debugRootNode) |
| show joint visual debugging data
|
|
int | getCollisionState () const |
| returns collision state
|
|
void | setCollisionState (int state) const |
| sets the collision state
|
|
Ogre::Real | getStiffness () const |
| get joint stiffness
|
|
void | setStiffness (Ogre::Real stiffness) const |
| set joint stiffness
|
|
Definition at line 133 of file OgreNewt_Joint.h.
◆ OgCustomJoint()
◆ ~OgCustomJoint()
OgreNewt::OgCustomJoint::~OgCustomJoint |
( |
| ) |
|
|
virtual |
◆ globalToLocal()
void OgreNewt::OgCustomJoint::globalToLocal |
( |
const Ogre::Quaternion & |
globalOrient, |
|
|
const Ogre::Vector3 & |
globalPos, |
|
|
Ogre::Quaternion & |
localOrient, |
|
|
Ogre::Vector3 & |
localPos, |
|
|
int |
bodyIndex |
|
) |
| const |
◆ grammSchmidt()
Ogre::Quaternion OgreNewt::OgCustomJoint::grammSchmidt |
( |
const Ogre::Vector3 & |
pin | ) |
const |
◆ localToGlobal()
void OgreNewt::OgCustomJoint::localToGlobal |
( |
const Ogre::Quaternion & |
localOrient, |
|
|
const Ogre::Vector3 & |
localPos, |
|
|
Ogre::Quaternion & |
globalOrient, |
|
|
Ogre::Vector3 & |
globalPos, |
|
|
int |
bodyIndex |
|
) |
| const |
◆ localToGlobalVisual()
void OgreNewt::OgCustomJoint::localToGlobalVisual |
( |
const Ogre::Quaternion & |
localOrient, |
|
|
const Ogre::Vector3 & |
localPos, |
|
|
Ogre::Quaternion & |
globalOrient, |
|
|
Ogre::Vector3 & |
globalPos, |
|
|
int |
bodyIndex |
|
) |
| const |
◆ pinAndDirToLocal()
void OgreNewt::OgCustomJoint::pinAndDirToLocal |
( |
const Ogre::Vector3 & |
pinpt, |
|
|
const Ogre::Vector3 & |
pindir, |
|
|
Ogre::Quaternion & |
localOrient0, |
|
|
Ogre::Vector3 & |
localPos0, |
|
|
Ogre::Quaternion & |
localOrient1, |
|
|
Ogre::Vector3 & |
localPos1 |
|
) |
| const |
◆ m_body0
◆ m_body1
◆ m_maxDOF
unsigned int OgreNewt::OgCustomJoint::m_maxDOF |
|
protected |
The documentation for this class was generated from the following files: