OGRE
1.9.0
|
Page strategy which loads new pages based on a regular 2D grid. More...
#include <OgreGrid2DPageStrategy.h>
Public Member Functions | |
Grid2DPageStrategy (PageManager *manager) | |
~Grid2DPageStrategy () | |
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. | |
virtual void | frameEnd (Real timeElapsed, PagedWorldSection *section) |
Called when the frame ends. | |
virtual void | frameStart (Real timeSinceLastFrame, PagedWorldSection *section) |
Called when the frame starts. | |
PageManager * | getManager () const |
const String & | getName () const |
PageID | getPageID (const Vector3 &worldPos, PagedWorldSection *section) |
Get the page ID for a given world position. | |
void | notifyCamera (Camera *cam, PagedWorldSection *section) |
Called when a camera is used for any kind of rendering. | |
void | operator delete (void *ptr) |
void | operator delete (void *ptr) |
void | operator delete (void *ptr, const char *, int, const char *) |
void | operator delete (void *ptr, const char *, int, const char *) |
void | operator delete (void *ptr, void *) |
void | operator delete (void *ptr, void *) |
void | operator delete[] (void *ptr) |
void | operator delete[] (void *ptr) |
void | operator delete[] (void *ptr, const char *, int, const char *) |
void | operator delete[] (void *ptr, const char *, int, const char *) |
void * | operator new (size_t sz) |
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, 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 *ptr) |
placement operator new | |
void * | operator new[] (size_t sz) |
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 | |
void * | operator new[] (size_t sz, const char *file, int line, const char *func) |
array operator new, with debug line info | |
void | updateDebugDisplay (Page *p, SceneNode *sn) |
Update the contents of the passed in SceneNode to reflect the debug display of a given page. | |
Protected Attributes | |
PageManager * | mManager |
String | mName |
Page strategy which loads new pages based on a regular 2D grid.
Definition at line 231 of file OgreGrid2DPageStrategy.h.
Ogre::Grid2DPageStrategy::Grid2DPageStrategy | ( | PageManager * | manager | ) |
Ogre::Grid2DPageStrategy::~Grid2DPageStrategy | ( | ) |
|
virtual |
Create a PageStrategyData instance containing the data specific to this PageStrategy.
Implements Ogre::PageStrategy.
|
virtual |
Destroy a PageStrategyData instance containing the data specific to this PageStrategy.
Implements Ogre::PageStrategy.
|
virtual |
|
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.
|
inherited |
Definition at line 96 of file OgreMemoryAllocatedObject.h.
|
inherited |
Definition at line 96 of file OgreMemoryAllocatedObject.h.
|
inherited |
Definition at line 108 of file OgreMemoryAllocatedObject.h.
|
inherited |
Definition at line 108 of file OgreMemoryAllocatedObject.h.
|
inherited |
Definition at line 102 of file OgreMemoryAllocatedObject.h.
|
inherited |
Definition at line 102 of file OgreMemoryAllocatedObject.h.
|
inherited |
Definition at line 113 of file OgreMemoryAllocatedObject.h.
|
inherited |
Definition at line 113 of file OgreMemoryAllocatedObject.h.
|
inherited |
Definition at line 119 of file OgreMemoryAllocatedObject.h.
|
inherited |
Definition at line 119 of file OgreMemoryAllocatedObject.h.
|
inherited |
Definition at line 73 of file OgreMemoryAllocatedObject.h.
|
inherited |
Definition at line 73 of file OgreMemoryAllocatedObject.h.
|
inherited |
operator new, with debug line info
Definition at line 68 of file OgreMemoryAllocatedObject.h.
|
inherited |
operator new, with debug line info
Definition at line 68 of file OgreMemoryAllocatedObject.h.
|
inherited |
placement operator new
Definition at line 79 of file OgreMemoryAllocatedObject.h.
|
inherited |
placement operator new
Definition at line 79 of file OgreMemoryAllocatedObject.h.
|
inherited |
Definition at line 91 of file OgreMemoryAllocatedObject.h.
|
inherited |
Definition at line 91 of file OgreMemoryAllocatedObject.h.
|
inherited |
array operator new, with debug line info
Definition at line 86 of file OgreMemoryAllocatedObject.h.
|
inherited |
array operator new, with debug line info
Definition at line 86 of file OgreMemoryAllocatedObject.h.
Update the contents of the passed in SceneNode to reflect the debug display of a given page.
Implements Ogre::PageStrategy.