OpenMW
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Member Functions | Private Types | Private Member Functions | Private Attributes | List of all members
MWRender::Pathgrid Class Reference

#include <pathgrid.hpp>

Collaboration diagram for MWRender::Pathgrid:

Public Member Functions

 Pathgrid (osg::ref_ptr< osg::Group > root)
 
 ~Pathgrid ()
 
bool toggleRenderMode (int mode)
 
void addCell (const MWWorld::CellStore *store)
 
void removeCell (const MWWorld::CellStore *store)
 

Private Types

typedef std::vector< const
MWWorld::CellStore * > 
CellList
 
typedef std::map< std::pair
< int, int >, osg::ref_ptr
< osg::Group > > 
ExteriorPathgridNodes
 

Private Member Functions

void togglePathgrid ()
 
void enableCellPathgrid (const MWWorld::CellStore *store)
 
void disableCellPathgrid (const MWWorld::CellStore *store)
 

Private Attributes

bool mPathgridEnabled
 
CellList mActiveCells
 
osg::ref_ptr< osg::Group > mRootNode
 
osg::ref_ptr< osg::Group > mPathGridRoot
 
ExteriorPathgridNodes mExteriorPathgridNodes
 
osg::ref_ptr< osg::Group > mInteriorPathgridNode
 

Member Typedef Documentation

typedef std::vector<const MWWorld::CellStore *> MWRender::Pathgrid::CellList
private
typedef std::map<std::pair<int,int>, osg::ref_ptr<osg::Group> > MWRender::Pathgrid::ExteriorPathgridNodes
private

Constructor & Destructor Documentation

MWRender::Pathgrid::Pathgrid ( osg::ref_ptr< osg::Group >  root)
MWRender::Pathgrid::~Pathgrid ( )

Here is the call graph for this function:

Member Function Documentation

void MWRender::Pathgrid::addCell ( const MWWorld::CellStore store)

Here is the call graph for this function:

void MWRender::Pathgrid::disableCellPathgrid ( const MWWorld::CellStore store)
private

Here is the call graph for this function:

Here is the caller graph for this function:

void MWRender::Pathgrid::enableCellPathgrid ( const MWWorld::CellStore store)
private

Here is the call graph for this function:

Here is the caller graph for this function:

void MWRender::Pathgrid::removeCell ( const MWWorld::CellStore store)

Here is the call graph for this function:

void MWRender::Pathgrid::togglePathgrid ( )
private

Here is the call graph for this function:

Here is the caller graph for this function:

bool MWRender::Pathgrid::toggleRenderMode ( int  mode)

Here is the call graph for this function:

Member Data Documentation

CellList MWRender::Pathgrid::mActiveCells
private
ExteriorPathgridNodes MWRender::Pathgrid::mExteriorPathgridNodes
private
osg::ref_ptr<osg::Group> MWRender::Pathgrid::mInteriorPathgridNode
private
bool MWRender::Pathgrid::mPathgridEnabled
private
osg::ref_ptr<osg::Group> MWRender::Pathgrid::mPathGridRoot
private
osg::ref_ptr<osg::Group> MWRender::Pathgrid::mRootNode
private

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