Page strategy which loads new pages based on a regular 3D grid. More...
#include <OgreGrid3DPageStrategy.h>
Public Member Functions | |
Grid3DPageStrategy (PageManager *manager) | |
~Grid3DPageStrategy () | |
void | notifyCamera (Camera *cam, PagedWorldSection *section) |
Called when a camera is used for any kind of rendering. | |
PageStrategyData * | createData () |
Create a PageStrategyData instance containing the data specific to this PageStrategy. | |
void | destroyData (PageStrategyData *d) |
Destroy a PageStrategyData instance containing the data specific to this PageStrategy. | |
void | updateDebugDisplay (Page *p, SceneNode *sn) |
Update the contents of the passed in SceneNode to reflect the debug display of a given page. | |
PageID | getPageID (const Vector3 &worldPos, PagedWorldSection *section) |
Get the page ID for a given world position. | |
const String & | getName () const |
PageManager * | getManager () const |
virtual void | frameStart (Real timeSinceLastFrame, PagedWorldSection *section) |
Called when the frame starts. | |
virtual void | frameEnd (Real timeElapsed, PagedWorldSection *section) |
Called when the frame ends. | |
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 | |
String | mName |
PageManager * | mManager |
Page strategy which loads new pages based on a regular 3D grid.
Definition at line 203 of file OgreGrid3DPageStrategy.h.
Ogre::Grid3DPageStrategy::Grid3DPageStrategy | ( | PageManager * | manager | ) |
Ogre::Grid3DPageStrategy::~Grid3DPageStrategy | ( | ) |
PageStrategyData* Ogre::Grid3DPageStrategy::createData | ( | ) | [virtual] |
Create a PageStrategyData instance containing the data specific to this PageStrategy.
Implements Ogre::PageStrategy.
void Ogre::Grid3DPageStrategy::destroyData | ( | PageStrategyData * | d | ) | [virtual] |
Destroy a PageStrategyData instance containing the data specific to this PageStrategy.
Implements Ogre::PageStrategy.
virtual void Ogre::PageStrategy::frameEnd | ( | Real | timeElapsed, | |
PagedWorldSection * | section | |||
) | [virtual, inherited] |
Called when the frame ends.
Definition at line 93 of file OgrePageStrategy.h.
virtual void Ogre::PageStrategy::frameStart | ( | Real | timeSinceLastFrame, | |
PagedWorldSection * | section | |||
) | [virtual, inherited] |
Called when the frame starts.
Definition at line 91 of file OgrePageStrategy.h.
PageManager* Ogre::PageStrategy::getManager | ( | ) | const [inherited] |
Definition at line 88 of file OgrePageStrategy.h.
const String& Ogre::PageStrategy::getName | ( | void | ) | const [inherited] |
Definition at line 87 of file OgrePageStrategy.h.
PageID Ogre::Grid3DPageStrategy::getPageID | ( | const Vector3 & | worldPos, | |
PagedWorldSection * | section | |||
) | [virtual] |
void Ogre::Grid3DPageStrategy::notifyCamera | ( | Camera * | cam, | |
PagedWorldSection * | section | |||
) | [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.
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.
Update the contents of the passed in SceneNode to reflect the debug display of a given page.
Implements Ogre::PageStrategy.
PageManager* Ogre::PageStrategy::mManager [protected, inherited] |
Definition at line 77 of file OgrePageStrategy.h.
String Ogre::PageStrategy::mName [protected, inherited] |
Definition at line 76 of file OgrePageStrategy.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:41:43 2012