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

The accessor class contains a custom amount of level of details of type simple::accessor. More...

#include <accessor.hpp>

Inheritance diagram for blub::procedural::voxel::terrain::accessor< configType >:
blub::procedural::voxel::terrain::base< configType::t_accessor::t_simple > blub::noncopyable

Public Types

typedef configType t_config
 
typedef
t_config::t_accessor::t_simple 
t_simple
 
typedef base< t_simple > t_base
 
typedef
t_config::t_container::t_simple 
t_simpleContainer
 
- Public Types inherited from blub::procedural::voxel::terrain::base< configType::t_accessor::t_simple >
typedef
configType::t_accessor::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

 accessor (blub::async::dispatcher &worker, t_simpleContainer &voxels, const uint32 &numLod)
 accessor constructor More...
 
 ~accessor ()
 ~accessor destructor
 
t_simpleContainer & getVoxelContainer () const
 getVoxelContainer returns the voxel-container to get the data from and to sync with. More...
 
- Public Member Functions inherited from blub::procedural::voxel::terrain::base< configType::t_accessor::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_accessor::t_simple >
t_lodList m_lods
 m_lods container for the lods.
 

Detailed Description

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

The accessor class contains a custom amount of level of details of type simple::accessor.

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

Constructor & Destructor Documentation

template<class configType >
blub::procedural::voxel::terrain::accessor< configType >::accessor ( blub::async::dispatcher worker,
t_simpleContainer &  voxels,
const uint32 &  numLod 
)
inline

accessor constructor

Parameters
workerMay get called by multiple threads.
voxelsThe voxel-container to get the data from and to sync with.
numLodCount of level of details.

Member Function Documentation

template<class configType >
t_simpleContainer& blub::procedural::voxel::terrain::accessor< configType >::getVoxelContainer ( ) const
inline

getVoxelContainer returns the voxel-container to get the data from and to sync with.

Returns

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