VR-Forces 4.7 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Slots | Public Member Functions | Protected Member Functions | Protected Attributes | Private Member Functions | Friends
makVrv::DtOsgEarthCacheDialog Class Reference

DtOsgEarthCacheDialog. More...

Inheritance diagram for makVrv::DtOsgEarthCacheDialog:
Inheritance graph
[legend]

Public Slots

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.

Public Member Functions

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.

Protected Slots

User input slots (protected).

Receives notification that the user has changed a widget's value.

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 ()
virtual void on_cancelButton_clicked ()

Protected Member Functions

 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 resetGui ()
 reset the gui
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 onProgressUpdate (const std::string &, int)
 callback when update the progress
virtual void setMaxmiumLOD (int maximumLOD)
 set the maxmiumLOD for generating cache,only apply for image and elevation layers
virtual void exit ()
 close the dialog

Protected Attributes

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

Private Member Functions

 DtOsgEarthCacheDialog (const DtOsgEarthCacheDialog &)
 Copy Constructor not implimented – Copy not allowed.
DtOsgEarthCacheDialogoperator= (const DtOsgEarthCacheDialog &)
 Assignment Operator not implimented – Copy not allowed.

Friends

class DtOsgEarthCacheDialogCreator

Additional Inherited Members

- Public Attributes inherited from makVrv::DtOsgEarthCacheInterface
boost::signal< void(std::string)> signal_selectOsgEarthChanged
 boost signals
boost::signal< void(int)> signal_lowestLODChanged
boost::signal< void(int)> signal_highestLODChanged
boost::signal< void(int)> signal_specifyCacheAreaCheckBoxChanged
boost::signal< void(double, bool)> signal_startLongitudeChanged
boost::signal< void(double, bool)> signal_startLatitudeChanged
boost::signal< void(double, bool)> signal_endLongitudeChanged
boost::signal< void(double, bool)> signal_endLatitudeChanged
boost::signal< void()> signal_generateCacheButtonClicked
boost::signal< void()> signal_clearAreaButtonClicked
boost::signal< void(int)> signal_estimateMessageBoxResult
boost::signal< void(int)> signal_cacheFinishedMessageBoxResult
boost::signal< void()> signal_cancelButtonClicked
boost::signal< void()> signal_cleanup
boost::signal< void()> signal_cacheFinished
boost::signal< void(int)> signal_progressUpdate

Detailed Description

DtOsgEarthCacheDialog.

See Also
QDialog,DtOsgEarthCacheInterface

Constructor & Destructor Documentation

virtual makVrv::DtOsgEarthCacheDialog::~DtOsgEarthCacheDialog ( )
virtual

DTOR.

makVrv::DtOsgEarthCacheDialog::DtOsgEarthCacheDialog ( const DtOsgEarthCacheDialog )
private

Copy Constructor not implimented – Copy not allowed.

makVrv::DtOsgEarthCacheDialog::DtOsgEarthCacheDialog ( DtDe de,
QWidget *  parent 
)
protected

Protected Constructor.

Use DtOsgEarthCacheDialogCreator to create instances of this class

Member Function Documentation

virtual void makVrv::DtOsgEarthCacheDialog::showEstimateMessageBox ( const std::string &  message)
virtual

Shows the estimation message box.

param message The message to show in the QMessageBox

Implements makVrv::DtOsgEarthCacheInterface.

virtual void makVrv::DtOsgEarthCacheDialog::showCacheFinishedMessageBox ( const std::string &  message)
virtual

Shows the cache finished message box.

Parameters
messageThe message to show in the QMessageBox

Implements makVrv::DtOsgEarthCacheInterface.

virtual void makVrv::DtOsgEarthCacheDialog::osgEarthFileSelectChanged ( std::string  definition)
virtual

callback when use select a different osg Earth file

Parameters
definitionThe name of the osgEarth file

Implements makVrv::DtOsgEarthCacheInterface.

virtual bool makVrv::DtOsgEarthCacheDialog::warningUserIfSpecifyAreaUnChecked ( )
virtual

if the user didn't check speficy area,give the warning.

return true if the user still want cache it anyway

Implements makVrv::DtOsgEarthCacheInterface.

virtual void makVrv::DtOsgEarthCacheDialog::QtSlot_progressUpdate ( int  progress)
virtualslot

Qslot of the signal emit by the WidetProgressCallback.

Parameters
progressThe progress(between 0-100)
virtual void makVrv::DtOsgEarthCacheDialog::QtSlot_showCacheFinishedBox ( )
virtualslot

Qslot of the singal emit by DtOsgEarthCache, shows the cache finished QMessageBox.

virtual void makVrv::DtOsgEarthCacheDialog::QtSlot_cacheEnd ( )
virtualslot

Qslot of the signal emit by DtOsgEarthCache when cache end, may cancel or finished.

DtOsgEarthCacheDialog& makVrv::DtOsgEarthCacheDialog::operator= ( const DtOsgEarthCacheDialog )
private

Assignment Operator not implimented – Copy not allowed.

void makVrv::DtOsgEarthCacheDialog::setupGui ( )
protected

setup the gui, will be called in the CTOR

virtual void makVrv::DtOsgEarthCacheDialog::onStartLongitudeChanged ( double  )
protectedvirtual

see DtOsgEarthCacheInterfacecallback when the start longitude changed.

Implements makVrv::DtOsgEarthCacheInterface.

virtual void makVrv::DtOsgEarthCacheDialog::onStartLatitudeChanged ( double  )
protectedvirtual

callback when the start latitude changed.

Implements makVrv::DtOsgEarthCacheInterface.

virtual void makVrv::DtOsgEarthCacheDialog::onEndLongitudeChanged ( double  )
protectedvirtual

callback when the end longitude changed.

Implements makVrv::DtOsgEarthCacheInterface.

virtual void makVrv::DtOsgEarthCacheDialog::onEndLatitudeChanged ( double  )
protectedvirtual

callback when the end latitude changed.

Implements makVrv::DtOsgEarthCacheInterface.

virtual void makVrv::DtOsgEarthCacheDialog::onCacheStarted ( )
protectedvirtual

callback when the cache started.

Implements makVrv::DtOsgEarthCacheInterface.

Reimplemented in makVrf::DtVrfOsgEarthCacheDialog.

virtual void makVrv::DtOsgEarthCacheDialog::onCacheFinished ( )
protectedvirtual

callback when the cache finished.

Implements makVrv::DtOsgEarthCacheInterface.

Reimplemented in makVrf::DtVrfOsgEarthCacheDialog.

virtual void makVrv::DtOsgEarthCacheDialog::onLonLatReset ( bool  checkSpecifyCacheCheckBox)
protectedvirtual

callback when the lon/lat reset.

Parameters
checkSpecifyCacheCheckBoxwhether you want check SpeficyCacheCheckBox

Implements makVrv::DtOsgEarthCacheInterface.

virtual void makVrv::DtOsgEarthCacheDialog::onCoordinateSystemDecimalChanged ( int  )
protectedvirtual

callback when the coordinate system decimal changed

Parameters
digitsthe digits of the decimal

Implements makVrv::DtOsgEarthCacheInterface.

virtual void makVrv::DtOsgEarthCacheDialog::onProgressUpdate ( const std::string &  ,
int   
)
protectedvirtual

callback when update the progress

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

Implements makVrv::DtOsgEarthCacheInterface.

Reimplemented in makVrf::DtVrfOsgEarthCacheDialog.

virtual void makVrv::DtOsgEarthCacheDialog::setMaxmiumLOD ( int  maximumLOD)
protectedvirtual

set the maxmiumLOD for generating cache,only apply for image and elevation layers

Implements makVrv::DtOsgEarthCacheInterface.

virtual void makVrv::DtOsgEarthCacheDialog::exit ( )
protectedvirtual

close the dialog

Implements makVrv::DtOsgEarthCacheInterface.

virtual void makVrv::DtOsgEarthCacheDialog::closeEvent ( QCloseEvent *  e)
protectedvirtual

override the closeEvent of QDialog

virtual void makVrv::DtOsgEarthCacheDialog::showEvent ( QShowEvent *  e)
protectedvirtual

override the showEvent of QDialog,will create the logic here

virtual void makVrv::DtOsgEarthCacheDialog::resetGui ( )
protectedvirtual

reset the gui

Reimplemented in makVrf::DtVrfOsgEarthCacheDialog.

virtual void makVrv::DtOsgEarthCacheDialog::on_lowestLODSpinBox_valueChanged ( int  )
protectedvirtualslot
virtual void makVrv::DtOsgEarthCacheDialog::on_highestLODSpinBox_valueChanged ( int  )
protectedvirtualslot
virtual void makVrv::DtOsgEarthCacheDialog::on_speficyCacheAreaCheckBox_valueChanged ( int  )
protectedvirtualslot
virtual void makVrv::DtOsgEarthCacheDialog::on_startLongitudeSlider_valueChanged ( int  )
protectedvirtualslot
virtual void makVrv::DtOsgEarthCacheDialog::on_startLongitudeSpinBox_valueChanged ( double  )
protectedvirtualslot
virtual void makVrv::DtOsgEarthCacheDialog::on_startLatitudeSlider_valueChanged ( int  )
protectedvirtualslot
virtual void makVrv::DtOsgEarthCacheDialog::on_startLatitudeSpinBox_valueChanged ( double  )
protectedvirtualslot
virtual void makVrv::DtOsgEarthCacheDialog::on_endLongitudeSlider_valueChanged ( int  )
protectedvirtualslot
virtual void makVrv::DtOsgEarthCacheDialog::on_endLongitudeSpinBox_valueChanged ( double  )
protectedvirtualslot
virtual void makVrv::DtOsgEarthCacheDialog::on_endLatitudeSlider_valueChanged ( int  )
protectedvirtualslot
virtual void makVrv::DtOsgEarthCacheDialog::on_endLatitudeSpinBox_valueChanged ( double  )
protectedvirtualslot
virtual void makVrv::DtOsgEarthCacheDialog::on_generateCacheButton_clicked ( )
protectedvirtualslot
virtual void makVrv::DtOsgEarthCacheDialog::on_clearAreaButton_clicked ( )
protectedvirtualslot
virtual void makVrv::DtOsgEarthCacheDialog::on_cancelButton_clicked ( )
protectedvirtualslot

Friends And Related Function Documentation

friend class DtOsgEarthCacheDialogCreator
friend

Member Data Documentation

DtDe& makVrv::DtOsgEarthCacheDialog::myDe
protected
DtOsgEarthCacheLogic* makVrv::DtOsgEarthCacheDialog::myLogic
protected
int makVrv::DtOsgEarthCacheDialog::myMaximumLOD
protected
bool makVrv::DtOsgEarthCacheDialog::myDontShowWarningDialogAgain
protected
QVBoxLayout* makVrv::DtOsgEarthCacheDialog::myMainLayout
protected
QHBoxLayout* makVrv::DtOsgEarthCacheDialog::myLevelSettingsLayout
protected
QLabel* makVrv::DtOsgEarthCacheDialog::myLowestLODLabel
protected
QSpinBox* makVrv::DtOsgEarthCacheDialog::myLowestLODSpinBox
protected
QLabel* makVrv::DtOsgEarthCacheDialog::myHighestLODLabel
protected
QSpinBox* makVrv::DtOsgEarthCacheDialog::myHighestLODSpinBox
protected
QHBoxLayout* makVrv::DtOsgEarthCacheDialog::myCacheLayout
protected
QCheckBox* makVrv::DtOsgEarthCacheDialog::mySpecifyCacheAreaCheckBox
protected
QPushButton* makVrv::DtOsgEarthCacheDialog::myClearAreaButton
protected
QPushButton* makVrv::DtOsgEarthCacheDialog::myGenerateCacheButton
protected
QWidget* makVrv::DtOsgEarthCacheDialog::myGeocentricWidget
protected
QVBoxLayout* makVrv::DtOsgEarthCacheDialog::myGeocentricLayout
protected
QHBoxLayout* makVrv::DtOsgEarthCacheDialog::myStartGeocentricLayout
protected
QLabel* makVrv::DtOsgEarthCacheDialog::myStartLongitudeLaybol
protected
QSlider* makVrv::DtOsgEarthCacheDialog::myStartLongitudeSlider
protected
QDoubleSpinBox* makVrv::DtOsgEarthCacheDialog::myStartLongitudeSpinBox
protected
QLabel* makVrv::DtOsgEarthCacheDialog::myStartLatitudeLaybol
protected
QSlider* makVrv::DtOsgEarthCacheDialog::myStartLatitudeSlider
protected
QDoubleSpinBox* makVrv::DtOsgEarthCacheDialog::myStartLatitudeSpinBox
protected
QHBoxLayout* makVrv::DtOsgEarthCacheDialog::myEndGeocentricLayout
protected
QLabel* makVrv::DtOsgEarthCacheDialog::myEndLongitudeLaybol
protected
QSlider* makVrv::DtOsgEarthCacheDialog::myEndLongitudeSlider
protected
QDoubleSpinBox* makVrv::DtOsgEarthCacheDialog::myEndLongitudeSpinBox
protected
QLabel* makVrv::DtOsgEarthCacheDialog::myEndLatitudeLaybol
protected
QSlider* makVrv::DtOsgEarthCacheDialog::myEndLatitudeSlider
protected
QDoubleSpinBox* makVrv::DtOsgEarthCacheDialog::myEndLatitudeSpinBox
protected
QHBoxLayout* makVrv::DtOsgEarthCacheDialog::myCacheHelpLayout
protected
QLabel* makVrv::DtOsgEarthCacheDialog::myDescriptionText
protected
QHBoxLayout* makVrv::DtOsgEarthCacheDialog::myCacheButtonLayout
protected
QVBoxLayout* makVrv::DtOsgEarthCacheDialog::myProgressLayout
protected
QLabel* makVrv::DtOsgEarthCacheDialog::myProgressLabel
protected
QProgressBar* makVrv::DtOsgEarthCacheDialog::myProgressBar
protected
QPushButton* makVrv::DtOsgEarthCacheDialog::myCancelButton
protected
QPushButton* makVrv::DtOsgEarthCacheDialog::myCloseButton
protected

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

Document ID: Generated on Fri Apr 26 21:53:14 EDT 2019 from SVN revision 197883
Copyright © 2005-2019 VT MAK. All Rights Reserved (www.mak.com)