DtOsgEarthCacheProgressCallback,add support for model layer.
More...
Detailed Description
Constructor & Destructor Documentation
| makVrv::DtOsgEarthCacheProgressCallback::DtOsgEarthCacheProgressCallback |
( |
DtOsgEarthCache * |
osgEarthCache | ) |
|
| virtual makVrv::DtOsgEarthCacheProgressCallback::~DtOsgEarthCacheProgressCallback |
( |
| ) |
|
|
virtual |
Member Function Documentation
| DtUnicode makVrv::DtOsgEarthCacheProgressCallback::currentProcessingLayerName |
( |
| ) |
|
Gets the name of the current processing layer.
| void makVrv::DtOsgEarthCacheProgressCallback::setCurrentLayName |
( |
const DtUnicode & |
name | ) |
|
Sets the name of the current processing layer.
| void makVrv::DtOsgEarthCacheProgressCallback::startCacheModelLayer |
( |
int |
tiles, |
|
|
const DtUnicode & |
name |
|
) |
| |
call this fucntion before starting caching the model layer
- Parameters
-
| tiles | the total number of tiles in model layer |
| name | the name of the model layer |
| void makVrv::DtOsgEarthCacheProgressCallback::reset |
( |
| ) |
|
| void makVrv::DtOsgEarthCacheProgressCallback::increaseModelLayerProgress |
( |
| ) |
|
Increases the progress by 1, only work internally for cache model layer.
| virtual bool makVrv::DtOsgEarthCacheProgressCallback::reportProgress |
( |
double |
current, |
|
|
double |
total, |
|
|
unsigned |
currentStage, |
|
|
unsigned |
totalStages, |
|
|
const std::string & |
msg |
|
) |
| |
|
virtual |
Reports the progress.
- Parameters
-
| current | The current progress |
| total | The total amount of work |
| currentStage | The current stage |
| totalStages | The total stages |
| msg | The message send to the progressCallback if necessary |
- Returns
- bool if true, the cache will be cancled internally
Member Data Documentation
| DtUnicode makVrv::DtOsgEarthCacheProgressCallback::myCurrentProcessingLayerName |
| int makVrv::DtOsgEarthCacheProgressCallback::myCurrentProgress |
| bool makVrv::DtOsgEarthCacheProgressCallback::myUpdateModelLayer |
| int makVrv::DtOsgEarthCacheProgressCallback::myModelLayerTotalTiles |
| OpenThreads::Mutex makVrv::DtOsgEarthCacheProgressCallback::myProgressMutex |
The documentation for this class was generated from the following file:
- /exports/nfedora7-1/nightly/docs/vrforcesDevelopment.tot/include/vrvOsgEarth/DtOsgEarthCache.h