13 #include <osgEarth/Bounds>
14 #include <osgEarth/Progress>
45 class DtOsgEarthCacheProgressCallback;
46 class DtObserverObject;
47 class DtOsgEarthCacheTileHandler;
59 friend class DtWidgetProgressCallback;
71 virtual void setMapNode(osgEarth::MapNode* mapNode);
75 virtual void setLowestLod(
int lowestLod);
79 virtual int lowestLod()
const;
83 virtual void setHighestLod(
int highestLod);
87 virtual int highestLod()
const;
90 virtual void setCacheMethod(Method method);
93 virtual Method cacheMethod()
const;
96 virtual void setBound(
const osgEarth::Bounds& bound);
99 virtual osgEarth::Bounds bound()
const;
103 virtual void setCacheImageLayers(
bool val);
106 virtual void setCacheElevationLayers(
bool val);
112 virtual void initializeChannel(
DtChannel* channel);
115 virtual void reset();
118 virtual void startCache();
121 virtual void apiCache();
124 virtual void viewPointCache();
127 virtual void cancelCache();
131 virtual bool isCanceled();
173 unsigned currentStage,
174 unsigned totalStages,
175 const std::string& msg);
osgEarth::MapNode * myMapNode
Definition: DtOsgEarthCache.h:188
DtOsgEarthCache * myOsgEarthCache
Definition: DtOsgEarthCache.h:178
Virtual base class.
Definition: DtVirtualBaseClass.h:19
bool myCacheElevation
Definition: DtOsgEarthCache.h:197
Creator for the DtOsgEarthCache.
Definition: DtOsgEarthCache.h:202
int myHighestLod
Definition: DtOsgEarthCache.h:187
Method
Definition: DtOsgEarthCache.h:61
int myCurrentProgress
Definition: DtOsgEarthCache.h:179
osg::ref_ptr< DtOsgEarthCacheTileHandler > myTileHandler
Definition: DtOsgEarthCache.h:192
#define DT_DLL_VRVOSGEARTH
Definition: vrvOsgEarth.h:21
DtOsgEarthCache.
Definition: DtOsgEarthCache.h:53
boost::signalslib::signal< void(std::string)> signal_updateProgressText
Signal to emit to update the current progess text to be displayed.
Definition: DtOsgEarthCache.h:138
boost::signalslib::signal< void(int)> signal_updateProgress
Signal to emit to update the cache progress.
Definition: DtOsgEarthCache.h:136
The abstract Channel Class.
Definition: DtChannel.h:30
osg::ref_ptr< DtOsgEarthCacheProgressCallback > myProgressCallback
Definition: DtOsgEarthCache.h:191
osgEarth::Contrib::CacheSeed * myCacheSeed
Definition: DtOsgEarthCache.h:190
Contains makVrv::DtVirtualBaseClass class.
DtOsgEarthCacheProgressCallback, used to update the cache progress in the progress bar...
Definition: DtOsgEarthCache.h:159
bool myCacheImage
Definition: DtOsgEarthCache.h:196
bool myCanceled
Definition: DtOsgEarthCache.h:194
Definition: DtOsgEarthCache.h:63
int myLowestLod
Definition: DtOsgEarthCache.h:186
boost::signalslib::signal< void()> signal_cacheFinished
Signal to emit when cache finished.
Definition: DtOsgEarthCache.h:140
std::string myCurrentProcessingTile
Definition: DtOsgEarthCache.h:195
osg::ref_ptr< osgEarth::Util::TileVisitor > myTileVisitor
Definition: DtOsgEarthCache.h:189
The DtDe is the core component of any VR-Vantage application.
Definition: DtDe.h:69
osgEarth::Bounds myBound
Definition: DtOsgEarthCache.h:185
Contains DLL export macros.
DtDe & myDe
Definition: DtOsgEarthCache.h:183
Method myCacheMethod
Definition: DtOsgEarthCache.h:184