Classes | |
struct | Callbacks |
Public Member Functions | |
CLBulletDebugDraw (void *arg=0) | |
CLBulletDebugDraw (const Callbacks &callbacks, void *arg=0) | |
void | draw3dText (const btVector3 &location, const char *textString) |
virtual void | drawAabb (const btVector3 &from, const btVector3 &to, const btVector3 &color) |
virtual void | drawArc (const btVector3 ¢er, const btVector3 &normal, const btVector3 &axis, btScalar radiusA, btScalar radiusB, btScalar minAngle, btScalar maxAngle, const btVector3 &color, bool drawSect, btScalar stepDegrees=btScalar(10.f)) |
virtual void | drawBox (const btVector3 &boxMin, const btVector3 &boxMax, const btVector3 &color) |
virtual void | drawContactPoint (const btVector3 &PointOnB, const btVector3 &normalOnB, btScalar distance, int lifeTime, const btVector3 &color) |
virtual void | drawLine (const btVector3 &from, const btVector3 &to, const btVector3 &color) |
virtual void | drawSphere (const btVector3 &p, btScalar radius, const btVector3 &color) |
virtual void | drawSpherePatch (const btVector3 ¢er, const btVector3 &up, const btVector3 &axis, btScalar radius, btScalar minTh, btScalar maxTh, btScalar minPs, btScalar maxPs, const btVector3 &color, btScalar stepDegrees=btScalar(10.f)) |
virtual void | drawTransform (const btTransform &transform, btScalar orthoLen) |
virtual void | drawTriangle (const btVector3 &v0, const btVector3 &v1, const btVector3 &v2, const btVector3 &color, btScalar alpha) |
Callbacks & | getCallbacks () |
virtual int | getDebugMode () const |
virtual void | reportErrorWarning (const char *warningString) |
void | setCallbacks (const Callbacks &callbacks) |
virtual void | setDebugMode (int debugMode) |
Private Attributes | |
void * | arg_ |
Callbacks | callbacks_ |
int | debug_mode_ |
Definition at line 35 of file debug_draw.cpp.
CLBulletDebugDraw::CLBulletDebugDraw | ( | void * | arg = 0 | ) | [inline] |
Definition at line 68 of file debug_draw.cpp.
CLBulletDebugDraw::CLBulletDebugDraw | ( | const Callbacks & | callbacks, |
void * | arg = 0 |
||
) | [inline] |
Definition at line 72 of file debug_draw.cpp.
void CLBulletDebugDraw::draw3dText | ( | const btVector3 & | location, |
const char * | textString | ||
) | [inline] |
Definition at line 244 of file debug_draw.cpp.
virtual void CLBulletDebugDraw::drawAabb | ( | const btVector3 & | from, |
const btVector3 & | to, | ||
const btVector3 & | color | ||
) | [inline, virtual] |
Definition at line 142 of file debug_draw.cpp.
virtual void CLBulletDebugDraw::drawArc | ( | const btVector3 & | center, |
const btVector3 & | normal, | ||
const btVector3 & | axis, | ||
btScalar | radiusA, | ||
btScalar | radiusB, | ||
btScalar | minAngle, | ||
btScalar | maxAngle, | ||
const btVector3 & | color, | ||
bool | drawSect, | ||
btScalar | stepDegrees = btScalar(10.f) |
||
) | [inline, virtual] |
Definition at line 177 of file debug_draw.cpp.
virtual void CLBulletDebugDraw::drawBox | ( | const btVector3 & | boxMin, |
const btVector3 & | boxMax, | ||
const btVector3 & | color | ||
) | [inline, virtual] |
Definition at line 126 of file debug_draw.cpp.
virtual void CLBulletDebugDraw::drawContactPoint | ( | const btVector3 & | PointOnB, |
const btVector3 & | normalOnB, | ||
btScalar | distance, | ||
int | lifeTime, | ||
const btVector3 & | color | ||
) | [inline, virtual] |
Definition at line 224 of file debug_draw.cpp.
virtual void CLBulletDebugDraw::drawLine | ( | const btVector3 & | from, |
const btVector3 & | to, | ||
const btVector3 & | color | ||
) | [inline, virtual] |
Definition at line 77 of file debug_draw.cpp.
virtual void CLBulletDebugDraw::drawSphere | ( | const btVector3 & | p, |
btScalar | radius, | ||
const btVector3 & | color | ||
) | [inline, virtual] |
Definition at line 91 of file debug_draw.cpp.
virtual void CLBulletDebugDraw::drawSpherePatch | ( | const btVector3 & | center, |
const btVector3 & | up, | ||
const btVector3 & | axis, | ||
btScalar | radius, | ||
btScalar | minTh, | ||
btScalar | maxTh, | ||
btScalar | minPs, | ||
btScalar | maxPs, | ||
const btVector3 & | color, | ||
btScalar | stepDegrees = btScalar(10.f) |
||
) | [inline, virtual] |
Definition at line 201 of file debug_draw.cpp.
virtual void CLBulletDebugDraw::drawTransform | ( | const btTransform & | transform, |
btScalar | orthoLen | ||
) | [inline, virtual] |
Definition at line 160 of file debug_draw.cpp.
virtual void CLBulletDebugDraw::drawTriangle | ( | const btVector3 & | v0, |
const btVector3 & | v1, | ||
const btVector3 & | v2, | ||
const btVector3 & | color, | ||
btScalar | alpha | ||
) | [inline, virtual] |
Definition at line 104 of file debug_draw.cpp.
Callbacks& CLBulletDebugDraw::getCallbacks | ( | ) | [inline] |
Definition at line 269 of file debug_draw.cpp.
virtual int CLBulletDebugDraw::getDebugMode | ( | ) | const [inline, virtual] |
Definition at line 259 of file debug_draw.cpp.
virtual void CLBulletDebugDraw::reportErrorWarning | ( | const char * | warningString | ) | [inline, virtual] |
Definition at line 238 of file debug_draw.cpp.
void CLBulletDebugDraw::setCallbacks | ( | const Callbacks & | callbacks | ) | [inline] |
Definition at line 264 of file debug_draw.cpp.
virtual void CLBulletDebugDraw::setDebugMode | ( | int | debugMode | ) | [inline, virtual] |
Definition at line 254 of file debug_draw.cpp.
void* CLBulletDebugDraw::arg_ [private] |
Definition at line 277 of file debug_draw.cpp.
Callbacks CLBulletDebugDraw::callbacks_ [private] |
Definition at line 276 of file debug_draw.cpp.
int CLBulletDebugDraw::debug_mode_ [private] |
Definition at line 275 of file debug_draw.cpp.