29 #ifndef __Ogre_Grid3DPageStrategy_H__ 30 #define __Ogre_Grid3DPageStrategy_H__ 132 virtual void setOrigin(
const Vector3& worldOrigin);
136 virtual void setCellSize(
const Vector3& sz);
140 virtual void setLoadRadius(
Real sz);
144 virtual void setHoldRadius(
Real sz);
151 virtual void setCellRangeMinX(
int32 minX);
153 virtual void setCellRangeMinY(
int32 minY);
155 virtual void setCellRangeMinZ(
int32 minZ);
157 virtual void setCellRangeMaxX(
int32 maxX);
159 virtual void setCellRangeMaxY(
int32 maxY);
161 virtual void setCellRangeMaxZ(
int32 maxZ);
#define _OgrePagingExport
static const uint32 CHUNK_ID
virtual Vector3 getCellSize() const
Get the size of the cells in the grid.
Page strategy which loads new pages based on a regular 3D grid.
Vector3 mWorldOrigin
Origin (world space)
virtual Real getHoldRadius() const
Get the Holding radius.
float Real
Software floating point type.
Vector3 mCellSize
Grid cell (page) size.
Real mHoldRadius
Hold radius.
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.
virtual int32 getCellRangeMaxY() const
get the index range of all cells (values outside this will be ignored)
virtual const Vector3 & getOrigin(const Vector3 &worldOrigin)
Get the origin of the grid in world space.
Standard 3-dimensional vector.
virtual Real getLoadRadius() const
Get the loading radius.
Abstract marker class representing the data held against the PagedWorldSection which is specifically ...
virtual int32 getCellRangeMinY() const
get the index range of all cells (values outside this will be ignored)
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.
Specialisation of PageStrategyData for Grid3DPageStrategy.
Real mLoadRadius
Load radius.
Utility class providing helper methods for reading / writing structured data held in a DataStream...
A viewpoint from which the scene will be rendered.
virtual int32 getCellRangeMaxX() const
get the index range of all cells (values outside this will be ignored)
uint32 PageID
Identifier for a page.
virtual int32 getCellRangeMinZ() const
get the index range of all cells (values outside this will be ignored)
Vector3 mOrigin
Origin (grid-aligned world space)
This source file is part of OGRE (Object-oriented Graphics Rendering Engine) For the latest info...
virtual int32 getCellRangeMinX() const
get the index range of all cells (values outside this will be ignored)
static const uint16 CHUNK_VERSION
virtual int32 getCellRangeMaxZ() const
get the index range of all cells (values outside this will be ignored)
Defines the interface to a strategy class which is responsible for deciding when Page instances are r...