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 Types | Public Member Functions | Protected Slots | Protected Member Functions | Protected Attributes | Friends
makVrv::DtOsgEarthGenerateBoundaryWidget Class Reference

DtOsgEarthGenerateBoundaryWidget.

Widget for generating boudary of model.

See Also
DtOsgEarthGenerateBoundaryInterface
Inheritance diagram for makVrv::DtOsgEarthGenerateBoundaryWidget:
Inheritance graph
[legend]

Public Types

enum  ModelSource { FromFile, FromLoadedModel }
 
- Public Types inherited from makVrv::DtOsgEarthGenerateBoundaryInterface
enum  ModelSource { FromFile, FromLoadedModel }
 

Public Member Functions

virtual void setModelList (const std::vector< std::string > &models)
 
virtual void resetWidgets ()
 

Protected Slots

virtual void on_modelsListWidget_itemClicked (QListWidgetItem *item)
 
virtual void on_geocentricCheckBox_valueChanged (int checked)
 
virtual void on_convexHullCheckBox_valueChanged (int checked)
 
virtual void on_generateBoundaryPushButton_released ()
 
virtual void on_closePushButton_released ()
 

Protected Member Functions

 DtOsgEarthGenerateBoundaryWidget (DtDe &de)
 
virtual void setupGui ()
 
virtual void connectSignals ()
 
virtual std::string getModel () const
 
virtual std::string getName () const
 

Protected Attributes

DtDemyDe
 
QLabelmyDescriptionLabel
 
QWidget * myFromLoadedModelsWidget
 
QLabelmyFromLoadedModelsLabel
 
QListWidget * myModelsListWidget
 
QLabelmyGeocentricLabel
 
QCheckBoxmyGeocentricCheckBox
 
QLabelmyConvexHullLabel
 
QCheckBoxmyConvexHullCheckBox
 
QPushButtonmyGenerateBoundaryPushButton
 
QPushButtonmyClosePushButton
 
bool myGeocentric
 
bool myConvexHull
 

Friends

class DtOsgEarthGenerateBoundaryWidgetCreator
 

Additional Inherited Members

- Public Attributes inherited from makVrv::DtOsgEarthGenerateBoundaryInterface
boost::signalslib::signal
< void(const std::string
&terrainPatchDefinition, const
std::string &name, bool
geocentric, bool converHull)> 
signal_generateBoundary
 

Member Enumeration Documentation

Enumerator
FromFile 
FromLoadedModel 

Constructor & Destructor Documentation

makVrv::DtOsgEarthGenerateBoundaryWidget::DtOsgEarthGenerateBoundaryWidget ( DtDe de)
protected

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

Member Function Documentation

virtual void makVrv::DtOsgEarthGenerateBoundaryWidget::setModelList ( const std::vector< std::string > &  models)
virtual

Sets a list of models from which to generate boudaries.

Parameters
modelsA list of file names of the models.

Implements makVrv::DtOsgEarthGenerateBoundaryInterface.

virtual void makVrv::DtOsgEarthGenerateBoundaryWidget::resetWidgets ( )
virtual

Resets the widgets for next use.

Implements makVrv::DtOsgEarthGenerateBoundaryInterface.

virtual void makVrv::DtOsgEarthGenerateBoundaryWidget::setupGui ( )
protectedvirtual

Setups the gui.

virtual void makVrv::DtOsgEarthGenerateBoundaryWidget::connectSignals ( )
protectedvirtual

Connects the signals.

virtual std::string makVrv::DtOsgEarthGenerateBoundaryWidget::getModel ( ) const
protectedvirtual

Gets the selected model to generate boundary.

virtual std::string makVrv::DtOsgEarthGenerateBoundaryWidget::getName ( ) const
protectedvirtual

Gets the name of the boundary.

virtual void makVrv::DtOsgEarthGenerateBoundaryWidget::on_modelsListWidget_itemClicked ( QListWidgetItem item)
protectedvirtualslot

Slots when uses clicks on the model list widget.

virtual void makVrv::DtOsgEarthGenerateBoundaryWidget::on_geocentricCheckBox_valueChanged ( int  checked)
protectedvirtualslot

Slots when the geocentric checkbox changed.

virtual void makVrv::DtOsgEarthGenerateBoundaryWidget::on_convexHullCheckBox_valueChanged ( int  checked)
protectedvirtualslot

Slots the convex hull checkbox changed.

virtual void makVrv::DtOsgEarthGenerateBoundaryWidget::on_generateBoundaryPushButton_released ( )
protectedvirtualslot

Slots when the generate boundary button is released.

virtual void makVrv::DtOsgEarthGenerateBoundaryWidget::on_closePushButton_released ( )
protectedvirtualslot

Slots when the close button is released.

Friends And Related Function Documentation

Member Data Documentation

DtDe& makVrv::DtOsgEarthGenerateBoundaryWidget::myDe
protected
QLabel* makVrv::DtOsgEarthGenerateBoundaryWidget::myDescriptionLabel
protected
QWidget* makVrv::DtOsgEarthGenerateBoundaryWidget::myFromLoadedModelsWidget
protected
QLabel* makVrv::DtOsgEarthGenerateBoundaryWidget::myFromLoadedModelsLabel
protected
QListWidget* makVrv::DtOsgEarthGenerateBoundaryWidget::myModelsListWidget
protected
QLabel* makVrv::DtOsgEarthGenerateBoundaryWidget::myGeocentricLabel
protected
QCheckBox* makVrv::DtOsgEarthGenerateBoundaryWidget::myGeocentricCheckBox
protected
QLabel* makVrv::DtOsgEarthGenerateBoundaryWidget::myConvexHullLabel
protected
QCheckBox* makVrv::DtOsgEarthGenerateBoundaryWidget::myConvexHullCheckBox
protected
QPushButton* makVrv::DtOsgEarthGenerateBoundaryWidget::myGenerateBoundaryPushButton
protected
QPushButton* makVrv::DtOsgEarthGenerateBoundaryWidget::myClosePushButton
protected
bool makVrv::DtOsgEarthGenerateBoundaryWidget::myGeocentric
protected
bool makVrv::DtOsgEarthGenerateBoundaryWidget::myConvexHull
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)