OGRE
1.9.0
|
Modules | |
Paging | |
Some details on paging component. | |
Property | |
Terrain | |
Some details on the terrain component. | |
Files | |
file | OgrePageFileFormats.h |
The paging file format is a composite one - a single file / stream can contain data which is not necessarily all read by a single class. | |
Classes | |
class | Ogre::Grid3DPageStrategy |
Page strategy which loads new pages based on a regular 3D grid. More... | |
class | Ogre::Grid3DPageStrategyData |
Specialisation of PageStrategyData for Grid3DPageStrategy. More... | |
class | Ogre::PageStrategy |
Defines the interface to a strategy class which is responsible for deciding when Page instances are requested for addition and removal from the paging system. More... | |
class | Ogre::PageStrategyData |
Abstract marker class representing the data held against the PagedWorldSection which is specifically used by the PageStrategy. More... | |
class | Ogre::SimplePageContentCollection |
Specialisation of PageContentCollection which just provides a simple list of PageContent instances. More... | |
class | Ogre::SimplePageContentCollectionFactory |
Factory class for SimplePageContentCollection. More... | |
Typedefs | |
typedef vector< PageContent * >::type | Ogre::SimplePageContentCollection::ContentList |
Definition at line 69 of file OgreSimplePageContentCollection.h.
Ogre::Grid3DPageStrategy::Grid3DPageStrategy | ( | PageManager * | manager | ) |
Ogre::Grid3DPageStrategyData::Grid3DPageStrategyData | ( | ) |
Ogre::PageStrategy::PageStrategy | ( | const String & | name, |
PageManager * | manager | ||
) |
Definition at line 79 of file OgrePageStrategy.h.
Ogre::PageStrategyData::PageStrategyData | ( | ) |
Definition at line 52 of file OgrePageStrategy.h.
Ogre::SimplePageContentCollection::SimplePageContentCollection | ( | PageContentCollectionFactory * | creator | ) |
Ogre::SimplePageContentCollectionFactory::SimplePageContentCollectionFactory | ( | ) |
Definition at line 116 of file OgreSimplePageContentCollection.h.
Ogre::Grid3DPageStrategy::~Grid3DPageStrategy | ( | ) |
Ogre::Grid3DPageStrategyData::~Grid3DPageStrategyData | ( | ) |
|
virtual |
Definition at line 85 of file OgrePageStrategy.h.
|
virtual |
Definition at line 53 of file OgrePageStrategy.h.
Ogre::SimplePageContentCollection::~SimplePageContentCollection | ( | ) |
Ogre::SimplePageContentCollectionFactory::~SimplePageContentCollectionFactory | ( | ) |
Definition at line 117 of file OgreSimplePageContentCollection.h.
void Ogre::Grid3DPageStrategyData::calculateCell | ( | PageID | inPageID, |
int32 * | x, | ||
int32 * | y, | ||
int32 * | z | ||
) |
|
virtual |
Create a new PageContent within this collection.
typeName | The name of the type of content (see PageManager::getContentFactories) |
|
virtual |
Create a PageStrategyData instance containing the data specific to this PageStrategy.
Implements Ogre::PageStrategy.
|
pure virtual |
Create a PageStrategyData instance containing the data specific to this PageStrategy.
Implemented in Ogre::Grid2DPageStrategy, and Ogre::Grid3DPageStrategy.
|
virtual |
Implements Ogre::PageContentCollectionFactory.
Definition at line 121 of file OgreSimplePageContentCollection.h.
References OGRE_NEW.
|
virtual |
Destroy a PageContent within this page.
This is equivalent to calling detachContent and PageManager::destroyContent.
|
virtual |
Destroy a PageStrategyData instance containing the data specific to this PageStrategy.
Implements Ogre::PageStrategy.
|
pure virtual |
Destroy a PageStrategyData instance containing the data specific to this PageStrategy.
Implemented in Ogre::Grid2DPageStrategy, and Ogre::Grid3DPageStrategy.
|
virtual |
Implements Ogre::PageContentCollectionFactory.
Definition at line 125 of file OgreSimplePageContentCollection.h.
References OGRE_DELETE.
void Ogre::Grid3DPageStrategyData::determineGridLocation | ( | const Vector3 & | gridpos, |
int32 * | x, | ||
int32 * | y, | ||
int32 * | z | ||
) |
Convert a grid position into a row and column index.
Called when the frame ends.
Implements Ogre::PageContentCollection.
|
virtual |
Called when the frame ends.
Definition at line 93 of file OgrePageStrategy.h.
Called when the frame starts.
Implements Ogre::PageContentCollection.
|
virtual |
Called when the frame starts.
Definition at line 91 of file OgrePageStrategy.h.
|
virtual |
Get the (grid space) bottom-left of a cell.
get the index range of all cells (values outside this will be ignored)
Definition at line 169 of file OgreGrid3DPageStrategy.h.
get the index range of all cells (values outside this will be ignored)
Definition at line 171 of file OgreGrid3DPageStrategy.h.
get the index range of all cells (values outside this will be ignored)
Definition at line 173 of file OgreGrid3DPageStrategy.h.
get the index range of all cells (values outside this will be ignored)
Definition at line 163 of file OgreGrid3DPageStrategy.h.
get the index range of all cells (values outside this will be ignored)
Definition at line 165 of file OgreGrid3DPageStrategy.h.
get the index range of all cells (values outside this will be ignored)
Definition at line 167 of file OgreGrid3DPageStrategy.h.
Get the size of the cells in the grid.
Definition at line 138 of file OgreGrid3DPageStrategy.h.
|
virtual |
Get const access to the list of content.
Definition at line 90 of file OgreSimplePageContentCollection.h.
|
virtual |
Get the (grid space) corners of a cell.
Get the Holding radius.
Definition at line 146 of file OgreGrid3DPageStrategy.h.
Get the loading radius.
Definition at line 142 of file OgreGrid3DPageStrategy.h.
PageManager * Ogre::PageStrategy::getManager | ( | ) | const |
Definition at line 88 of file OgrePageStrategy.h.
|
virtual |
Definition at line 87 of file OgrePageStrategy.h.
Implements Ogre::PageContentCollectionFactory.
Definition at line 119 of file OgreSimplePageContentCollection.h.
|
virtual |
Get the origin of the grid in world space.
Definition at line 134 of file OgreGrid3DPageStrategy.h.
|
virtual |
|
pure virtual |
Get the page ID for a given world position.
Implemented in Ogre::Grid2DPageStrategy, and Ogre::Grid3DPageStrategy.
|
virtual |
Load - will be called in main thread.
Implements Ogre::PageContentCollection.
|
virtual |
Load this data from a stream (returns true if successful)
Implements Ogre::PageStrategyData.
|
pure virtual |
Load this data from a stream (returns true if successful)
Implemented in Ogre::Grid2DPageStrategyData, and Ogre::Grid3DPageStrategyData.
Notify a section of the current camera.
Implements Ogre::PageContentCollection.
|
virtual |
Called when a camera is used for any kind of rendering.
cam | Camera which is being used for rendering. Class should not rely on this pointer remaining valid permanently because no notification will be given when the camera is destroyed. |
Reimplemented from Ogre::PageStrategy.
|
virtual |
Called when a camera is used for any kind of rendering.
cam | Camera which is being used for rendering. Class should not rely on this pointer remaining valid permanently because no notification will be given when the camera is destroyed. |
Reimplemented in Ogre::Grid2DPageStrategy, and Ogre::Grid3DPageStrategy.
Definition at line 102 of file OgrePageStrategy.h.
|
virtual |
Prepare data - may be called in the background.
Implements Ogre::PageContentCollection.
|
virtual |
Save this data to a stream.
Implements Ogre::PageStrategyData.
|
virtual |
Save the collection to a stream.
Implements Ogre::PageContentCollection.
|
pure virtual |
Save this data to a stream.
Implemented in Ogre::Grid2DPageStrategyData, and Ogre::Grid3DPageStrategyData.
|
virtual |
Set the index range of all cells (values outside this will be ignored)
Set the index range of all cells (values outside this will be ignored)
Set the index range of all cells (values outside this will be ignored)
get the index range of all cells (values outside this will be ignored)
Set the index range of all cells (values outside this will be ignored)
Set the index range of all cells (values outside this will be ignored)
Set the index range of all cells (values outside this will be ignored)
Set the size of the cells in the grid.
Set the origin of the grid in world space.
|
virtual |
Unload - will be called in main thread.
Implements Ogre::PageContentCollection.
|
virtual |
Unprepare data - may be called in the background.
Implements Ogre::PageContentCollection.
Update the contents of the passed in SceneNode to reflect the debug display of a given page.
Implements Ogre::PageStrategy.
Update the contents of the passed in SceneNode to reflect the debug display of a given page.
Implemented in Ogre::Grid2DPageStrategy, and Ogre::Grid3DPageStrategy.
Definition at line 125 of file OgreGrid3DPageStrategy.h.
Definition at line 126 of file OgreGrid3DPageStrategy.h.
|
static |
Definition at line 114 of file OgreSimplePageContentCollection.h.
|
protected |
Grid cell (page) size.
Definition at line 112 of file OgreGrid3DPageStrategy.h.
|
protected |
Definition at line 73 of file OgreSimplePageContentCollection.h.
|
protected |
Hold radius.
Definition at line 116 of file OgreGrid3DPageStrategy.h.
|
protected |
Load radius.
Definition at line 114 of file OgreGrid3DPageStrategy.h.
|
protected |
Definition at line 77 of file OgrePageStrategy.h.
|
protected |
Definition at line 120 of file OgreGrid3DPageStrategy.h.
|
protected |
Definition at line 121 of file OgreGrid3DPageStrategy.h.
|
protected |
Definition at line 122 of file OgreGrid3DPageStrategy.h.
|
protected |
Definition at line 117 of file OgreGrid3DPageStrategy.h.
|
protected |
Definition at line 118 of file OgreGrid3DPageStrategy.h.
|
protected |
Definition at line 119 of file OgreGrid3DPageStrategy.h.
|
protected |
Definition at line 76 of file OgrePageStrategy.h.
|
protected |
Origin (grid-aligned world space)
Definition at line 110 of file OgreGrid3DPageStrategy.h.
|
protected |
Origin (world space)
Definition at line 108 of file OgreGrid3DPageStrategy.h.
Definition at line 70 of file OgreSimplePageContentCollection.h.
Definition at line 71 of file OgreSimplePageContentCollection.h.