#include <SO3Body.h>
List of all members.
Public Member Functions |
| | SBody (SScene *scene, SNode *node, int type, OgreNewt::CollisionPtr col) |
| | ~SBody () |
| void | BodyAddForceCallback (OgreNewt::Body *body, float timeStep, int threadIndex) |
| bool | BodyBuoyancyCallback (int colID, OgreNewt::Body *me, const Ogre::Quaternion &orient, const Ogre::Vector3 &pos, Ogre::Plane &plane) |
| OgreNewt::Body * | getOgreNewtBodyPointer () |
| OgreNewt::CollisionPtr | getOgreNewtBodyCollisionPointer () |
| Ogre::Real | getMass () |
| Ogre::Real | getH () |
| Ogre::Real | getRad () |
| int | getPrimitiveType () |
| OgreNewt::MaterialID * | getMaterialID () |
| bool | getState () |
| Ogre::Vector3 | getInertia () |
| Ogre::Vector3 | getOffset () |
| Ogre::Vector3 | getCenterOfMass () |
| Ogre::Vector3 | getGravity () |
| Ogre::Vector3 | getForce () |
| Ogre::Vector3 | getVector () |
| Ogre::Vector3 | getTorque () |
| Ogre::Vector3 | getLocalForce () |
| Ogre::Vector3 | getGlobalForce () |
| Ogre::Vector3 | getResultForce () |
| Ogre::Vector3 | getGlobalLocationForce () |
| Ogre::Vector3 | getLocalLocationForce () |
| void | setOgreNewtBodyPointer (OgreNewt::Body *mBody) |
| void | setOgreNewtBodyCollisionPointer (OgreNewt::CollisionPtr col) |
| void | setOffset (Ogre::Vector3 mOffset) |
| void | setMass (Ogre::Real mMass) |
| void | setH (Ogre::Real mH) |
| void | setRad (Ogre::Real mRad) |
| void | setPrimitiveType (int cpt) |
| void | setMaterialID (OgreNewt::MaterialID *mMatID) |
| void | setState (bool mState) |
| void | setInertia (Ogre::Vector3 mInteria) |
| void | setCenterOfMass (Ogre::Vector3 com) |
| void | setGravity (Ogre::Vector3 mGravity) |
| void | setForce (Ogre::Vector3 mForce) |
| void | setVector (Ogre::Vector3 mVector) |
| void | setTorque (Ogre::Vector3 mTorque) |
| void | setLocalForce (Ogre::Vector3 mLocalForce) |
| void | setGlobalForce (Ogre::Vector3 mGlobalForce) |
| void | setResultForce (Ogre::Vector3 mResultForce) |
| void | setGlobalLocationForce (Ogre::Vector3 mGlobalLocationForce) |
| void | setLocalLocationForce (Ogre::Vector3 mLocalLocationForce) |
| void | setBuoyancyForce (SBody *fluidBody) |
| void | setPositionOrientation (Ogre::Vector3 mDerivedPos, Ogre::Quaternion mDerivedOrientation) |
| void | updatePositionOrientation () |
| void | SetMatrix (Ogre::Vector3 mDerivedPos, Ogre::Quaternion mDerivedOrientation) |
| void | UpdateMatrix () |
| SNode * | GetParentNode () |
Public Attributes |
| SNode * | currentNode |
| Ogre::Plane | bouancyPlane |
| bool | isFluid |
| Ogre::Vector3 | fluidProperties |
| bool | forceApplied |
| bool | torqueApplied |
| bool | localForceApplied |
| bool | globalForceApplied |
| bool | hasMaterial |
Protected Attributes |
| OgreNewt::Body * | O3Body |
| int | primitiveType |
| bool | state |
| Ogre::Real | mass |
| Ogre::Real | h |
| Ogre::Real | rad |
| OgreNewt::MaterialID * | materialID |
| Ogre::Vector3 | inertia |
| Ogre::Vector3 | offset |
| Ogre::Vector3 | centerOfMass |
| Ogre::Vector3 | gravity |
| Ogre::Vector3 | force |
| Ogre::Vector3 | vector |
| Ogre::Vector3 | torque |
| Ogre::Vector3 | localForce |
| Ogre::Vector3 | globalForce |
| Ogre::Vector3 | resultForce |
| Ogre::Vector3 | globalLocationForce |
| Ogre::Vector3 | localLocationForce |
| OgreNewt::CollisionPtr | mCollision |
| SScene * | currentScene |
Detailed Description
Definition at line 40 of file SO3Body.h.
Constructor & Destructor Documentation
| SBody::SBody |
( |
SScene * |
scene, |
|
|
SNode * |
node, |
|
|
int |
type, |
|
|
OgreNewt::CollisionPtr |
col |
|
) |
| |
Member Function Documentation
| void SBody::BodyAddForceCallback |
( |
OgreNewt::Body * |
body, |
|
|
float |
timeStep, |
|
|
int |
threadIndex |
|
) |
| |
| bool SBody::BodyBuoyancyCallback |
( |
int |
colID, |
|
|
OgreNewt::Body * |
me, |
|
|
const Ogre::Quaternion & |
orient, |
|
|
const Ogre::Vector3 & |
pos, |
|
|
Ogre::Plane & |
plane |
|
) |
| |
| Ogre::Vector3 SBody::getCenterOfMass |
( |
) |
|
| Ogre::Vector3 SBody::getForce |
( |
) |
|
| Ogre::Vector3 SBody::getGlobalForce |
( |
) |
|
| Ogre::Vector3 SBody::getGlobalLocationForce |
( |
) |
|
| Ogre::Vector3 SBody::getGravity |
( |
) |
|
| Ogre::Real SBody::getH |
( |
) |
|
| Ogre::Vector3 SBody::getInertia |
( |
) |
|
| Ogre::Vector3 SBody::getLocalForce |
( |
) |
|
| Ogre::Vector3 SBody::getLocalLocationForce |
( |
) |
|
| Ogre::Real SBody::getMass |
( |
) |
|
| OgreNewt::MaterialID * SBody::getMaterialID |
( |
) |
|
| Ogre::Vector3 SBody::getOffset |
( |
) |
|
| OgreNewt::CollisionPtr SBody::getOgreNewtBodyCollisionPointer |
( |
) |
|
| OgreNewt::Body * SBody::getOgreNewtBodyPointer |
( |
) |
|
| SNode * SBody::GetParentNode |
( |
) |
|
| int SBody::getPrimitiveType |
( |
) |
|
| Ogre::Real SBody::getRad |
( |
) |
|
| Ogre::Vector3 SBody::getResultForce |
( |
) |
|
| Ogre::Vector3 SBody::getTorque |
( |
) |
|
| Ogre::Vector3 SBody::getVector |
( |
) |
|
| void SBody::setBuoyancyForce |
( |
SBody * |
fluidBody ) |
|
| void SBody::setCenterOfMass |
( |
Ogre::Vector3 |
com ) |
|
| void SBody::setForce |
( |
Ogre::Vector3 |
mForce ) |
|
| void SBody::setGlobalForce |
( |
Ogre::Vector3 |
mGlobalForce ) |
|
| void SBody::setGlobalLocationForce |
( |
Ogre::Vector3 |
mGlobalLocationForce ) |
|
| void SBody::setGravity |
( |
Ogre::Vector3 |
mGravity ) |
|
| void SBody::setH |
( |
Ogre::Real |
mH ) |
|
| void SBody::setInertia |
( |
Ogre::Vector3 |
mInteria ) |
|
| void SBody::setLocalForce |
( |
Ogre::Vector3 |
mLocalForce ) |
|
| void SBody::setLocalLocationForce |
( |
Ogre::Vector3 |
mLocalLocationForce ) |
|
| void SBody::setMass |
( |
Ogre::Real |
mMass ) |
|
| void SBody::setMaterialID |
( |
OgreNewt::MaterialID * |
mMatID ) |
|
| void SBody::SetMatrix |
( |
Ogre::Vector3 |
mDerivedPos, |
|
|
Ogre::Quaternion |
mDerivedOrientation |
|
) |
| |
| void SBody::setOffset |
( |
Ogre::Vector3 |
mOffset ) |
|
| void SBody::setOgreNewtBodyCollisionPointer |
( |
OgreNewt::CollisionPtr |
col ) |
|
| void SBody::setOgreNewtBodyPointer |
( |
OgreNewt::Body * |
mBody ) |
|
| void SBody::setPositionOrientation |
( |
Ogre::Vector3 |
mDerivedPos, |
|
|
Ogre::Quaternion |
mDerivedOrientation |
|
) |
| |
| void SBody::setPrimitiveType |
( |
int |
cpt ) |
|
| void SBody::setRad |
( |
Ogre::Real |
mRad ) |
|
| void SBody::setResultForce |
( |
Ogre::Vector3 |
mResultForce ) |
|
| void SBody::setState |
( |
bool |
mState ) |
|
| void SBody::setTorque |
( |
Ogre::Vector3 |
mTorque ) |
|
| void SBody::setVector |
( |
Ogre::Vector3 |
mVector ) |
|
| void SBody::UpdateMatrix |
( |
) |
|
| void SBody::updatePositionOrientation |
( |
) |
|
Member Data Documentation
The documentation for this class was generated from the following files: