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);
#define _OgrePagingExport
map< String, PagedWorldSection * >::type SectionMap
Utility class to generate a sequentially numbered series of names.
float Real
Software floating point type.
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.
Represents a section of the PagedWorld which uses a given PageStrategy, and which is made up of a gen...
PageProvider * mPageProvider
PageManager * getManager() const
Get the manager of this world.
static const uint16 CHUNK_VERSION
PageProvider * getPageProvider() const
Get the PageProvider which can provide streams for Pages in this world.
static const uint32 CHUNK_SECTIONDECLARATION_ID
std::ostream & operator<<(std::ostream &o, const TRect< T > &r)
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.
const String & getName() const
void setPageProvider(PageProvider *provider)
Set the PageProvider which can provide streams for Pages in this world.
This class represents a collection of pages which make up a world.
Utility class providing helper methods for reading / writing structured data held in a DataStream...
A viewpoint from which the scene will be rendered.
uint32 PageID
Identifier for a page.
NameGenerator mSectionNameGenerator
Abstract class that can be implemented by the user application to provide a way to retrieve or genera...
Manages the organisation and rendering of a 'scene' i.e.
static const String BLANK
Constant blank string, useful for returning by ref where local does not exist.
Defines the interface to a strategy class which is responsible for deciding when Page instances are r...
Superclass for all objects that wish to use custom memory allocators when their new / delete operator...
static const uint32 CHUNK_ID