11 #ifndef GlobeEngine_PlanetaryViewerTerrainModule_h
12 #define GlobeEngine_PlanetaryViewerTerrainModule_h
14 #include "OpenGL_Includes.h"
28 void update(std::shared_ptr<ge::Camera> _cam);
30 void draw(std::shared_ptr<ge::Camera> _cam);
32 std::string _terrainUrl, std::string _texUrl,
int _midLoD,
int _maxLoD,
float _heightScale);
35 void updateGeometryForPosition(std::shared_ptr<ge::Camera> _cam);
40 void loadElevationTile(
int _tmsid,
const std::shared_ptr<geSpatial::Tile> _tile);
41 void loadTextureTile(
int _tmsid,
const std::shared_ptr<geSpatial::Tile> _tile);
43 void setupTileService(
int _cacheSize);
44 void requestInitialTMSTiles(
int _tmsid);
45 void getTilesFromTileService(
int _tmsid);
49 std::shared_ptr<geRaster::TerrainMessageQueue> tileServiceProvider;
50 std::shared_ptr<ge::Shader> programForTerrain;
PlanetaryViewerTerrainModule()
Definition: PlanetaryViewerTerrainModule.cpp:12
~PlanetaryViewerTerrainModule()
Definition: PlanetaryViewerTerrainModule.cpp:17
void update(std::shared_ptr< ge::Camera > _cam)
Definition: PlanetaryViewerTerrainModule.cpp:95
void draw(std::shared_ptr< ge::Camera > _cam)
Definition: PlanetaryViewerTerrainModule.cpp:142
Definition: TerrainModule.h:24
Definition: PlanetaryViewerTerrainModule.h:21
Definition: PlanetaryViewerComposition.h:6
void create()
Definition: PlanetaryViewerTerrainModule.cpp:27
void updateQuadtree(std::shared_ptr< ge::Camera > _cam)
Definition: PlanetaryViewerTerrainModule.cpp:75
void loadTerrainService(std::string _shaderPath, std::string _terrainUrl, std::string _texUrl, int _midLoD, int _maxLoD, float _heightScale)
Definition: PlanetaryViewerTerrainModule.cpp:33
void clear()
Definition: PlanetaryViewerTerrainModule.cpp:22