OGRE  1.12.13
Object-Oriented Graphics Rendering Engine
Ogre::DefaultDebugDrawer Class Reference

#include <OgreDefaultDebugDrawer.h>

+ Inheritance diagram for Ogre::DefaultDebugDrawer:

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...
 

Member Enumeration Documentation

◆ DrawType

Enumerator
DT_AXES 
DT_WIREBOX 

Constructor & Destructor Documentation

◆ DefaultDebugDrawer()

Ogre::DefaultDebugDrawer::DefaultDebugDrawer ( )

Member Function Documentation

◆ setStatic()

void Ogre::DefaultDebugDrawer::setStatic ( bool  enable)
inline

if static, the drawer contents are preserved across frames. They are cleared otherwise.

◆ drawBone()

void Ogre::DefaultDebugDrawer::drawBone ( const Node node)
virtual

Implements Ogre::DebugDrawer.

◆ drawSceneNode()

void Ogre::DefaultDebugDrawer::drawSceneNode ( const SceneNode node)
virtual

Implements Ogre::DebugDrawer.

◆ drawFrustum()

void Ogre::DefaultDebugDrawer::drawFrustum ( const Frustum frust)
virtual

Implements Ogre::DebugDrawer.

◆ drawWireBox()

void Ogre::DefaultDebugDrawer::drawWireBox ( const AxisAlignedBox aabb,
const ColourValue colour = ColourValue::White 
)

Allows the rendering of a wireframe bounding box.

◆ drawAxes()

void Ogre::DefaultDebugDrawer::drawAxes ( const Affine3 pose,
float  size = 1.0f 
)

draw coordinate axes


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