13 #include <osgEarth/Bounds>
14 #include <osgEarth/Progress>
31 class DtOsgEarthCacheProgressCallback;
42 friend class DtWidgetProgressCallback;
45 virtual void setMapNode(osgEarth::MapNode* mapNode);
49 virtual void setLowestLod(
int lowestLod);
53 virtual int lowestLod()
const;
57 virtual void setHighestLod(
int highestLod);
61 virtual int highestLod()
const;
64 virtual void setBound(
const osgEarth::Bounds& bound);
67 virtual osgEarth::Bounds bound()
const;
71 virtual void setCacheImageLayers(
bool val);
74 virtual void setCacheElevationLayers(
bool val);
80 virtual void startCache();
83 virtual void apiCache();
86 virtual void cancelCache();
90 virtual bool isCanceled();
131 virtual bool reportProgress(
134 unsigned currentStage,
135 unsigned totalStages,
136 const std::string& msg)
override;
140 int myCurrentProgress = 0;
141 int myTotalStages = 0;
osgEarth::MapNode * myMapNode
Definition: DtOsgEarthCache.h:149
DtOsgEarthCache * myOsgEarthCache
Definition: DtOsgEarthCache.h:139
Virtual base class. Allows for RTTI and proper virtual destruction. Used by Creators, Factories, Providers, Assemblers and User Interfaces.
Definition: DtVirtualBaseClass.h:19
bool myCacheElevation
Definition: DtOsgEarthCache.h:154
Creator for the DtOsgEarthCache.
Definition: DtOsgEarthCache.h:159
int myHighestLod
Definition: DtOsgEarthCache.h:148
Definition: featureContext.h:36
#define DT_DLL_VRVOSGEARTH
Definition: vrvOsgEarth.h:21
DtOsgEarthCache.
Definition: DtOsgEarthCache.h:36
boost::signalslib::signal< void(std::string)> signal_updateProgressText
Signal to emit to update the current progess text to be displayed.
Definition: DtOsgEarthCache.h:100
osg::ref_ptr< DtOsgEarthCacheProgressCallback > myProgressCallback
Definition: DtOsgEarthCache.h:150
boost::signalslib::signal< void(double, double)> signal_updateProgress
Signal to emit to update the cache progress.
Definition: DtOsgEarthCache.h:98
Contains makVrv::DtVirtualBaseClass class.
DtOsgEarthCacheProgressCallback, used to update the cache progress in the progress bar...
Definition: DtOsgEarthCache.h:121
boost::signalslib::signal< void(bool)> signal_cacheFinished
Signal to emit when cache finished.
Definition: DtOsgEarthCache.h:102
bool myCacheImage
Definition: DtOsgEarthCache.h:153
bool myCanceled
Definition: DtOsgEarthCache.h:152
int myLowestLod
Definition: DtOsgEarthCache.h:147
The DtDe is the core component of any VR-Vantage application. It owns a DtRenderer, DtDeCommunicator, as well as a DtDisplay and other things.
Definition: DtDe.h:76
osgEarth::Bounds myBound
Definition: DtOsgEarthCache.h:146
Contains DLL export macros.
DtDe & myDe
Definition: DtOsgEarthCache.h:145