DtOsgEarthCache.
DtOsgEarthCache manages the caching of osgEarth tiles. It supports caching using the osgEarth API or flying a camera to the interseted area to invoke the data pager to generate cache.
| virtual makVrv::DtOsgEarthCache::~DtOsgEarthCache |
( |
| ) |
|
|
virtual |
| makVrv::DtOsgEarthCache::DtOsgEarthCache |
( |
| ) |
|
|
privatedelete |
Private default constructor not implimented.
Copy Constructor not implemented – Copy not allowed.
| makVrv::DtOsgEarthCache::DtOsgEarthCache |
( |
DtDe & |
de | ) |
|
|
protected |
| virtual void makVrv::DtOsgEarthCache::setMapNode |
( |
osgEarth::MapNode * |
mapNode | ) |
|
|
virtual |
Setw the MapNode that forms the root of an osgEarth map.
| virtual void makVrv::DtOsgEarthCache::setLowestLod |
( |
int |
lowestLod | ) |
|
|
virtual |
Sets the lowest lod to cache, only the tiles with a higher lod will be cached.
The lowest lod to generate cache.
| virtual int makVrv::DtOsgEarthCache::lowestLod |
( |
| ) |
const |
|
virtual |
Gets the lowest lod to cache, only the tiles with a higher lod will be cached.
The lowest lod to generate cache.
| virtual void makVrv::DtOsgEarthCache::setHighestLod |
( |
int |
highestLod | ) |
|
|
virtual |
Sets the highest lod to cache, only the tiles with a higher lod will be cached.
The highest lod to generate cache.
| virtual int makVrv::DtOsgEarthCache::highestLod |
( |
| ) |
const |
|
virtual |
Gets the highest lod to cache, only the tiles with a higher lod will be cached.
The highest lod to generate cache.
| virtual void makVrv::DtOsgEarthCache::setBound |
( |
const osgEarth::Bounds & |
bound | ) |
|
|
virtual |
Sets the Bound of the cache area.
| virtual osgEarth::Bounds makVrv::DtOsgEarthCache::bound |
( |
| ) |
const |
|
virtual |
Gets the Bound of the cache area.
| virtual void makVrv::DtOsgEarthCache::setCacheImageLayers |
( |
bool |
val | ) |
|
|
virtual |
Sets whether skip the caching of the image layers.
- Parameters
-
| skip | if true, it will skip caching image layers. |
| virtual void makVrv::DtOsgEarthCache::setCacheElevationLayers |
( |
bool |
val | ) |
|
|
virtual |
Sets whether cache elevation layers.
| virtual void makVrv::DtOsgEarthCache::reset |
( |
| ) |
|
|
virtual |
Resets the data from the previous operation.
| virtual void makVrv::DtOsgEarthCache::startCache |
( |
| ) |
|
|
virtual |
| virtual void makVrv::DtOsgEarthCache::apiCache |
( |
| ) |
|
|
virtual |
Cache the terrain using the osgEarth api.
| virtual void makVrv::DtOsgEarthCache::cancelCache |
( |
| ) |
|
|
virtual |
Forces the cache to cancel.
| virtual bool makVrv::DtOsgEarthCache::isCanceled |
( |
| ) |
|
|
virtual |
Gets whether the cache is canceled.
- Returns
- return true if cache is canceled,otherwise return false
Assignment Operator not implemented – Copy not allowed.
| friend class DtWidgetProgressCallback |
|
friend |
| boost::signalslib::signal<void(double,double)> makVrv::DtOsgEarthCache::signal_updateProgress |
Signal to emit to update the cache progress.
| boost::signalslib::signal<void(std::string)> makVrv::DtOsgEarthCache::signal_updateProgressText |
Signal to emit to update the current progess text to be displayed.
| boost::signalslib::signal<void(bool)> makVrv::DtOsgEarthCache::signal_cacheFinished |
Signal to emit when cache finished.
| DtDe& makVrv::DtOsgEarthCache::myDe |
|
protected |
| osgEarth::Bounds makVrv::DtOsgEarthCache::myBound |
|
protected |
| int makVrv::DtOsgEarthCache::myLowestLod |
|
protected |
| int makVrv::DtOsgEarthCache::myHighestLod |
|
protected |
| osgEarth::MapNode* makVrv::DtOsgEarthCache::myMapNode |
|
protected |
| bool makVrv::DtOsgEarthCache::myCanceled |
|
protected |
| bool makVrv::DtOsgEarthCache::myCacheImage |
|
protected |
| bool makVrv::DtOsgEarthCache::myCacheElevation |
|
protected |
The documentation for this class was generated from the following file:
- /data/exports/nrhent7-1/nightly/docs/vrForces.vrf5-2-branch/include/vrvOsgEarth/DtOsgEarthCache.h