VR-Forces 5.0.2 Developer's Guide
 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

DtOsgEarthCacheDialog Widget for generating cache data of image/elevation/model.

See Also
QDialog,DtOsgEarthCacheInterface
Inheritance diagram for makVrv::DtOsgEarthCacheDialog:
Inheritance graph
[legend]

Public Slots

virtual void qt_slot_updateProgress (int progress)
 
virtual void qt_slot_cacheFinished ()
 

Public Member Functions

virtual ~DtOsgEarthCacheDialog ()
 
virtual void show ()
 
virtual void deactivate ()
 
virtual void setOsgEarthTerrainDefinition (const std::string &osgEarthTerrainDefinition)
 
virtual void setStartLongitude (double)
 
virtual void setStartLatitude (double)
 
virtual void setEndLongitude (double)
 
virtual void setEndLatitude (double)
 
virtual void setCoordinateSystemDecimal (int digits)
 
virtual void setMaxmiumLod (int maximumLod)
 
virtual void showCacheFinishedMessageBox ()
 
virtual bool showAreaUnspecifiedMessageBox (bool &dontShowAgain)
 
virtual void setProgressText (const std::string &s)
 
virtual void setProgress (int progress)
 
virtual void resetCacheAreaWidgets ()
 
virtual void exit ()
 
virtual void enableCacheConfigurationWidget (bool enable)
 
virtual void enableCacheProgressWidget (bool enable)
 
virtual void enableCacheAreaWidget (bool enable)
 

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_cacheImageCheckBox_stateChanged (int)
 
virtual void on_cacheElevationCheckBox_stateChanged (int)
 
virtual void on_specifyCacheAreaCheckBox_stateChanged (int)
 
virtual void on_flyOverCheckBox_stateChanged (int)
 
virtual void on_startLongitudeSpinBox_valueChanged (double)
 
virtual void on_startLatitudeSpinBox_valueChanged (double)
 
virtual void on_endLongitudeSpinBox_valueChanged (double)
 
virtual void on_endLatitudeSpinBox_valueChanged (double)
 
virtual void on_generateCacheButton_clicked ()
 
virtual void on_clearAreaButtonClicked ()
 
virtual void on_cancelButton_clicked ()
 

Protected Member Functions

 DtOsgEarthCacheDialog (DtDe &de, QWidget *parent)
 
void setupGui ()
 
void connectSignals ()
 
virtual void closeEvent (QCloseEvent *e)
 

Protected Attributes

DtDemyDe
 
DtOsgEarthCacheLogicmyLogic
 
QVBoxLayout * myMainLayout
 
QLabelmyDescriptionText
 
QHBoxLayout * myCacheOptionsLayout
 
QCheckBoxmySpecifyCacheAreaCheckBox
 
QCheckBoxmyFlyOverCheckBox
 
QPushButtonmyClearAreaButton
 
QWidget * myCacheAreaWidget
 
QHBoxLayout * myCacheAreaLayout
 
QLabelmyStartLongitudeLaybol
 
QDoubleSpinBoxmyStartLongitudeSpinBox
 
QLabelmyStartLatitudeLaybol
 
QDoubleSpinBoxmyStartLatitudeSpinBox
 
QLabelmyEndLongitudeLaybol
 
QDoubleSpinBoxmyEndLongitudeSpinBox
 
QLabelmyEndLatitudeLaybol
 
QDoubleSpinBoxmyEndLatitudeSpinBox
 
QHBoxLayout * myCacheLodLayout
 
QLabelmyLowestLodLabel
 
QSpinBoxmyLowestLodSpinBox
 
QLabelmyHighestLodLabel
 
QSpinBoxmyHighestLodSpinBox
 
QCheckBoxmyCacheImageCheckBox
 
QCheckBoxmyCacheElevationCheckBox
 
QHBoxLayout * myCacheButtonLayout
 
QPushButtonmyGenerateCacheButton
 
QPushButtonmyCancelCacheButton
 
QVBoxLayout * myProgressLayout
 
QLabelmyProgressLabel
 
QProgressBarmyProgressBar
 
QPushButtonmyCloseButton
 

Private Member Functions

 DtOsgEarthCacheDialog (const DtOsgEarthCacheDialog &)
 
DtOsgEarthCacheDialogoperator= (const DtOsgEarthCacheDialog &)
 

Friends

class DtOsgEarthCacheDialogCreator
 

Additional Inherited Members

- Public Attributes inherited from makVrv::DtOsgEarthCacheInterface
boost::signalslib::signal
< void(const std::string &)> 
signal_osgEarthTerrainDefinitionChanged
 
boost::signalslib::signal
< void(int)> 
signal_lowestLodChanged
 
boost::signalslib::signal
< void(bool)> 
signal_cacheImageChanged
 
boost::signalslib::signal
< void(bool)> 
signal_cacheElevationChanged
 
boost::signalslib::signal
< void(int)> 
signal_highestLodChanged
 
boost::signalslib::signal
< void(bool)> 
signal_flyOverCheckBoxChanged
 
boost::signalslib::signal
< void(bool)> 
signal_specifyCacheAreaCheckBoxChanged
 
boost::signalslib::signal
< void(double)> 
signal_startLongitudeChanged
 
boost::signalslib::signal
< void(double)> 
signal_startLatitudeChanged
 
boost::signalslib::signal
< void(double)> 
signal_endLongitudeChanged
 
boost::signalslib::signal
< void(double)> 
signal_endLatitudeChanged
 
boost::signalslib::signal< void()> signal_generateCacheButtonClicked
 
boost::signalslib::signal< void()> signal_clearAreaButtonClicked
 
boost::signalslib::signal< void()> signal_cancelButtonClicked
 
boost::signalslib::signal< void()> signal_cacheFinished
 

Constructor & Destructor Documentation

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

DTOR.

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

Copy Constructor not implemented – Copy not allowed.

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

Protected Constructor. Use DtOsgEarthCacheDialogCreator to create instances of this class.

Parameters
deThe DtDe
parentthe parent of this widget

Member Function Documentation

virtual void makVrv::DtOsgEarthCacheDialog::setOsgEarthTerrainDefinition ( const std::string &  osgEarthTerrainDefinition)
virtual

Sets the osgEarth terrain definition used for the cache.

Implements makVrv::DtOsgEarthCacheInterface.

virtual void makVrv::DtOsgEarthCacheDialog::setStartLongitude ( double  )
virtual

Sets the start longitude of the cache area in the gui.

Implements makVrv::DtOsgEarthCacheInterface.

virtual void makVrv::DtOsgEarthCacheDialog::setStartLatitude ( double  )
virtual

Sets the start latitude of the cache area in the gui.

Implements makVrv::DtOsgEarthCacheInterface.

virtual void makVrv::DtOsgEarthCacheDialog::setEndLongitude ( double  )
virtual

Sets the end longitude of the cache area in the gui.

Implements makVrv::DtOsgEarthCacheInterface.

virtual void makVrv::DtOsgEarthCacheDialog::setEndLatitude ( double  )
virtual

Sets the end latitude of the cache area in the gui.

Implements makVrv::DtOsgEarthCacheInterface.

virtual void makVrv::DtOsgEarthCacheDialog::setCoordinateSystemDecimal ( int  digits)
virtual

Sets the coordinate system decimal.

Parameters
digitsthe digits of the decimal.

Implements makVrv::DtOsgEarthCacheInterface.

virtual void makVrv::DtOsgEarthCacheDialog::setMaxmiumLod ( int  maximumLod)
virtual

Sets the maxmiumLod for generating cache.

Implements makVrv::DtOsgEarthCacheInterface.

virtual void makVrv::DtOsgEarthCacheDialog::showCacheFinishedMessageBox ( )
virtual

Shows the cache finished message box.

Parameters
messageThe message to show in the MessageBox.

Implements makVrv::DtOsgEarthCacheInterface.

virtual bool makVrv::DtOsgEarthCacheDialog::showAreaUnspecifiedMessageBox ( bool dontShowAgain)
virtual

Shows the message box warns the user cache area is not specified.

Parameters
dontShowAgainIf the don't show again is checked. return true if the user still want generate cache.

Implements makVrv::DtOsgEarthCacheInterface.

virtual void makVrv::DtOsgEarthCacheDialog::setProgressText ( const std::string &  s)
virtual

Sets the text to be displayed above the progress bar.

Implements makVrv::DtOsgEarthCacheInterface.

virtual void makVrv::DtOsgEarthCacheDialog::setProgress ( int  progress)
virtual

Sets the current progress(0-100).

Implements makVrv::DtOsgEarthCacheInterface.

virtual void makVrv::DtOsgEarthCacheDialog::resetCacheAreaWidgets ( )
virtual

Resets the widgets of setting the cache area.

Implements makVrv::DtOsgEarthCacheInterface.

Reimplemented in makVrf::DtVrfOsgEarthCacheDialog.

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

Closes the dialog.

Implements makVrv::DtOsgEarthCacheInterface.

virtual void makVrv::DtOsgEarthCacheDialog::enableCacheConfigurationWidget ( bool  enable)
virtual

Enable the widget for configuring the cache.

Implements makVrv::DtOsgEarthCacheInterface.

virtual void makVrv::DtOsgEarthCacheDialog::enableCacheProgressWidget ( bool  enable)
virtual

Enable the widget for displaying the cache progress.

Implements makVrv::DtOsgEarthCacheInterface.

virtual void makVrv::DtOsgEarthCacheDialog::enableCacheAreaWidget ( bool  enable)
virtual

Enable the widget for displaying managing the area to cache.

Implements makVrv::DtOsgEarthCacheInterface.

virtual void makVrv::DtOsgEarthCacheDialog::show ( )
virtual

Called when the widget is displayed.

Reimplemented in makVrf::DtVrfOsgEarthCacheDialog.

virtual void makVrv::DtOsgEarthCacheDialog::deactivate ( )
virtual

Called when the widget is hidden.

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

Assignment Operator not implemented – Copy not allowed.

void makVrv::DtOsgEarthCacheDialog::setupGui ( )
protected

Setups up the gui, will be called in the CTOR.

void makVrv::DtOsgEarthCacheDialog::connectSignals ( )
protected

Connects the signals of the widget.

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

override the closeEvent of QDialog

virtual void makVrv::DtOsgEarthCacheDialog::qt_slot_updateProgress ( int  progress)
virtualslot
virtual void makVrv::DtOsgEarthCacheDialog::qt_slot_cacheFinished ( )
virtualslot
virtual void makVrv::DtOsgEarthCacheDialog::on_lowestLodSpinBox_valueChanged ( int  )
protectedvirtualslot
virtual void makVrv::DtOsgEarthCacheDialog::on_highestLodSpinBox_valueChanged ( int  )
protectedvirtualslot
virtual void makVrv::DtOsgEarthCacheDialog::on_cacheImageCheckBox_stateChanged ( int  )
protectedvirtualslot
virtual void makVrv::DtOsgEarthCacheDialog::on_cacheElevationCheckBox_stateChanged ( int  )
protectedvirtualslot
virtual void makVrv::DtOsgEarthCacheDialog::on_specifyCacheAreaCheckBox_stateChanged ( int  )
protectedvirtualslot
virtual void makVrv::DtOsgEarthCacheDialog::on_flyOverCheckBox_stateChanged ( int  )
protectedvirtualslot
virtual void makVrv::DtOsgEarthCacheDialog::on_startLongitudeSpinBox_valueChanged ( double  )
protectedvirtualslot
virtual void makVrv::DtOsgEarthCacheDialog::on_startLatitudeSpinBox_valueChanged ( double  )
protectedvirtualslot
virtual void makVrv::DtOsgEarthCacheDialog::on_endLongitudeSpinBox_valueChanged ( double  )
protectedvirtualslot
virtual void makVrv::DtOsgEarthCacheDialog::on_endLatitudeSpinBox_valueChanged ( double  )
protectedvirtualslot
virtual void makVrv::DtOsgEarthCacheDialog::on_generateCacheButton_clicked ( )
protectedvirtualslot
virtual void makVrv::DtOsgEarthCacheDialog::on_clearAreaButtonClicked ( )
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
QVBoxLayout* makVrv::DtOsgEarthCacheDialog::myMainLayout
protected
QLabel* makVrv::DtOsgEarthCacheDialog::myDescriptionText
protected
QHBoxLayout* makVrv::DtOsgEarthCacheDialog::myCacheOptionsLayout
protected
QCheckBox* makVrv::DtOsgEarthCacheDialog::mySpecifyCacheAreaCheckBox
protected
QCheckBox* makVrv::DtOsgEarthCacheDialog::myFlyOverCheckBox
protected
QPushButton* makVrv::DtOsgEarthCacheDialog::myClearAreaButton
protected
QWidget* makVrv::DtOsgEarthCacheDialog::myCacheAreaWidget
protected
QHBoxLayout* makVrv::DtOsgEarthCacheDialog::myCacheAreaLayout
protected
QLabel* makVrv::DtOsgEarthCacheDialog::myStartLongitudeLaybol
protected
QDoubleSpinBox* makVrv::DtOsgEarthCacheDialog::myStartLongitudeSpinBox
protected
QLabel* makVrv::DtOsgEarthCacheDialog::myStartLatitudeLaybol
protected
QDoubleSpinBox* makVrv::DtOsgEarthCacheDialog::myStartLatitudeSpinBox
protected
QLabel* makVrv::DtOsgEarthCacheDialog::myEndLongitudeLaybol
protected
QDoubleSpinBox* makVrv::DtOsgEarthCacheDialog::myEndLongitudeSpinBox
protected
QLabel* makVrv::DtOsgEarthCacheDialog::myEndLatitudeLaybol
protected
QDoubleSpinBox* makVrv::DtOsgEarthCacheDialog::myEndLatitudeSpinBox
protected
QHBoxLayout* makVrv::DtOsgEarthCacheDialog::myCacheLodLayout
protected
QLabel* makVrv::DtOsgEarthCacheDialog::myLowestLodLabel
protected
QSpinBox* makVrv::DtOsgEarthCacheDialog::myLowestLodSpinBox
protected
QLabel* makVrv::DtOsgEarthCacheDialog::myHighestLodLabel
protected
QSpinBox* makVrv::DtOsgEarthCacheDialog::myHighestLodSpinBox
protected
QCheckBox* makVrv::DtOsgEarthCacheDialog::myCacheImageCheckBox
protected
QCheckBox* makVrv::DtOsgEarthCacheDialog::myCacheElevationCheckBox
protected
QHBoxLayout* makVrv::DtOsgEarthCacheDialog::myCacheButtonLayout
protected
QPushButton* makVrv::DtOsgEarthCacheDialog::myGenerateCacheButton
protected
QPushButton* makVrv::DtOsgEarthCacheDialog::myCancelCacheButton
protected
QVBoxLayout* makVrv::DtOsgEarthCacheDialog::myProgressLayout
protected
QLabel* makVrv::DtOsgEarthCacheDialog::myProgressLabel
protected
QProgressBar* makVrv::DtOsgEarthCacheDialog::myProgressBar
protected
QPushButton* makVrv::DtOsgEarthCacheDialog::myCloseButton
protected

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

Document ID: Generated on Sun Dec 4 20:22:03 EST 2022 from SVN revision 249613
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)