DtOsgEarthCacheHandler, using QThread to run the cache process in a separate thread.
| virtual makVrv::DtOsgEarthCacheHandler::~DtOsgEarthCacheHandler |
( |
| ) |
|
|
virtual |
| virtual void makVrv::DtOsgEarthCacheHandler::run |
( |
| ) |
|
|
virtual |
run function override, all code executed in this function will be in a worker thread.
| virtual void makVrv::DtOsgEarthCacheHandler::setMapNode |
( |
osgEarth::MapNode * |
mapNode | ) |
|
|
virtual |
Setw the MapNode that forms the root of an osgEarth map.
| virtual void makVrv::DtOsgEarthCacheHandler::setLowestLod |
( |
int |
lowestLod | ) |
|
|
virtual |
Sets the lowest lod to cache, only the tiles with a higher lod will be cached.
- Parameters
-
| lowestLod | The lowest lod to generate cache. |
| virtual void makVrv::DtOsgEarthCacheHandler::setHighestLod |
( |
int |
highestLod | ) |
|
|
virtual |
Sets the highest lod to cache, only the tiles with a higher lod will be cached.
- Parameters
-
| highestLod | The highest lod to generate cache. |
| virtual void makVrv::DtOsgEarthCacheHandler::setBound |
( |
const osgEarth::Bounds & |
bound | ) |
|
|
virtual |
Sets the Bound of the cache area.
| virtual void makVrv::DtOsgEarthCacheHandler::setCacheImageLayers |
( |
bool |
val | ) |
|
|
virtual |
Sets whether cache image layers.
- Parameters
-
| skip | if true, it will skip caching image layers. |
| virtual void makVrv::DtOsgEarthCacheHandler::setCacheElevationLayers |
( |
bool |
val | ) |
|
|
virtual |
Sets whether cache elevation layers.
| virtual void makVrv::DtOsgEarthCacheHandler::cancelCache |
( |
| ) |
|
|
virtual |
| void makVrv::DtOsgEarthCacheHandler::connectSignals |
( |
| ) |
|
|
protected |
Connects all the signals.
| virtual void makVrv::DtOsgEarthCacheHandler::slot_updateProgress |
( |
double |
, |
|
|
double |
|
|
) |
| |
|
protectedvirtual |
Slot when the cache progress update.
| virtual void makVrv::DtOsgEarthCacheHandler::slot_updateProgressText |
( |
const std::string & |
text | ) |
|
|
protectedvirtual |
Slot when the text of the progress label changed.
| virtual void makVrv::DtOsgEarthCacheHandler::slot_cacheFinished |
( |
bool |
success | ) |
|
|
protectedvirtual |
| void makVrv::DtOsgEarthCacheHandler::qt_signal_updateProgress |
( |
double |
, |
|
|
double |
|
|
) |
| |
|
signal |
Qt signal to update the propress bar, progree bar has to be updated in the qt main thread.
| void makVrv::DtOsgEarthCacheHandler::qt_signal_cacheFinished |
( |
bool |
success | ) |
|
|
signal |
Qt signal to indicate the cache is finished.
| DtDe& makVrv::DtOsgEarthCacheHandler::myDe |
|
protected |
The documentation for this class was generated from the following file: