29 #ifndef __Ogre_PagedWorld_H__
30 #define __Ogre_PagedWorld_H__
83 void load(
const String& filename);
92 void save(
const String& filename);
149 void destroySection(
const String& name);
153 void destroyAllSections();
232 virtual void frameStart(
Real timeSinceLastFrame);
234 virtual void frameEnd(
Real timeElapsed);
236 virtual void notifyCamera(
Camera* cam);
A viewpoint from which the scene will be rendered.
float Real
Software floating point type.
Utility class to generate a sequentially numbered series of names.
The PageManager is the entry point through which you load all PagedWorld instances, and the place where PageStrategy instances and factory classes are registered to customise the paging behaviour.
Manages the organisation and rendering of a 'scene' i.e.
This class represents a collection of pages which make up a world.
PageProvider * mPageProvider
const String & getName() const
const SectionMap & getSections() const
Retrieve a const reference to all the sections in this world.
size_t getSectionCount() const
Get the number of sections this world has.
static const uint32 CHUNK_ID
static const uint32 CHUNK_SECTIONDECLARATION_ID
Superclass for all objects that wish to use custom memory allocators when their new / delete operator...
map< String, PagedWorldSection * >::type SectionMap
#define _OgrePagingExport
Utility class providing helper methods for reading / writing structured data held in a DataStream...
void setPageProvider(PageProvider *provider)
Set the PageProvider which can provide streams for Pages in this world.
std::ostream & operator<<(std::ostream &o, const TRect< T > &r)
static const String BLANK
Constant blank string, useful for returning by ref where local does not exist.
PageManager * getManager() const
Get the manager of this world.
NameGenerator mSectionNameGenerator
PageProvider * getPageProvider() const
Get the PageProvider which can provide streams for Pages in this world.
Abstract class that can be implemented by the user application to provide a way to retrieve or genera...
Represents a section of the PagedWorld which uses a given PageStrategy, and which is made up of a gen...
Defines the interface to a strategy class which is responsible for deciding when Page instances are r...
uint32 PageID
Identifier for a page.
static const uint16 CHUNK_VERSION