The surface class contains a custom count of simple::surface for level of detail. More...
#include <surface.hpp>
Public Types | |
typedef configType | t_config |
typedef t_config::t_surface::t_simple | t_simple |
typedef t_simple | t_lod |
typedef t_lod * | t_lodPtr |
typedef base< t_simple > | t_base |
typedef t_config::t_accessor::t_terrain | t_terrainAccessor |
![]() | |
typedef configType::t_surface::t_simple | t_simple |
typedef t_simple * | t_lod |
typedef vector< scopedPointer < t_simple > > | t_lodList |
typedef t_simple::t_createTileCallback | t_createTileCallback |
Public Member Functions | |
surface (blub::async::dispatcher &worker, t_terrainAccessor &voxels) | |
surface construtor. Creates as much lods as in voxels. More... | |
~surface () | |
~surface destrcutor | |
![]() | |
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... | |
Additional Inherited Members | |
![]() | |
t_lodList | m_lods |
m_lods container for the lods. | |
The surface class contains a custom count of simple::surface for level of detail.
|
inline |
surface construtor. Creates as much lods as in voxels.
worker | may get called by multiple threads. |
voxels | The accessor to sync with. |