![]() |
VR-Forces 4.6.1 Class Documentation
|
Override to send message to back-end with bounds information to cache on the back-ends. More...

Public Member Functions | |
| DtVrfOsgEarthCacheHandler (makVrv::DtDe &de, makVrv::DtOsgEarthCacheInterface *iFace) | |
| CTOR. | |
| virtual | ~DtVrfOsgEarthCacheHandler () |
| DTOR. | |
Public Member Functions inherited from makVrv::DtOsgEarthCacheHandler | |
| virtual | ~DtOsgEarthCacheHandler () |
| CTOR. | |
| virtual bool | isFinished () |
| whether cache is finished. | |
| virtual bool | isCanceled () |
| whether cache is canceled. | |
| virtual void | initialize () |
| initializ,create the event processor etc | |
| virtual void | setMapNode (osgEarth::MapNode *mapNode) |
| Set the MapNode that forms the root of an osgEarth map. | |
| virtual void | setLowestLOD (int lowestLevel) |
| Sets the lowest LOD to cache,only applies for image and elevation layers. | |
| virtual void | setHighestLOD (int highestLevel) |
| Sets the maximum LOD to cache,only applies for image and elevation layers. | |
| virtual void | setBound (const osgEarth::Bounds &bound) |
| Sets the Bound of the selected area. | |
| virtual std::string | getEstimateInfo () |
| Gets the estimation info string of cache. | |
| virtual void | cleanup (bool checkSpecifyCacheCheckBox, bool deleteAll=false) |
| Clean up. | |
| virtual osgEarth::Bounds | getCorrectBound () |
| Gets the correct bound,the bound need correct min/max vertex. | |
| virtual osg::Matrix | getWorldToWindowMatirx () |
| get the world to window matrix | |
| DtOsgEarthCacheEditingEventProcessor * | getEventProcessor () |
| get the event processor | |
| DtOsgEarthCacheInterface * | getOsgEarthCacheInterface () |
| get the DtOsgEarthCache interface | |
| virtual void | onSelectOsgEarthChanged (const std::string &file) |
| virtual void | onSpecifyCacheAreaCheckBoxChanged (int checked) |
| virtual void | onProgressUpdate (int progress) |
| virtual void | onCleanup () |
| virtual void | onClearAreaButtonClicked () |
| virtual void | onStartLongitudeChanged (double value, bool isFromSlider) |
| virtual void | onStartLatitudeChanged (double value, bool isFromSlider) |
| virtual void | onEndLongitudeChanged (double value, bool isFromSlider) |
| virtual void | onEndLatitudeChanged (double value, bool isFromSlider) |
| virtual void | onLowestLODChanged (int lowLOD) |
| virtual void | onHighestLODChanged (int highLOD) |
| virtual void | onCacheFinishedMessageBoxResult (int result) |
Protected Types | |
| typedef std::map< std::string, int > | ActiveServers |
Protected Member Functions | |
| virtual void | onGenerateCacheButtonClicked () |
| Before displaying, also request information from the back-ends to get the cache info there. | |
| virtual void | onEstimateMessageBoxResult (int result) |
| Called when the user selects the result of the estimate dialog. Also send messages to back-end. | |
| virtual void | onCancelButtonClicked () |
| Called when cancelling operation – send message to back-ends to also cancel. | |
| virtual void | fillInCacheRequest (DtIfOsgEarthCacheRequest &req) |
| virtual void | processOsgEarthCacheInformation (DtSimMessage *msg) |
| virtual void | processOsgEarthCacheProgress (DtSimMessage *msg) |
| virtual std::string | getOsgEarthEstimateInfo (const DtIfOsgEarthCacheInformation &) |
| virtual void | onCacheFinished () |
| virtual void | run () |
| Reimplement run() function to use the QThread,all code executed in this function will be in a worker thread. | |
Protected Member Functions inherited from makVrv::DtOsgEarthCacheHandler | |
| DtOsgEarthCacheHandler (DtDe &de, DtOsgEarthCacheInterface *iFace) | |
| Protected Constructor. | |
| virtual void | initializeChannel () |
| initialize the channel and render | |
| virtual void | slot_postTick () |
| update the rectangle if it is dirty | |
| virtual void | slot_place (const DtVector &geocentricPos) |
| slot when the user place the vertex, emit by the signal in the event processor | |
| virtual void | slot_locationChanged (const DtVector &geocentricPos) |
| slot when the user move the mouse, emit by the signal in the event processor | |
| virtual void | slot_drag () |
| slot when the user drag the vertex of the rectangle, emit by the signal in the event processor | |
| virtual void | slot_windowToBeDestroyed (DtWindow *window) |
| slot when the window got destroyed | |
| virtual void | slot_channelToBeDestroyed (const std::string &display, const std::string &window, const std::string &channel) |
| slot when the channel got destroyed | |
| virtual void | slot_updateProgress (int progress) |
| slot when update the cache progress | |
| virtual void | slot_cacheFinished () |
| slot when cache finished | |
| virtual void | connectSignals () |
| connect all the signals | |
| virtual void | disconnectSignals () |
| disconnect all the signals | |
| virtual std::string | formatEstimateTimeandSpace (double estimateTime, double estimateSize) |
| Formats the estimate time and space. | |
Protected Attributes | |
| int | myRequestId |
| std::set< std::string > | myWaitingForInformation |
| DtIfOsgEarthCacheInformation | myCacheInformation |
| bool | myFrontEndFinished |
| bool | myBackEndFinished |
| ActiveServers | myActiveServers |
Protected Attributes inherited from makVrv::DtOsgEarthCacheHandler | |
| DtDe & | myDe |
| DtCameraNode * | myCameraNode |
| need keep this to cast the geocentric coordinate back to screen space | |
| DtOsgEarthCacheInterface * | myInterface |
| DtSignalConnectionManager | mySignals |
| DtOsgEarthCache * | myOsgEarthCache |
| DtChannel * | myChannel |
| the channel we drag area on | |
| CacheArea | myCacheArea |
| osgEarth::MapNode * | myMapNode |
| DtOsgEarthCacheEditingEventProcessor * | myEventProcessor |
| bool | mySpecifyArea |
| if you dont select an area, the whole terrain is cached | |
| bool | myChannelInitialized |
| int | myLowestLOD |
| int | myHighestLOD |
| double | myEstimateTime |
| double | myEstimateSize |
Additional Inherited Members | |
Signals inherited from makVrv::DtOsgEarthCacheHandler | |
| void | QtSignal_updateProgress (int progress) |
| Qt signal to emit the cache progress. | |
| void | QtSignal_cacheFinished () |
| Qt signal to emit when the cache finished. | |
Override to send message to back-end with bounds information to cache on the back-ends.
|
protected |
| makVrf::DtVrfOsgEarthCacheHandler::DtVrfOsgEarthCacheHandler | ( | makVrv::DtDe & | de, |
| makVrv::DtOsgEarthCacheInterface * | iFace | ||
| ) |
CTOR.
|
virtual |
DTOR.
|
protectedvirtual |
Before displaying, also request information from the back-ends to get the cache info there.
Reimplemented from makVrv::DtOsgEarthCacheHandler.
|
protectedvirtual |
Called when the user selects the result of the estimate dialog. Also send messages to back-end.
Reimplemented from makVrv::DtOsgEarthCacheHandler.
|
protectedvirtual |
Called when cancelling operation – send message to back-ends to also cancel.
Reimplemented from makVrv::DtOsgEarthCacheHandler.
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
Reimplemented from makVrv::DtOsgEarthCacheHandler.
|
protectedvirtual |
Reimplement run() function to use the QThread,all code executed in this function will be in a worker thread.
Reimplemented from makVrv::DtOsgEarthCacheHandler.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |