dtTerrain::PagedTerrainTileFactory Class Reference

This class is the base for a simple factory used to create new terrain tiles. More...

#include <pagedterraintilefactory.h>

List of all members.

Public Member Functions

 PagedTerrainTileFactory ()
 Empty constructor...
virtual PagedTerrainTileCreateNewTile (const GeoCoordinates &coords, Terrain &owner)
 This method creates a new terrain tile.

Protected Member Functions

virtual ~PagedTerrainTileFactory ()
 Empty destructor...


Detailed Description

This class is the base for a simple factory used to create new terrain tiles.

The terrain relies on this factory when it needs to create a new tile. Specific applications which rely on custom terrain tiles may wish to build a custom factory for the terrain to use.


Constructor & Destructor Documentation

dtTerrain::PagedTerrainTileFactory::PagedTerrainTileFactory (  )  [inline]

Empty constructor...

virtual dtTerrain::PagedTerrainTileFactory::~PagedTerrainTileFactory (  )  [inline, protected, virtual]

Empty destructor...


Member Function Documentation

virtual PagedTerrainTile* dtTerrain::PagedTerrainTileFactory::CreateNewTile ( const GeoCoordinates coords,
Terrain owner 
) [inline, virtual]

This method creates a new terrain tile.

The default implementation merely creates a new tile and assigns its coordinates.

Parameters:
coords The coordinates mapped to this tile's location.
owner The terrain instance that owns this tile.
Returns:
A newly created tile.


http://www.delta3d.org
2.0.0 generated 14 Feb 2008