OpenMW
Public Member Functions | Protected Attributes
BtOgre::DebugDrawer Class Reference

#include <BtOgreExtras.h>

List of all members.

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
DynamicLinesmLineDrawer
bool mDebugOn

Constructor & Destructor Documentation

BtOgre::DebugDrawer::DebugDrawer ( Ogre::SceneNode *  node,
btDynamicsWorld *  world 
) [inline]

Member Function Documentation

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]

Member Data Documentation

Ogre::SceneNode* BtOgre::DebugDrawer::mNode [protected]
btDynamicsWorld* BtOgre::DebugDrawer::mWorld [protected]

The documentation for this class was generated from the following file: