#include <OgreTerrainPageSource.h>
Inheritance diagram for Ogre::TerrainPageSource:
Public Member Functions | |
TerrainPageSource () | |
virtual | ~TerrainPageSource () |
virtual void | initialise (TerrainSceneManager *tsm, ushort tileSize, ushort pageSize, bool asyncLoading, TerrainPageSourceOptionList &optionList) |
Initialise this tile source based on a series of options as dictated by the scene manager. | |
virtual void | shutdown (void) |
Shut down this tile source, freeing all it's memory ready for decommissioning. | |
virtual void | requestPage (ushort x, ushort z)=0 |
Requests a new page of tiles from the source. | |
virtual void | expirePage (ushort x, ushort z)=0 |
This notifies the tile source that the specified page of tiles has been automatically detached. | |
Static Public Member Functions | |
void | addListener (TerrainPageSourceListener *pl) |
Register a class which will be called back whenever a new page is available. | |
void | removeListener (TerrainPageSourceListener *pl) |
Unregister a class which will be called back whenever a new page is available. | |
Protected Member Functions | |
void | firePageConstructed (size_t pagex, size_t pagez, Real *heightData) |
Internal method for firing pageContructed events. | |
virtual TerrainPage * | buildPage (Real *heightData, const MaterialPtr &pMaterial) |
Utility method for building a page of tiles based on some source data, wherever that may have come from. | |
Protected Attributes | |
TerrainSceneManager * | mSceneManager |
Link back to parent manager. | |
bool | mAsyncLoading |
Has asynchronous loading been requested? | |
unsigned short | mPageSize |
The expected size of the page in number of vertices. | |
unsigned short | mTileSize |
The expected size of a tile in number of vertices. |
Definition at line 132 of file OgreTerrainPageSource.h.
|
|
|
Definition at line 159 of file OgreTerrainPageSource.h. |
|
Register a class which will be called back whenever a new page is available.
|
|
Utility method for building a page of tiles based on some source data, wherever that may have come from.
|
|
This notifies the tile source that the specified page of tiles has been automatically detached.
Implemented in Ogre::HeightmapTerrainPageSource. |
|
Internal method for firing pageContructed events.
|
|
Initialise this tile source based on a series of options as dictated by the scene manager.
Reimplemented in Ogre::HeightmapTerrainPageSource. Definition at line 181 of file OgreTerrainPageSource.h. References Ogre::TerrainPageSourceOptionList, and Ogre::ushort. |
|
Unregister a class which will be called back whenever a new page is available.
|
|
Requests a new page of tiles from the source.
Implemented in Ogre::HeightmapTerrainPageSource. |
|
Shut down this tile source, freeing all it's memory ready for decommissioning.
Reimplemented in Ogre::HeightmapTerrainPageSource. Definition at line 197 of file OgreTerrainPageSource.h. |
|
Has asynchronous loading been requested?
Definition at line 138 of file OgreTerrainPageSource.h. |
|
The expected size of the page in number of vertices.
Definition at line 140 of file OgreTerrainPageSource.h. |
|
Link back to parent manager.
Definition at line 136 of file OgreTerrainPageSource.h. |
|
The expected size of a tile in number of vertices.
Definition at line 142 of file OgreTerrainPageSource.h. |
Copyright © 2000-2005 by The OGRE Team
This work is licensed under a Creative Commons Attribution-ShareAlike 2.5 License.
Last modified Sun Mar 12 14:48:14 2006