11 #ifndef GlobeEngine_GlobeRasterModule_h
12 #define GlobeEngine_GlobeRasterModule_h
14 #include "OpenGL_Includes.h"
29 void create(std::shared_ptr<ReferenceSystem> _referenceSystem);
30 void update(std::shared_ptr<ge::Camera> _cam);
33 void draw(std::shared_ptr<ge::Camera> _cam, std::shared_ptr<ge::TextureHandle> _colorHandle);
35 std::shared_ptr<ge::Shader> _shader,
float _heightScale);
46 void loadElevationTile(
int _tmsid, std::shared_ptr<geSpatial::Tile>
const& _tile);
47 void loadTextureTile(
int _tmsid, std::shared_ptr<geSpatial::Tile>
const& _tile);
49 std::shared_ptr<ge::Texture2Df> loadElevationTilePhase1(
int,
geSpatial::Tile const& );
50 void loadElevationTilePhase2(
geSpatial::Tile const&, std::shared_ptr<ge::Texture2Df> );
52 void setupTileService(
int _cacheSize);
53 void requestInitialTMSTiles(
int _tmsid);
54 void getTilesFromTileService(
int _tmsid);
55 void createGeoRefQuadtree();
56 void updateGeometryForPosition(std::shared_ptr<ge::Camera> _cam);
59 std::shared_ptr<ReferenceSystem> referenceSystem;
60 std::shared_ptr<geRaster::TerrainMessageQueue> tileServiceProvider;
62 short selectedImageLayer;
63 std::vector<std::string> imageLayerNames;
66 float animatedTimeStep;
70 std::vector< std::shared_ptr<ge::Texture2Df> > deferred;
void setAnimatedTimeStep(float _timeStep)
Definition: GlobeRasterModule.cpp:356
~GlobeRasterModule()
Definition: GlobeRasterModule.cpp:16
void draw(std::shared_ptr< ge::Camera > _cam, std::shared_ptr< ge::TextureHandle > _colorHandle)
Definition: GlobeRasterModule.cpp:167
Definition: ClusterGrid.h:17
Definition: TerrainModule.h:24
GlobeRasterModule()
Definition: GlobeRasterModule.cpp:11
void updateQuadtree(std::shared_ptr< ge::Camera > _cam)
Definition: GlobeRasterModule.cpp:82
std::vector< std::string > getImageLayerNamesList()
Definition: GlobeRasterModule.cpp:352
void clear()
Definition: GlobeRasterModule.cpp:21
void setVisibleImageLayer(short _layer)
Definition: GlobeRasterModule.cpp:348
virtual void draw(std::shared_ptr< ge::Camera > _cam)
Definition: TerrainModule.cpp:74
void create(std::shared_ptr< ReferenceSystem > _referenceSystem)
Definition: GlobeRasterModule.cpp:32
void update(std::shared_ptr< ge::Camera > _cam)
Definition: GlobeRasterModule.cpp:102
Definition: GlobeRasterModule.h:23
void loadTerrainService(std::shared_ptr< TMSElevationBlueprint > _blueprint, std::shared_ptr< ge::Shader > _shader, float _heightScale)
Definition: GlobeRasterModule.cpp:38