The base class gets derived by every class in the namesapce terrain. It holds various level of details, always of type procedural::voxel::simple::base. More...
#include <base.hpp>
Public Types | |
| typedef simpleType | t_simple |
| typedef t_simple * | t_lod |
|
typedef vector< scopedPointer < t_simple > > | t_lodList |
|
typedef t_simple::t_createTileCallback | t_createTileCallback |
Public Member Functions | |
| base () | |
| base contructor | |
| ~base () | |
| ~base destructor | |
| t_lod | getLod (const uint16 &lod) const |
| getLod returns a level of detail. More... | |
| const t_lodList & | getLodList () const |
| getLodList returns all level of details. More... | |
| int32 | getNumLod () const |
| getNumLod returns number of level of details. More... | |
| void | setCreateTileCallback (const t_createTileCallback &toSet) |
| setCreateTileCallback sets the callback for creating tiles to the lods. More... | |
Protected Attributes | |
| t_lodList | m_lods |
| m_lods container for the lods. | |
The base class gets derived by every class in the namesapce terrain. It holds various level of details, always of type procedural::voxel::simple::base.
| base< tileType >::t_lod blub::procedural::voxel::terrain::base< tileType >::getLod | ( | const uint16 & | lod | ) | const |
getLod returns a level of detail.
| lod | Lod-index starting with zero. |
| const base< tileType >::t_lodList & blub::procedural::voxel::terrain::base< tileType >::getLodList | ( | ) | const |
getLodList returns all level of details.
| int32 blub::procedural::voxel::terrain::base< tileType >::getNumLod | ( | ) | const |
getNumLod returns number of level of details.
| void blub::procedural::voxel::terrain::base< tileType >::setCreateTileCallback | ( | const t_createTileCallback & | toSet | ) |
setCreateTileCallback sets the callback for creating tiles to the lods.
| toSet |
1.8.8