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

#include <cellborder.hpp>

Collaboration diagram for MWRender::CellBorder:

Public Types

typedef std::map< std::pair
< int, int >, osg::ref_ptr
< osg::Node > > 
CellGrid
 

Public Member Functions

 CellBorder (Terrain::World *world, osg::Group *root, int borderMask)
 
void createCellBorderGeometry (int x, int y)
 
void destroyCellBorderGeometry (int x, int y)
 
void destroyCellBorderGeometry ()
 

Protected Attributes

Terrain::WorldmWorld
 
osg::Group * mRoot
 
CellGrid mCellBorderNodes
 
int mBorderMask
 

Detailed Description

Handles the debug cell borders.

Member Typedef Documentation

typedef std::map<std::pair<int, int>, osg::ref_ptr<osg::Node> > MWRender::CellBorder::CellGrid

Constructor & Destructor Documentation

MWRender::CellBorder::CellBorder ( Terrain::World world,
osg::Group *  root,
int  borderMask 
)

Member Function Documentation

void MWRender::CellBorder::createCellBorderGeometry ( int  x,
int  y 
)

Here is the call graph for this function:

void MWRender::CellBorder::destroyCellBorderGeometry ( int  x,
int  y 
)
void MWRender::CellBorder::destroyCellBorderGeometry ( )

Destroys the geometry for all borders.

Member Data Documentation

int MWRender::CellBorder::mBorderMask
protected
CellGrid MWRender::CellBorder::mCellBorderNodes
protected
osg::Group* MWRender::CellBorder::mRoot
protected
Terrain::World* MWRender::CellBorder::mWorld
protected

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