voxelTerrain
 All Classes Functions Variables Typedefs Enumerations Pages
Public Types | Public Member Functions | List of all members
blub::procedural::voxel::terrain::surface< configType > Class Template Reference

The surface class contains a custom count of simple::surface for level of detail. More...

#include <surface.hpp>

Inheritance diagram for blub::procedural::voxel::terrain::surface< configType >:
blub::procedural::voxel::terrain::base< configType::t_surface::t_simple > blub::noncopyable

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
 
- Public Types inherited from blub::procedural::voxel::terrain::base< configType::t_surface::t_simple >
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
 
- Public Member Functions inherited from blub::procedural::voxel::terrain::base< configType::t_surface::t_simple >
 base ()
 base contructor
 
 ~base ()
 ~base destructor
 
t_lod getLod (const uint16 &lod) const
 getLod returns a level of detail. More...
 
const t_lodListgetLodList () 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

- Protected Attributes inherited from blub::procedural::voxel::terrain::base< configType::t_surface::t_simple >
t_lodList m_lods
 m_lods container for the lods.
 

Detailed Description

template<class configType>
class blub::procedural::voxel::terrain::surface< configType >

The surface class contains a custom count of simple::surface for level of detail.

Examples:
customVertexInformation.cpp, mesh.cpp, noise.cpp, and primitives.cpp.

Constructor & Destructor Documentation

template<class configType >
blub::procedural::voxel::terrain::surface< configType >::surface ( blub::async::dispatcher worker,
t_terrainAccessor &  voxels 
)
inline

surface construtor. Creates as much lods as in voxels.

Parameters
workermay get called by multiple threads.
voxelsThe accessor to sync with.

The documentation for this class was generated from the following files: