OGRE
13.6
Object-Oriented Graphics Rendering Engine
|
#include <OgreDefaultDebugDrawer.h>
Public Types | |
enum | DrawType { DT_AXES = 1 << 0 , DT_WIREBOX = 1 << 1 } |
Public Member Functions | |
DefaultDebugDrawer () | |
void | drawAxes (const Affine3 &pose, float size=1.0f) |
draw coordinate axes More... | |
void | drawBone (const Node *node) override |
void | drawFrustum (const Frustum *frust) override |
void | drawSceneNode (const SceneNode *node) override |
void | drawWireBox (const AxisAlignedBox &aabb, const ColourValue &colour=ColourValue::White) |
Allows the rendering of a wireframe bounding box. More... | |
void | setStatic (bool enable) |
if static, the drawer contents are preserved across frames. They are cleared otherwise. More... | |
Public Member Functions inherited from Ogre::DebugDrawer | |
virtual | ~DebugDrawer () |
Public Member Functions inherited from Ogre::SceneManager::Listener | |
Listener () | |
virtual | ~Listener () |
virtual void | postUpdateSceneGraph (SceneManager *source, Camera *camera) |
Called after updating the scene graph in this SceneManager. More... | |
virtual void | preUpdateSceneGraph (SceneManager *source, Camera *camera) |
Called prior to updating the scene graph in this SceneManager. More... | |
virtual void | sceneManagerDestroyed (SceneManager *source) |
Event notifying the listener of the SceneManager's destruction. More... | |
Ogre::DefaultDebugDrawer::DefaultDebugDrawer | ( | ) |
|
inline |
if static, the drawer contents are preserved across frames. They are cleared otherwise.
|
overridevirtual |
Implements Ogre::DebugDrawer.
|
overridevirtual |
Implements Ogre::DebugDrawer.
|
overridevirtual |
Implements Ogre::DebugDrawer.
void Ogre::DefaultDebugDrawer::drawWireBox | ( | const AxisAlignedBox & | aabb, |
const ColourValue & | colour = ColourValue::White |
||
) |
Allows the rendering of a wireframe bounding box.
void Ogre::DefaultDebugDrawer::drawAxes | ( | const Affine3 & | pose, |
float | size = 1.0f |
||
) |
draw coordinate axes