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

This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.
Last modified Tue Apr 13 2021 08:53:15