![]() |
VR-Forces 4.5 Class Documentation
|
This dialog will extend the base DtOsgEarthCacheDialog to deal with sending information to the servers to also cache data as well as handle returns for current server progress (from all servers on the network) More...

Classes | |
| struct | ServerProgressBar |
Public Types | |
| typedef std::map< int, ServerProgressBar > | MapNodeServerProgress |
| typedef std::map< std::string, MapNodeServerProgress > | ServerProgressBars |
Public Member Functions | |
| DtVrfOsgEarthCacheDialog (makVrv::DtDe &de, QWidget *parent) | |
| CTOR. | |
| virtual | ~DtVrfOsgEarthCacheDialog () |
| DTOR. | |
| virtual void | resetGui () |
| reset the gui | |
| virtual void | resetServerProgressBars () |
| virtual void | setServerProgress (const std::string &server, int mapNodeId, const DtString &layer, int current, double elapsedTime) |
Public Member Functions inherited from makVrv::DtOsgEarthCacheDialog | |
| virtual | ~DtOsgEarthCacheDialog () |
| DTOR. | |
| virtual void | showEstimateMessageBox (const std::string &message) |
| Shows the estimation message box. | |
| virtual void | showCacheFinishedMessageBox (const std::string &message) |
| Shows the cache finished message box. | |
| virtual void | osgEarthFileSelectChanged (std::string definition) |
| callback when use select a different osg Earth file | |
| virtual bool | warningUserIfSpecifyAreaUnChecked () |
| if the user didn't check speficy area,give the warning. | |
Public Attributes | |
| QWidget * | myServerProgressBarsWidget |
| QVBoxLayout * | myServerProgressBarsLayout |
| ServerProgressBars | myServerProgressBars |
Protected Member Functions | |
| virtual void | onProgressUpdate (const std::string &s, int progress) |
| callback when update the progress | |
Protected Member Functions inherited from makVrv::DtOsgEarthCacheDialog | |
| DtOsgEarthCacheDialog (DtDe &de, QWidget *parent) | |
| Protected Constructor. | |
| void | setupGui () |
| setup the gui, will be called in the CTOR | |
| virtual void | closeEvent (QCloseEvent *e) |
| override the closeEvent of QDialog | |
| virtual void | showEvent (QShowEvent *e) |
| override the showEvent of QDialog,will create the logic here | |
| virtual void | onStartLongitudeChanged (double) |
| see DtOsgEarthCacheInterfacecallback when the start longitude changed. | |
| virtual void | onStartLatitudeChanged (double) |
| callback when the start latitude changed. | |
| virtual void | onEndLongitudeChanged (double) |
| callback when the end longitude changed. | |
| virtual void | onEndLatitudeChanged (double) |
| callback when the end latitude changed. | |
| virtual void | onCacheStarted () |
| callback when the cache started. | |
| virtual void | onCacheFinished () |
| callback when the cache finished. | |
| virtual void | onLonLatReset (bool checkSpecifyCacheCheckBox) |
| callback when the lon/lat reset. | |
| virtual void | onCoordinateSystemDecimalChanged (int) |
| callback when the coordinate system decimal changed | |
| virtual void | setMaxmiumLOD (int maximumLOD) |
| set the maxmiumLOD for generating cache,only apply for image and elevation layers | |
| virtual void | exit () |
| close the dialog | |
This dialog will extend the base DtOsgEarthCacheDialog to deal with sending information to the servers to also cache data as well as handle returns for current server progress (from all servers on the network)
| typedef std::map<int, ServerProgressBar> makVrf::DtVrfOsgEarthCacheDialog::MapNodeServerProgress |
| typedef std::map<std::string, MapNodeServerProgress> makVrf::DtVrfOsgEarthCacheDialog::ServerProgressBars |
| makVrf::DtVrfOsgEarthCacheDialog::DtVrfOsgEarthCacheDialog | ( | makVrv::DtDe & | de, |
| QWidget * | parent | ||
| ) |
CTOR.
|
virtual |
DTOR.
|
virtual |
reset the gui
Reimplemented from makVrv::DtOsgEarthCacheDialog.
|
virtual |
|
virtual |
|
protectedvirtual |
callback when update the progress
| currentLayer | the name of the current layer |
| progress | the progress bewtween 0-100 |
Reimplemented from makVrv::DtOsgEarthCacheDialog.
| QWidget* makVrf::DtVrfOsgEarthCacheDialog::myServerProgressBarsWidget |
| QVBoxLayout* makVrf::DtVrfOsgEarthCacheDialog::myServerProgressBarsLayout |
| ServerProgressBars makVrf::DtVrfOsgEarthCacheDialog::myServerProgressBars |