This class is the 'core' class for paging terrain, that will integrate with the larger paging system and provide the appropriate utility classes required. More...
#include <OgreTerrainPaging.h>
Classes | |
class | SectionFactory |
Public Member Functions | |
TerrainPaging (PageManager *pageMgr) | |
Constructor. | |
~TerrainPaging () | |
TerrainPagedWorldSection * | createWorldSection (PagedWorld *world, TerrainGroup *terrainGroup, Real loadRadius, Real holdRadius, int32 minX=-10, int32 minY=-10, int32 maxX=10, int32 maxY=10, const String §ionName=StringUtil::BLANK) |
Create a TerrainPagedWorldSection. | |
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 * | operator new (size_t sz, void *ptr) |
placement operator new | |
void * | operator new[] (size_t sz, const char *file, int line, const char *func) |
array operator new, with debug line info | |
void * | operator new[] (size_t sz) |
void | operator delete (void *ptr) |
void | operator delete (void *ptr, void *) |
void | operator delete (void *ptr, const char *, int, const char *) |
void | operator delete[] (void *ptr) |
void | operator delete[] (void *ptr, const char *, int, const char *) |
Protected Attributes | |
PageManager * | mManager |
SectionFactory | mSectionFactory |
This class is the 'core' class for paging terrain, that will integrate with the larger paging system and provide the appropriate utility classes required.
Definition at line 72 of file OgreTerrainPaging.h.
Ogre::TerrainPaging::TerrainPaging | ( | PageManager * | pageMgr | ) |
Constructor.
pageMgr | The PageManager which this class should attach to. |
Ogre::TerrainPaging::~TerrainPaging | ( | ) |
TerrainPagedWorldSection* Ogre::TerrainPaging::createWorldSection | ( | PagedWorld * | world, | |
TerrainGroup * | terrainGroup, | |||
Real | loadRadius, | |||
Real | holdRadius, | |||
int32 | minX = -10 , |
|||
int32 | minY = -10 , |
|||
int32 | maxX = 10 , |
|||
int32 | maxY = 10 , |
|||
const String & | sectionName = StringUtil::BLANK | |||
) |
Create a TerrainPagedWorldSection.
world | The PagedWorld that is to contain this section | |
terrainGroup | A TerrainGroup which must have been pre-configured before this call, to at least set the origin, the world size, and the file name convention. | |
loadRadius | The radius from the camera at which terrain pages will be loaded | |
holdRadius | The radius from the camera at which terrain pages will be held in memory but not loaded if they're not already. This must be larger than loadRadius and is used to minimise thrashing if the camera goes backwards and forwards at the loading border. | |
minX,minY,maxX,maxY | The min/max page indexes that the world will try to load pages for, as measured from the origin page at (0,0) by a signed index. The default is -10 to 10 in each direction or 20x20 pages. | |
sectionName | An optional name to give the section (if none is provided, one will be generated) |
void Ogre::AllocatedObject< Alloc >::operator delete | ( | void * | ptr, | |
const char * | , | |||
int | , | |||
const char * | ||||
) | [inherited] |
Definition at line 107 of file OgreMemoryAllocatedObject.h.
void Ogre::AllocatedObject< Alloc >::operator delete | ( | void * | ptr, | |
void * | ||||
) | [inherited] |
Definition at line 101 of file OgreMemoryAllocatedObject.h.
void Ogre::AllocatedObject< Alloc >::operator delete | ( | void * | ptr | ) | [inherited] |
Definition at line 95 of file OgreMemoryAllocatedObject.h.
void Ogre::AllocatedObject< Alloc >::operator delete[] | ( | void * | ptr, | |
const char * | , | |||
int | , | |||
const char * | ||||
) | [inherited] |
Definition at line 118 of file OgreMemoryAllocatedObject.h.
void Ogre::AllocatedObject< Alloc >::operator delete[] | ( | void * | ptr | ) | [inherited] |
Definition at line 112 of file OgreMemoryAllocatedObject.h.
void* Ogre::AllocatedObject< Alloc >::operator new | ( | size_t | sz, | |
void * | ptr | |||
) | [inherited] |
placement operator new
Definition at line 78 of file OgreMemoryAllocatedObject.h.
void* Ogre::AllocatedObject< Alloc >::operator new | ( | size_t | sz | ) | [inherited] |
Definition at line 72 of file OgreMemoryAllocatedObject.h.
void* Ogre::AllocatedObject< Alloc >::operator new | ( | size_t | sz, | |
const char * | file, | |||
int | line, | |||
const char * | func | |||
) | [inherited] |
operator new, with debug line info
Definition at line 67 of file OgreMemoryAllocatedObject.h.
void* Ogre::AllocatedObject< Alloc >::operator new[] | ( | size_t | sz | ) | [inherited] |
Definition at line 90 of file OgreMemoryAllocatedObject.h.
void* Ogre::AllocatedObject< Alloc >::operator new[] | ( | size_t | sz, | |
const char * | file, | |||
int | line, | |||
const char * | func | |||
) | [inherited] |
array operator new, with debug line info
Definition at line 85 of file OgreMemoryAllocatedObject.h.
PageManager* Ogre::TerrainPaging::mManager [protected] |
Definition at line 111 of file OgreTerrainPaging.h.
SectionFactory Ogre::TerrainPaging::mSectionFactory [protected] |
Definition at line 123 of file OgreTerrainPaging.h.
Copyright © 2012 Torus Knot Software Ltd
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.
Last modified Fri May 25 23:42:17 2012