VR-Forces 4.6 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Classes | Public Types | Public Member Functions | Public Attributes | Protected Member Functions
makVrf::DtVrfOsgEarthCacheDialog Class Reference

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...

Inheritance diagram for makVrf::DtVrfOsgEarthCacheDialog:
Inheritance graph
[legend]

Classes

struct  ServerProgressBar

Public Types

typedef std::map< std::string,
ServerProgressBar
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 (std::string server, std::string 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
virtual void onCacheStarted ()
 callback when the cache started.
virtual void onCacheFinished ()
 callback when the cache finished.
virtual void on_cancelButton_clicked ()
- 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 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

Additional Inherited Members

- Public Slots inherited from makVrv::DtOsgEarthCacheDialog
virtual void QtSlot_progressUpdate (int progress)
 Qslot of the signal emit by the WidetProgressCallback.
virtual void QtSlot_showCacheFinishedBox ()
 Qslot of the singal emit by DtOsgEarthCache, shows the cache finished QMessageBox.
virtual void QtSlot_cacheEnd ()
 Qslot of the signal emit by DtOsgEarthCache when cache end, may cancel or finished.
- Protected Slots inherited from makVrv::DtOsgEarthCacheDialog
virtual void on_lowestLODSpinBox_valueChanged (int)
virtual void on_highestLODSpinBox_valueChanged (int)
virtual void on_speficyCacheAreaCheckBox_valueChanged (int)
virtual void on_startLongitudeSlider_valueChanged (int)
virtual void on_startLongitudeSpinBox_valueChanged (double)
virtual void on_startLatitudeSlider_valueChanged (int)
virtual void on_startLatitudeSpinBox_valueChanged (double)
virtual void on_endLongitudeSlider_valueChanged (int)
virtual void on_endLongitudeSpinBox_valueChanged (double)
virtual void on_endLatitudeSlider_valueChanged (int)
virtual void on_endLatitudeSpinBox_valueChanged (double)
virtual void on_generateCacheButton_clicked ()
virtual void on_clearAreaButton_clicked ()
- Protected Attributes inherited from makVrv::DtOsgEarthCacheDialog
DtDemyDe
DtOsgEarthCacheLogicmyLogic
int myMaximumLOD
bool myDontShowWarningDialogAgain
QVBoxLayout * myMainLayout
QHBoxLayout * myLevelSettingsLayout
QLabelmyLowestLODLabel
QSpinBoxmyLowestLODSpinBox
QLabelmyHighestLODLabel
QSpinBoxmyHighestLODSpinBox
QHBoxLayout * myCacheLayout
QCheckBoxmySpecifyCacheAreaCheckBox
QPushButtonmyClearAreaButton
QPushButtonmyGenerateCacheButton
QWidget * myGeocentricWidget
QVBoxLayout * myGeocentricLayout
QHBoxLayout * myStartGeocentricLayout
QLabelmyStartLongitudeLaybol
QSlider * myStartLongitudeSlider
QDoubleSpinBox * myStartLongitudeSpinBox
QLabelmyStartLatitudeLaybol
QSlider * myStartLatitudeSlider
QDoubleSpinBox * myStartLatitudeSpinBox
QHBoxLayout * myEndGeocentricLayout
QLabelmyEndLongitudeLaybol
QSlider * myEndLongitudeSlider
QDoubleSpinBox * myEndLongitudeSpinBox
QLabelmyEndLatitudeLaybol
QSlider * myEndLatitudeSlider
QDoubleSpinBox * myEndLatitudeSpinBox
QHBoxLayout * myCacheHelpLayout
QLabelmyDescriptionText
QHBoxLayout * myCacheButtonLayout
QVBoxLayout * myProgressLayout
QLabelmyProgressLabel
QProgressBarmyProgressBar
QPushButtonmyCancelButton
QPushButtonmyCloseButton

Detailed Description

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)

Member Typedef Documentation

Constructor & Destructor Documentation

makVrf::DtVrfOsgEarthCacheDialog::DtVrfOsgEarthCacheDialog ( makVrv::DtDe de,
QWidget *  parent 
)

CTOR.

virtual makVrf::DtVrfOsgEarthCacheDialog::~DtVrfOsgEarthCacheDialog ( )
virtual

DTOR.

Member Function Documentation

virtual void makVrf::DtVrfOsgEarthCacheDialog::resetGui ( )
virtual

reset the gui

Reimplemented from makVrv::DtOsgEarthCacheDialog.

virtual void makVrf::DtVrfOsgEarthCacheDialog::resetServerProgressBars ( )
virtual
virtual void makVrf::DtVrfOsgEarthCacheDialog::setServerProgress ( std::string  server,
std::string  layer,
int  current,
double  elapsedTime 
)
virtual
virtual void makVrf::DtVrfOsgEarthCacheDialog::onProgressUpdate ( const std::string &  ,
int   
)
protectedvirtual

callback when update the progress

Parameters
currentLayerthe name of the current layer
progressthe progress bewtween 0-100

Reimplemented from makVrv::DtOsgEarthCacheDialog.

virtual void makVrf::DtVrfOsgEarthCacheDialog::onCacheStarted ( )
protectedvirtual

callback when the cache started.

Reimplemented from makVrv::DtOsgEarthCacheDialog.

virtual void makVrf::DtVrfOsgEarthCacheDialog::onCacheFinished ( )
protectedvirtual

callback when the cache finished.

Reimplemented from makVrv::DtOsgEarthCacheDialog.

virtual void makVrf::DtVrfOsgEarthCacheDialog::on_cancelButton_clicked ( )
protectedvirtual

Reimplemented from makVrv::DtOsgEarthCacheDialog.

Member Data Documentation

QWidget* makVrf::DtVrfOsgEarthCacheDialog::myServerProgressBarsWidget
QVBoxLayout* makVrf::DtVrfOsgEarthCacheDialog::myServerProgressBarsLayout
ServerProgressBars makVrf::DtVrfOsgEarthCacheDialog::myServerProgressBars

The documentation for this class was generated from the following file:

Document ID: Generated on Thu Apr 12 03:15:37 EDT 2018 from SVN revision 187986
Copyright © 2005-2018 VT MÄK. All Rights Reserved (www.mak.com)