RioEngine  0.1
My first attempt to create a 3D WYSIWYG Game Engine
bDebugDraw Class Reference

#include <bdebugdraw.h>

Inheritance diagram for bDebugDraw:

Classes

struct  LineInfo
 

Public Member Functions

 bDebugDraw (QGLShaderProgram *shader_program=NULL)
 
std::map< QString, std::vector< LineInfo > > * lines ()
 
void clearLines ()
 
virtual void drawLine (const btVector3 &from, const btVector3 &to, const btVector3 &color)
 
virtual void drawContactPoint (const btVector3 &PointOnB, const btVector3 &normalOnB, btScalar distance, int lifeTime, const btVector3 &color)
 
virtual void reportErrorWarning (const char *warningString)
 
virtual void draw3dText (const btVector3 &location, const char *textString)
 
virtual void setDebugMode (int debugMode)
 
virtual int getDebugMode () const
 

Detailed Description

Definition at line 36 of file bdebugdraw.h.

Constructor & Destructor Documentation

bDebugDraw::bDebugDraw ( QGLShaderProgram *  shader_program = NULL)

Definition at line 37 of file bdebugdraw.cpp.

Member Function Documentation

void bDebugDraw::clearLines ( )

Definition at line 50 of file bdebugdraw.cpp.

void bDebugDraw::draw3dText ( const btVector3 &  location,
const char *  textString 
)
virtual

Definition at line 87 of file bdebugdraw.cpp.

void bDebugDraw::drawContactPoint ( const btVector3 &  PointOnB,
const btVector3 &  normalOnB,
btScalar  distance,
int  lifeTime,
const btVector3 &  color 
)
virtual

Definition at line 74 of file bdebugdraw.cpp.

void bDebugDraw::drawLine ( const btVector3 &  from,
const btVector3 &  to,
const btVector3 &  color 
)
virtual

Definition at line 56 of file bdebugdraw.cpp.

int bDebugDraw::getDebugMode ( ) const
virtual

Definition at line 99 of file bdebugdraw.cpp.

std::map< QString, std::vector< bDebugDraw::LineInfo > > * bDebugDraw::lines ( )

Definition at line 44 of file bdebugdraw.cpp.

void bDebugDraw::reportErrorWarning ( const char *  warningString)
virtual

Definition at line 81 of file bdebugdraw.cpp.

void bDebugDraw::setDebugMode ( int  debugMode)
virtual

Definition at line 93 of file bdebugdraw.cpp.


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