GlobeEngine
gePlanetaryViewer::PlanetaryViewerTerrainModule Class Reference

#include <PlanetaryViewerTerrainModule.h>

Inheritance diagram for gePlanetaryViewer::PlanetaryViewerTerrainModule:
geRaster::TerrainModule

Public Member Functions

 PlanetaryViewerTerrainModule ()
 
 ~PlanetaryViewerTerrainModule ()
 
void clear ()
 
void create ()
 
void update (std::shared_ptr< ge::Camera > _cam)
 
void updateQuadtree (std::shared_ptr< ge::Camera > _cam)
 
void draw (std::shared_ptr< ge::Camera > _cam)
 
void loadTerrainService (std::string _shaderPath, std::string _terrainUrl, std::string _texUrl, int _midLoD, int _maxLoD, float _heightScale)
 
- Public Member Functions inherited from geRaster::TerrainModule
 TerrainModule ()
 
virtual ~TerrainModule ()
 
void createBasicSetup (double _scale)
 
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 ()
 

Additional Inherited Members

- Protected Attributes inherited from geRaster::TerrainModule
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

gePlanetaryViewer::PlanetaryViewerTerrainModule::PlanetaryViewerTerrainModule ( )
gePlanetaryViewer::PlanetaryViewerTerrainModule::~PlanetaryViewerTerrainModule ( )

Member Function Documentation

void gePlanetaryViewer::PlanetaryViewerTerrainModule::clear ( )
virtual

Reimplemented from geRaster::TerrainModule.

void gePlanetaryViewer::PlanetaryViewerTerrainModule::create ( )
void gePlanetaryViewer::PlanetaryViewerTerrainModule::draw ( std::shared_ptr< ge::Camera _cam)
virtual

Reimplemented from geRaster::TerrainModule.

void gePlanetaryViewer::PlanetaryViewerTerrainModule::loadTerrainService ( std::string  _shaderPath,
std::string  _terrainUrl,
std::string  _texUrl,
int  _midLoD,
int  _maxLoD,
float  _heightScale 
)
void gePlanetaryViewer::PlanetaryViewerTerrainModule::update ( std::shared_ptr< ge::Camera _cam)
virtual
void gePlanetaryViewer::PlanetaryViewerTerrainModule::updateQuadtree ( std::shared_ptr< ge::Camera _cam)

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