VR-Forces 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 (double, double)
 
virtual void qt_slot_cacheFinished (bool)
 

Public Member Functions

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

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_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_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
 
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
 
std::string myProgressLabelText
 
std::string myProgressUpdateText
 

Private Member Functions

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

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(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_cancelButtonClicked
 
boost::signalslib::signal
< void(bool)> 
signal_cacheFinished
 

Constructor & Destructor Documentation

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

DTOR.

makVrv::DtOsgEarthCacheDialog::DtOsgEarthCacheDialog ( const DtOsgEarthCacheDialog )
privatedelete

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)
overridevirtual

Sets the osgEarth terrain definition used for the cache.

Implements makVrv::DtOsgEarthCacheInterface.

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

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

Implements makVrv::DtOsgEarthCacheInterface.

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

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

Implements makVrv::DtOsgEarthCacheInterface.

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

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

Implements makVrv::DtOsgEarthCacheInterface.

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

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

Implements makVrv::DtOsgEarthCacheInterface.

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

Sets the coordinate system decimal.

Parameters
digitsthe digits of the decimal.

Implements makVrv::DtOsgEarthCacheInterface.

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

Sets the maxmiumLod for generating cache.

Implements makVrv::DtOsgEarthCacheInterface.

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

Shows the cache finished message box.

Parameters
messageThe message to show in the MessageBox.

Implements makVrv::DtOsgEarthCacheInterface.

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

Sets the text to be displayed above the progress bar.

Implements makVrv::DtOsgEarthCacheInterface.

virtual void makVrv::DtOsgEarthCacheDialog::setProgress ( double  current,
double  total 
)
overridevirtual

Sets the current progress(0-100).

Implements makVrv::DtOsgEarthCacheInterface.

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

Resets the widgets of setting the cache area.

Implements makVrv::DtOsgEarthCacheInterface.

Reimplemented in makVrf::DtVrfOsgEarthCacheDialog.

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

Closes the dialog.

Implements makVrv::DtOsgEarthCacheInterface.

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

Enable the widget for configuring the cache.

Implements makVrv::DtOsgEarthCacheInterface.

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

Enable the widget for displaying the cache progress.

Implements makVrv::DtOsgEarthCacheInterface.

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

Enable the widget for displaying the cache area.

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 )
privatedelete

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 ( double  ,
double   
)
virtualslot
virtual void makVrv::DtOsgEarthCacheDialog::qt_slot_cacheFinished ( bool  )
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_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_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
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
std::string makVrv::DtOsgEarthCacheDialog::myProgressLabelText
protected
std::string makVrv::DtOsgEarthCacheDialog::myProgressUpdateText
protected

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

Document ID: Generated on Thu Oct 23 22:29:17 EDT 2025 from SVN revision 280951
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)