Changeset View
Changeset View
Standalone View
Standalone View
src/lib/marble/layers/TextureLayer.h
Show All 39 Lines | |||||
40 | public: | 40 | public: | ||
41 | TextureLayer( HttpDownloadManager *downloadManager, | 41 | TextureLayer( HttpDownloadManager *downloadManager, | ||
42 | PluginManager* pluginManager, | 42 | PluginManager* pluginManager, | ||
43 | const SunLocator *sunLocator, | 43 | const SunLocator *sunLocator, | ||
44 | QAbstractItemModel *groundOverlayModel ); | 44 | QAbstractItemModel *groundOverlayModel ); | ||
45 | 45 | | |||
46 | ~TextureLayer(); | 46 | ~TextureLayer(); | ||
47 | 47 | | |||
48 | QStringList renderPosition() const; | 48 | RenderPositions renderPositions() const override; | ||
49 | 49 | | |||
50 | void addSeaDocument( const GeoDataDocument *seaDocument ); | 50 | void addSeaDocument( const GeoDataDocument *seaDocument ); | ||
51 | 51 | | |||
52 | void addLandDocument( const GeoDataDocument *landDocument ); | 52 | void addLandDocument( const GeoDataDocument *landDocument ); | ||
53 | 53 | | |||
54 | int textureLayerCount() const; | 54 | int textureLayerCount() const; | ||
55 | 55 | | |||
56 | /** | 56 | /** | ||
Show All 31 Lines | |||||
88 | 88 | | |||
89 | int preferredRadiusCeil( int radius ) const; | 89 | int preferredRadiusCeil( int radius ) const; | ||
90 | int preferredRadiusFloor( int radius ) const; | 90 | int preferredRadiusFloor( int radius ) const; | ||
91 | 91 | | |||
92 | RenderState renderState() const; | 92 | RenderState renderState() const; | ||
93 | 93 | | |||
94 | virtual QString runtimeTrace() const; | 94 | virtual QString runtimeTrace() const; | ||
95 | 95 | | |||
96 | virtual bool render( GeoPainter *painter, ViewportParams *viewport, | 96 | bool render(GeoPainter *painter, ViewportParams *viewport, | ||
97 | const QString &renderPos = QLatin1String("NONE"), | 97 | RenderPosition renderPos, GeoSceneLayer *layer) override; | ||
98 | GeoSceneLayer *layer = 0 ); | | |||
99 | 98 | | |||
100 | public Q_SLOTS: | 99 | public Q_SLOTS: | ||
101 | void setShowRelief( bool show ); | 100 | void setShowRelief( bool show ); | ||
102 | 101 | | |||
103 | void setShowSunShading( bool show ); | 102 | void setShowSunShading( bool show ); | ||
104 | 103 | | |||
105 | void setShowCityLights( bool show ); | 104 | void setShowCityLights( bool show ); | ||
106 | 105 | | |||
Show All 40 Lines |