OGRE
1.12.13
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) |
void | drawFrustum (const Frustum *frust) |
void | drawSceneNode (const SceneNode *node) |
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... | |
virtual void | shadowTextureCasterPreViewProj (Light *light, Camera *camera, size_t iteration) |
This event occurs just before the view & projection matrices are set for rendering into a shadow texture. More... | |
virtual void | shadowTextureReceiverPreViewProj (Light *light, Frustum *frustum) |
This event occurs just before the view & projection matrices are set for re-rendering a shadow receiver. More... | |
virtual void | shadowTexturesUpdated (size_t numberOfShadowTextures) |
Event raised after all shadow textures have been rendered into for all queues / targets but before any other geometry has been rendered (including main scene geometry and any additional shadow receiver passes). More... | |
virtual bool | sortLightsAffectingFrustum (LightList &lightList) |
Hook to allow the listener to override the ordering of lights for the entire frustum. More... | |
Ogre::DefaultDebugDrawer::DefaultDebugDrawer | ( | ) |
|
inline |
if static, the drawer contents are preserved across frames. They are cleared otherwise.
|
virtual |
Implements Ogre::DebugDrawer.
|
virtual |
Implements Ogre::DebugDrawer.
|
virtual |
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