OGRE
1.9.0
|
Class implementing TerrainAutoUpdateLod interface. More...
#include <OgreTerrainAutoUpdateLod.h>
Public Member Functions | |
virtual void | autoUpdateLod (Terrain *terrain, bool synchronous, const Any &data) |
Method to be called to change terrain's LOD level. | |
virtual uint32 | getStrategyId () |
void | operator delete (void *ptr) |
void | operator delete (void *ptr, const char *, int, const char *) |
void | operator delete (void *ptr, void *) |
void | operator delete[] (void *ptr) |
void | operator delete[] (void *ptr, const char *, int, const char *) |
void * | operator new (size_t sz) |
void * | operator new (size_t sz, const char *file, int line, const char *func) |
operator new, with debug line info | |
void * | operator new (size_t sz, void *ptr) |
placement operator new | |
void * | operator new[] (size_t sz) |
void * | operator new[] (size_t sz, const char *file, int line, const char *func) |
array operator new, with debug line info | |
Protected Member Functions | |
void | autoUpdateLodByDistance (Terrain *terrain, bool synchronous, const Real holdDistance) |
Modifies Terrain's LOD level according to it's distance from camera. | |
int | traverseTreeByDistance (TerrainQuadTreeNode *node, const Camera *cam, Real cFactor, const Real holdDistance) |
Traverse Terrain's QuadTree and calculate what LOD level is needed. | |
Class implementing TerrainAutoUpdateLod interface.
It does LOD level increase/decrease according to camera's distance to Terrain.
Definition at line 77 of file OgreTerrainAutoUpdateLod.h.
|
virtual |
Method to be called to change terrain's LOD level.
terrain | Instance of Terrain which LOD level is going to be changed |
synchronous | Run this as part of main thread or in background |
data | Any user specific data. |
Implements Ogre::TerrainAutoUpdateLod.
|
protected |
Modifies Terrain's LOD level according to it's distance from camera.
holdDistance | How far ahead of terrain's LOD level change this LOD level should be loaded. |
Implements Ogre::TerrainAutoUpdateLod.
Definition at line 81 of file OgreTerrainAutoUpdateLod.h.
References Ogre::BY_DISTANCE.
Definition at line 96 of file OgreMemoryAllocatedObject.h.
|
inherited |
Definition at line 108 of file OgreMemoryAllocatedObject.h.
Definition at line 102 of file OgreMemoryAllocatedObject.h.
|
inherited |
Definition at line 113 of file OgreMemoryAllocatedObject.h.
|
inherited |
Definition at line 119 of file OgreMemoryAllocatedObject.h.
Definition at line 73 of file OgreMemoryAllocatedObject.h.
|
inherited |
operator new, with debug line info
Definition at line 68 of file OgreMemoryAllocatedObject.h.
placement operator new
Definition at line 79 of file OgreMemoryAllocatedObject.h.
Definition at line 91 of file OgreMemoryAllocatedObject.h.
|
inherited |
array operator new, with debug line info
Definition at line 86 of file OgreMemoryAllocatedObject.h.
|
protected |
Traverse Terrain's QuadTree and calculate what LOD level is needed.