OGRE 14.3
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 | |
void | drawBone (const Node *node, const Affine3 &transform=Affine3::IDENTITY) 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. | |
void | setBoneAxesSize (float size) |
Specifes the size of the axes drawn by drawBone() | |
void | setStatic (bool enable) |
if static, the drawer contents are preserved across frames. They are cleared otherwise. | |
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. | |
virtual void | preUpdateSceneGraph (SceneManager *source, Camera *camera) |
Called prior to updating the scene graph in this SceneManager. | |
virtual void | sceneManagerDestroyed (SceneManager *source) |
Event notifying the listener of the SceneManager's destruction. | |
Ogre::DefaultDebugDrawer::DefaultDebugDrawer | ( | ) |
if static, the drawer contents are preserved across frames. They are cleared otherwise.
|
overridevirtual |
Implements Ogre::DebugDrawer.
Implements Ogre::DebugDrawer.
Implements Ogre::DebugDrawer.
void Ogre::DefaultDebugDrawer::drawWireBox | ( | const AxisAlignedBox & | aabb, |
const ColourValue & | colour = ColourValue::White |
||
) |
Allows the rendering of a wireframe bounding box.
draw coordinate axes
Specifes the size of the axes drawn by drawBone()