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 Slots | Protected Member Functions | Protected Attributes
makVrv::DtAddTerrainPatchDialog Class Reference

Dialog for adding one or more terrain patches.

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

Public Slots

virtual bool onAddTerrainPatches ()
 
virtual void onRemoveSelectedTerrainPatches ()
 
virtual void onOkClicked ()
 
virtual void onCancelClicked ()
 
virtual void onCoordSysComboChanged (int index)
 
virtual void onCoordSysParamsChanged ()
 
virtual void onDdsFlipChanged (int checkState)
 
virtual void onAlphaToCoverageChanged (int currentIndex)
 
virtual void onIndirectEnabledChanged (int checkState)
 
virtual void onIsPageableChanged (int checkState)
 

Public Member Functions

 DtAddTerrainPatchDialog (DtDe &de, QWidget *parent, Qt::WindowFlags f=Qt::Tool)
 
virtual ~DtAddTerrainPatchDialog ()
 
virtual void addFilePath (const std::string &filePath, DtAddTerrainPatchManager::AddTerrainPatchStatus addStatus, const QColor &colorToUse)
 
virtual void clearFilePaths ()
 
virtual void setCoordSystemComboBox (DtAddTerrainPatchManager::TerrainCoordinateSystemEnum index)
 
virtual void setCoordSystemParams (const std::string &params)
 
virtual void setOkEnabled (bool flag)
 
virtual void setTerrainSettingsChangedWarningLabelVisible (bool isVisible)
 

Protected Slots

virtual void dragEnterEvent (QDragEnterEvent *e)
 
virtual void dropEvent (QDropEvent *e)
 

Protected Member Functions

void setupGui ()
 
bool getFilePathTableIndex (const std::string &filePathToFind, int &index)
 

Protected Attributes

DtDemyDe
 
DtAddTerrainPatchLogicmyLogic
 
QTableWidgetmyFilenameTable
 
QPushButtonmyAddTerrainPatchButton
 
QPushButtonmyRemoveTerrainPatchButton
 
QLabelmyTerrainSettingsLabel
 
QWidget * myTerrainSettingsChangedWarningLayout
 
QComboBoxmyTerrainCoordSysCombo
 
QLineEditmyTerrainCoordSysOriginLineEdit
 
QPushButtonmyOkButton
 
QPushButtonmyCancelButton
 
QValidatormyUtmValidator
 
QValidatormyFlatEarthValidator
 
QValidatormyOriginOffsetValidator
 
QValidatormyLambertValidator
 
QLabelmyParamInstructions
 
QCheckBoxmyDdsFlipCheckbox
 
QComboBoxmyAlphaToCoverageCombo
 
QCheckBoxmyIndirectEnabledCheckbox
 
QCheckBoxmyIsPageableCheckbox
 

Additional Inherited Members

- Public Attributes inherited from makVrv::DtAddTerrainPatchInterface
boost::signalslib::signal< void()> signal_addTerrainPatches
 
boost::signalslib::signal
< void(std::vector
< std::string >)> 
signal_terrainPatchFilesAdded
 
boost::signalslib::signal
< void(std::vector
< std::string >)> 
signal_terrainPatchFilesDeleted
 
boost::signalslib::signal
< void(const std::string &)> 
signal_coordinateSystemChanged
 
boost::signalslib::signal
< void(const std::string &)> 
signal_coordinateSystemParameters
 
boost::signalslib::signal
< void(bool)> 
signal_ddsFlipChanged
 
boost::signalslib::signal
< void(DtAddTerrainPatchManager::AlphaToCoverageState)> 
signal_alphaToCoverageChanged
 
boost::signalslib::signal
< void(bool)> 
signal_indirectEnabledChanged
 
boost::signalslib::signal
< void(bool)> 
signal_isPageableChanged
 

Constructor & Destructor Documentation

makVrv::DtAddTerrainPatchDialog::DtAddTerrainPatchDialog ( DtDe de,
QWidget *  parent,
Qt::WindowFlags  f = Qt::Tool 
)

CTOR.

virtual makVrv::DtAddTerrainPatchDialog::~DtAddTerrainPatchDialog ( )
virtual

DTOR.

Member Function Documentation

virtual void makVrv::DtAddTerrainPatchDialog::addFilePath ( const std::string &  filePath,
DtAddTerrainPatchManager::AddTerrainPatchStatus  addStatus,
const QColor &  colorToUse 
)
virtual

Called by the logic when adding a selected file path to the GUI. To use default stylesheet color, pass in an uninitialized (invalid) QColor.

Implements makVrv::DtAddTerrainPatchInterface.

virtual void makVrv::DtAddTerrainPatchDialog::clearFilePaths ( )
virtual

Called by the logic when removing all working file paths to add from the GUI.

Implements makVrv::DtAddTerrainPatchInterface.

virtual void makVrv::DtAddTerrainPatchDialog::setCoordSystemComboBox ( DtAddTerrainPatchManager::TerrainCoordinateSystemEnum  index)
virtual

Called by the logic to set the combo boxes item.

Implements makVrv::DtAddTerrainPatchInterface.

virtual void makVrv::DtAddTerrainPatchDialog::setCoordSystemParams ( const std::string &  params)
virtual

Called by the logic to set the coord sys params.

Implements makVrv::DtAddTerrainPatchInterface.

virtual void makVrv::DtAddTerrainPatchDialog::setOkEnabled ( bool  flag)
virtual

Called by the logic to enable the "OK" button.

Implements makVrv::DtAddTerrainPatchInterface.

virtual void makVrv::DtAddTerrainPatchDialog::setTerrainSettingsChangedWarningLabelVisible ( bool  isVisible)
virtual

Called by the logic to set the visibility of the terrain settings warning label.

Implements makVrv::DtAddTerrainPatchInterface.

virtual bool makVrv::DtAddTerrainPatchDialog::onAddTerrainPatches ( )
virtualslot

Called when user clicked the Add button.

virtual void makVrv::DtAddTerrainPatchDialog::onRemoveSelectedTerrainPatches ( )
virtualslot

Called when user clicked the Minus button.

virtual void makVrv::DtAddTerrainPatchDialog::onOkClicked ( )
virtualslot

Called when user clicked "Ok".

virtual void makVrv::DtAddTerrainPatchDialog::onCancelClicked ( )
virtualslot

Called when user clicked "Cancel".

virtual void makVrv::DtAddTerrainPatchDialog::onCoordSysComboChanged ( int  index)
virtualslot

Called when user chooses a coordinate system from the combo box.

virtual void makVrv::DtAddTerrainPatchDialog::onCoordSysParamsChanged ( )
virtualslot

Called when user changes the coordinate system origin.

virtual void makVrv::DtAddTerrainPatchDialog::onDdsFlipChanged ( int  checkState)
virtualslot

Called when the DDS flip checkbox changes.

virtual void makVrv::DtAddTerrainPatchDialog::onAlphaToCoverageChanged ( int  currentIndex)
virtualslot

slot for when alpha to coverage is changed for this terrain patch

virtual void makVrv::DtAddTerrainPatchDialog::onIndirectEnabledChanged ( int  checkState)
virtualslot

slot for when indirect enabled is changed for this terrain patch

virtual void makVrv::DtAddTerrainPatchDialog::onIsPageableChanged ( int  checkState)
virtualslot

slot for when is pageable is changed for this terrain patch

virtual void makVrv::DtAddTerrainPatchDialog::dragEnterEvent ( QDragEnterEvent *  e)
protectedvirtualslot

Drag enter event override. Used to drap and drop data.

virtual void makVrv::DtAddTerrainPatchDialog::dropEvent ( QDropEvent *  e)
protectedvirtualslot

Drop event override. Used to drap and drop data.

void makVrv::DtAddTerrainPatchDialog::setupGui ( )
protected

Build Gui.

bool makVrv::DtAddTerrainPatchDialog::getFilePathTableIndex ( const std::string &  filePathToFind,
int index 
)
protected

Given a terrain patch file path, return its row index in the table of terrain patches to add. Returns true if the terrain patch file path was found in the table. Returns false otherwise.

Member Data Documentation

DtDe& makVrv::DtAddTerrainPatchDialog::myDe
protected
DtAddTerrainPatchLogic* makVrv::DtAddTerrainPatchDialog::myLogic
protected
QTableWidget* makVrv::DtAddTerrainPatchDialog::myFilenameTable
protected
QPushButton* makVrv::DtAddTerrainPatchDialog::myAddTerrainPatchButton
protected
QPushButton* makVrv::DtAddTerrainPatchDialog::myRemoveTerrainPatchButton
protected
QLabel* makVrv::DtAddTerrainPatchDialog::myTerrainSettingsLabel
protected
QWidget* makVrv::DtAddTerrainPatchDialog::myTerrainSettingsChangedWarningLayout
protected
QComboBox* makVrv::DtAddTerrainPatchDialog::myTerrainCoordSysCombo
protected
QLineEdit* makVrv::DtAddTerrainPatchDialog::myTerrainCoordSysOriginLineEdit
protected
QPushButton* makVrv::DtAddTerrainPatchDialog::myOkButton
protected
QPushButton* makVrv::DtAddTerrainPatchDialog::myCancelButton
protected
QValidator* makVrv::DtAddTerrainPatchDialog::myUtmValidator
protected
QValidator* makVrv::DtAddTerrainPatchDialog::myFlatEarthValidator
protected
QValidator* makVrv::DtAddTerrainPatchDialog::myOriginOffsetValidator
protected
QValidator* makVrv::DtAddTerrainPatchDialog::myLambertValidator
protected
QLabel* makVrv::DtAddTerrainPatchDialog::myParamInstructions
protected
QCheckBox* makVrv::DtAddTerrainPatchDialog::myDdsFlipCheckbox
protected
QComboBox* makVrv::DtAddTerrainPatchDialog::myAlphaToCoverageCombo
protected
QCheckBox* makVrv::DtAddTerrainPatchDialog::myIndirectEnabledCheckbox
protected
QCheckBox* makVrv::DtAddTerrainPatchDialog::myIsPageableCheckbox
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)