OpenMW
Public Member Functions | Private Types | Private Member Functions | Private Attributes
MWRender::Debugging Class Reference

#include <debugging.hpp>

List of all members.

Public Member Functions

 Debugging (Ogre::SceneNode *root, OEngine::Physic::PhysicEngine *engine)
 ~Debugging ()
bool toggleRenderMode (int mode)
void cellAdded (MWWorld::CellStore *store)
void cellRemoved (MWWorld::CellStore *store)

Private Types

typedef std::vector
< MWWorld::CellStore * > 
CellList
typedef std::map< std::pair
< int, int >, Ogre::SceneNode * > 
ExteriorPathgridNodes

Private Member Functions

void togglePathgrid ()
void enableCellPathgrid (MWWorld::CellStore *store)
void disableCellPathgrid (MWWorld::CellStore *store)
void destroyCellPathgridNode (Ogre::SceneNode *node)
void destroyAttachedObjects (Ogre::SceneNode *node)
void createGridMaterials ()
void destroyGridMaterials ()
Ogre::ManualObject * createPathgridLines (const ESM::Pathgrid *pathgrid)
Ogre::ManualObject * createPathgridPoints (const ESM::Pathgrid *pathgrid)

Private Attributes

OEngine::Physic::PhysicEnginemEngine
Ogre::SceneManager * mSceneMgr
bool mPathgridEnabled
CellList mActiveCells
Ogre::SceneNode * mRootNode
Ogre::SceneNode * mPathGridRoot
ExteriorPathgridNodes mExteriorPathgridNodes
Ogre::SceneNode * mInteriorPathgridNode
bool mGridMatsCreated

Member Typedef Documentation

typedef std::vector<MWWorld::CellStore *> MWRender::Debugging::CellList [private]
typedef std::map<std::pair<int,int>, Ogre::SceneNode *> MWRender::Debugging::ExteriorPathgridNodes [private]

Constructor & Destructor Documentation

MWRender::Debugging::Debugging ( Ogre::SceneNode *  root,
OEngine::Physic::PhysicEngine engine 
)

Member Function Documentation

ManualObject * MWRender::Debugging::createPathgridLines ( const ESM::Pathgrid pathgrid) [private]
ManualObject * MWRender::Debugging::createPathgridPoints ( const ESM::Pathgrid pathgrid) [private]
void MWRender::Debugging::destroyAttachedObjects ( Ogre::SceneNode *  node) [private]
void MWRender::Debugging::destroyCellPathgridNode ( Ogre::SceneNode *  node) [private]

Member Data Documentation

Ogre::SceneNode* MWRender::Debugging::mInteriorPathgridNode [private]
Ogre::SceneNode* MWRender::Debugging::mPathGridRoot [private]
Ogre::SceneNode* MWRender::Debugging::mRootNode [private]
Ogre::SceneManager* MWRender::Debugging::mSceneMgr [private]

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