GlobeEngine
geRaster::TerrainModule Class Referenceabstract

#include <TerrainModule.h>

Inheritance diagram for geRaster::TerrainModule:
geGIS::GlobeRasterModule geHikingViewer::HikingTerrainModule gePlanetaryViewer::PlanetaryViewerTerrainModule geTerrainExample::TerrainExampleTerrainModule

Public Member Functions

 TerrainModule ()
 
virtual ~TerrainModule ()
 
virtual void clear ()
 
void createBasicSetup (double _scale)
 
virtual void update (std::shared_ptr< ge::Camera > _cam)=0
 
virtual void draw (std::shared_ptr< ge::Camera > _cam)
 
void createBintree (short _lod, double _distLod, double _heightScale, std::shared_ptr< ge::Shader > _shader, geRaster::KPatchBase::PatchMode _mode, vmml::Vector3d _pos, std::string _name)
 
void createQuadPatchTree (geRaster::TerrainTriangulationInfo _triangulationInfo, std::shared_ptr< ge::Shader > _shader, vmml::Vector3d _pos, std::string _name, geRaster::TerrainVis::VisualizationMode _mode)
 
void createQuadtree (vmml::Vector2d _zeropos, double _scale)
 
int addTileMapService (int _minLod, int _maxLod, std::string _url, enum geRaster::TerrainVis::Layertype _type)
 
void updateGeometry (vmml::Vector3d _center)
 
void setVisualizationMode (geRaster::TerrainVis::VisualizationMode _mode)
 
bool isModuleActive ()
 
void rescale (float _in)
 
std::shared_ptr< geRaster::MBlockQuadtreegetElevationQuadtree ()
 
std::shared_ptr< geRaster::KPatchBintreegetBintree ()
 
std::string getName ()
 
void recompileShader ()
 
void printElevationQuadtreeInfo ()
 
void printElevationBintreeInfo ()
 

Protected Attributes

std::shared_ptr< geRaster::MBlockQuadtreequadtree
 
std::vector< tileService::TileMapService * > tmslist
 
geRaster::TerrainTriangulationInfo technique
 
std::shared_ptr< geRaster::KPatchBintreebintree
 
std::shared_ptr< geRaster::QuadPatchFieldquadpatchfield
 
float heightScale
 
bool loadTexture
 

Constructor & Destructor Documentation

geRaster::TerrainModule::TerrainModule ( )
geRaster::TerrainModule::~TerrainModule ( )
virtual

Member Function Documentation

int geRaster::TerrainModule::addTileMapService ( int  _minLod,
int  _maxLod,
std::string  _url,
geRaster::TerrainVis::Layertype  _type 
)
void geRaster::TerrainModule::createBasicSetup ( double  _scale)
void geRaster::TerrainModule::createBintree ( short  _lod,
double  _distLod,
double  _heightScale,
std::shared_ptr< ge::Shader _shader,
geRaster::KPatchBase::PatchMode  _mode,
vmml::Vector3d  _pos,
std::string  _name 
)
void geRaster::TerrainModule::createQuadPatchTree ( geRaster::TerrainTriangulationInfo  _triangulationInfo,
std::shared_ptr< ge::Shader _shader,
vmml::Vector3d  _pos,
std::string  _name,
geRaster::TerrainVis::VisualizationMode  _mode 
)
void geRaster::TerrainModule::createQuadtree ( vmml::Vector2d  _zeropos,
double  _scale 
)
void geRaster::TerrainModule::draw ( std::shared_ptr< ge::Camera _cam)
virtual
std::shared_ptr< geRaster::KPatchBintree > geRaster::TerrainModule::getBintree ( )
std::shared_ptr< geRaster::MBlockQuadtree > geRaster::TerrainModule::getElevationQuadtree ( )
std::string geRaster::TerrainModule::getName ( )
bool geRaster::TerrainModule::isModuleActive ( )
void geRaster::TerrainModule::printElevationBintreeInfo ( )
void geRaster::TerrainModule::printElevationQuadtreeInfo ( )
void geRaster::TerrainModule::recompileShader ( )
void geRaster::TerrainModule::rescale ( float  _in)
void geRaster::TerrainModule::setVisualizationMode ( geRaster::TerrainVis::VisualizationMode  _mode)
virtual void geRaster::TerrainModule::update ( std::shared_ptr< ge::Camera _cam)
pure virtual
void geRaster::TerrainModule::updateGeometry ( vmml::Vector3d  _center)

Member Data Documentation

std::shared_ptr<geRaster::KPatchBintree> geRaster::TerrainModule::bintree
protected
float geRaster::TerrainModule::heightScale
protected
bool geRaster::TerrainModule::loadTexture
protected
std::shared_ptr<geRaster::QuadPatchField> geRaster::TerrainModule::quadpatchfield
protected
std::shared_ptr<geRaster::MBlockQuadtree> geRaster::TerrainModule::quadtree
protected
geRaster::TerrainTriangulationInfo geRaster::TerrainModule::technique
protected
std::vector<tileService::TileMapService*> geRaster::TerrainModule::tmslist
protected

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