OpenMW
|
#include <BtOgreExtras.h>
Public Member Functions | |
DebugDrawer (Ogre::SceneNode *node, btDynamicsWorld *world) | |
~DebugDrawer () | |
void | step () |
void | drawLine (const btVector3 &from, const btVector3 &to, const btVector3 &color) |
void | drawContactPoint (const btVector3 &PointOnB, const btVector3 &normalOnB, btScalar distance, int lifeTime, const btVector3 &color) |
void | reportErrorWarning (const char *warningString) |
void | draw3dText (const btVector3 &location, const char *textString) |
void | setDebugMode (int isOn) |
int | getDebugMode () const |
Protected Attributes | |
Ogre::SceneNode * | mNode |
btDynamicsWorld * | mWorld |
DynamicLines * | mLineDrawer |
bool | mDebugOn |
BtOgre::DebugDrawer::DebugDrawer | ( | Ogre::SceneNode * | node, |
btDynamicsWorld * | world | ||
) | [inline] |
BtOgre::DebugDrawer::~DebugDrawer | ( | ) | [inline] |
void BtOgre::DebugDrawer::draw3dText | ( | const btVector3 & | location, |
const char * | textString | ||
) | [inline] |
void BtOgre::DebugDrawer::drawContactPoint | ( | const btVector3 & | PointOnB, |
const btVector3 & | normalOnB, | ||
btScalar | distance, | ||
int | lifeTime, | ||
const btVector3 & | color | ||
) | [inline] |
void BtOgre::DebugDrawer::drawLine | ( | const btVector3 & | from, |
const btVector3 & | to, | ||
const btVector3 & | color | ||
) | [inline] |
int BtOgre::DebugDrawer::getDebugMode | ( | ) | const [inline] |
void BtOgre::DebugDrawer::reportErrorWarning | ( | const char * | warningString | ) | [inline] |
void BtOgre::DebugDrawer::setDebugMode | ( | int | isOn | ) | [inline] |
void BtOgre::DebugDrawer::step | ( | ) | [inline] |
bool BtOgre::DebugDrawer::mDebugOn [protected] |
DynamicLines* BtOgre::DebugDrawer::mLineDrawer [protected] |
Ogre::SceneNode* BtOgre::DebugDrawer::mNode [protected] |
btDynamicsWorld* BtOgre::DebugDrawer::mWorld [protected] |