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.
| Enumerator |
|---|
| API_CACHE |
|
| FLY_VIEWPOINT_CACHE |
|
| virtual makVrv::DtOsgEarthCache::~DtOsgEarthCache |
( |
| ) |
|
|
virtual |
| makVrv::DtOsgEarthCache::DtOsgEarthCache |
( |
| ) |
|
|
private |
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::setCacheMethod |
( |
Method |
method | ) |
|
|
virtual |
Sets the cache method to generate the cache.
| virtual Method makVrv::DtOsgEarthCache::cacheMethod |
( |
| ) |
const |
|
virtual |
Gets the cache method to generate the 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::initializeChannel |
( |
DtChannel * |
channel | ) |
|
|
virtual |
Sets the observer object we used to fly the eyepoint, it's the observer of the channel's master scene camera by default. Sets the databasePager that handles the paging of the tiles. It's used to determine if we have finish paged everything in this tile before we move to next tile. This is only used in FLY_VIEWPOINT_CACHE method.
| 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::viewPointCache |
( |
| ) |
|
|
virtual |
Cache the terrain by moving the view point.
| 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(int)> 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()> makVrv::DtOsgEarthCache::signal_cacheFinished |
Signal to emit when cache finished.
| DtDe& makVrv::DtOsgEarthCache::myDe |
|
protected |
| Method makVrv::DtOsgEarthCache::myCacheMethod |
|
protected |
| osgEarth::Bounds makVrv::DtOsgEarthCache::myBound |
|
protected |
| int makVrv::DtOsgEarthCache::myLowestLod |
|
protected |
| int makVrv::DtOsgEarthCache::myHighestLod |
|
protected |
| osgEarth::MapNode* makVrv::DtOsgEarthCache::myMapNode |
|
protected |
| osg::ref_ptr<osgEarth::Util::TileVisitor> makVrv::DtOsgEarthCache::myTileVisitor |
|
protected |
| osgEarth::Contrib::CacheSeed* makVrv::DtOsgEarthCache::myCacheSeed |
|
protected |
| bool makVrv::DtOsgEarthCache::myCanceled |
|
protected |
| std::string makVrv::DtOsgEarthCache::myCurrentProcessingTile |
|
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-1-branch/include/vrvOsgEarth/DtOsgEarthCache.h