29#ifndef __Ogre_PageStrategy_H__
30#define __Ogre_PageStrategy_H__
#define _OgrePagingExport
A viewpoint from which the scene will be rendered.
The PageManager is the entry point through which you load all PagedWorld instances,...
Abstract marker class representing the data held against the PagedWorldSection which is specifically ...
Represents a section of the PagedWorld which uses a given PageStrategy, and which is made up of a gen...
Class representing a node in the scene graph.
Utility class providing helper methods for reading / writing structured data held in a DataStream.
Standard 3-dimensional vector.
virtual void frameEnd(Real timeElapsed, PagedWorldSection *section)
Called when the frame ends.
PageManager * getManager() const
virtual PageStrategyData * createData()=0
Create a PageStrategyData instance containing the data specific to this PageStrategy.
PageStrategy(const String &name, PageManager *manager)
virtual ~PageStrategyData()
virtual PageID getPageID(const Vector3 &worldPos, PagedWorldSection *section)=0
Get the page ID for a given world position.
virtual void destroyData(PageStrategyData *d)=0
Destroy a PageStrategyData instance containing the data specific to this PageStrategy.
virtual void updateDebugDisplay(Page *p, SceneNode *sn)=0
Update the contents of the passed in SceneNode to reflect the debug display of a given page.
virtual void notifyCamera(Camera *cam, PagedWorldSection *section)
Called when a camera is used for any kind of rendering.
virtual bool load(StreamSerialiser &stream)=0
Load this data from a stream (returns true if successful)
virtual void frameStart(Real timeSinceLastFrame, PagedWorldSection *section)
Called when the frame starts.
virtual void save(StreamSerialiser &stream)=0
Save this data to a stream.
const String & getName() const
uint32 PageID
Identifier for a page.
GeneralAllocatedObject PageAlloc
float Real
Software floating point type.