11 #ifndef GlobeEngine_HikingTerrainModule_h
12 #define GlobeEngine_HikingTerrainModule_h
14 #include "OpenGL_Includes.h"
21 #include "TileMapService.h"
32 void update(std::shared_ptr<ge::Camera> _cam);
35 void draw(std::shared_ptr<ge::Camera> _cam);
36 void loadTerrainService(std::string _shaderPath, std::string _terrainUrl, std::string _texUrl,
float _heightScale);
51 void updateGeometryForPosition(std::shared_ptr<ge::Camera> _cam);
55 void loadElevationTile(
int _tmsid,
const std::shared_ptr<geSpatial::Tile> _tile);
56 void loadTextureTile(
int _tmsid,
const std::shared_ptr<geSpatial::Tile> _tile);
58 void setupTileService(
int _cacheSize);
59 void requestInitialTMSTiles(
int _tmsid);
60 void getTilesFromTileService(
int _tmsid);
62 void createHikingBintree(
short _lod,
double _distLod,
double _heightScale,
64 vmml::Vector3d _pos, std::string _name);
void clear()
Definition: HikingTerrainModule.cpp:22
void updateQuadtree(std::shared_ptr< ge::Camera > _cam)
Definition: HikingTerrainModule.cpp:79
~HikingTerrainModule()
Definition: HikingTerrainModule.cpp:17
void setDangerHeight(float h)
Definition: HikingTerrainModule.cpp:270
Definition: HikingComposition.h:14
HikingTerrainModule()
Definition: HikingTerrainModule.cpp:11
Definition: TerrainModule.h:24
void create()
Definition: HikingTerrainModule.cpp:27
std::shared_ptr< ge::Shader > programForTerrain
Definition: HikingTerrainModule.h:70
int getRiskLevel()
Definition: HikingTerrainModule.cpp:293
Definition: HikingTerrainModule.h:25
int selectedShader
Definition: HikingTerrainModule.h:69
void enableNorthSouth(bool e)
Definition: HikingTerrainModule.cpp:278
void setRiskLevel(int level)
Definition: HikingTerrainModule.cpp:286
void draw(std::shared_ptr< ge::Camera > _cam)
Definition: HikingTerrainModule.cpp:146
bool isDangerEnabled()
Definition: HikingTerrainModule.cpp:253
void setHikingDangerSection(float s)
Definition: HikingTerrainModule.cpp:297
void switchDanger()
Definition: HikingTerrainModule.cpp:261
std::shared_ptr< ge::Shader > programForTerrainRiskAnalysis
Definition: HikingTerrainModule.h:71
float getDangerHeight()
Definition: HikingTerrainModule.cpp:274
void setDangerOrientation(float o)
Definition: HikingTerrainModule.cpp:282
PatchMode
Definition: KPatchBase.h:21
std::shared_ptr< geRaster::TerrainMessageQueue > tileServiceProvider
Definition: HikingTerrainModule.h:67
void loadTerrainService(std::string _shaderPath, std::string _terrainUrl, std::string _texUrl, float _heightScale)
Definition: HikingTerrainModule.cpp:35
void switchTerrainShader(std::string _shaderPath)
Definition: HikingTerrainModule.cpp:244
void update(std::shared_ptr< ge::Camera > _cam)
Definition: HikingTerrainModule.cpp:96