![]() |
VR-Forces 4.10 Class Documentation
|
Dialog for adding one or more terrain patches. More...

Public Slots | |
| virtual bool | onAddTerrainPatches () |
| Called when user clicked the Add button. More... | |
| virtual void | onRemoveSelectedTerrainPatches () |
| Called when user clicked the Minus button. More... | |
| virtual void | onOkClicked () |
| Called when user clicked "Ok". More... | |
| virtual void | onCancelClicked () |
| Called when user clicked "Cancel". More... | |
| virtual void | onCoordSysComboChanged (int index) |
| Called when user chooses a coordinate system from the combo box. More... | |
| virtual void | onCoordSysParamsChanged () |
| Called when user changes the coordinate system origin. More... | |
| virtual void | onDdsFlipChanged (int checkState) |
| Called when the DDS flip checkbox changes. More... | |
| virtual void | onAlphaToCoverageChanged (int currentIndex) |
| slot for when alpha to coverage is changed for this terrain patch More... | |
| virtual void | onIndirectEnabledChanged (int checkState) |
| slot for when indirect enabled is changed for this terrain patch More... | |
| static QString | fileFilter (DtDe &de, const std::string &dialogType, const QString &allSpecifiedString, bool includeGlobal) |
| Create a file filter from the extensions registered with the file extension manager If you want all the registered extensions shown on a single line (when there are multiple filter items) a non-null allSpecifiedString provides the description to use for that. More... | |
Public Member Functions | |
| DtAddTerrainPatchDialog (DtDe &de, QWidget *parent, Qt::WindowFlags f=Qt::Tool) | |
| CTOR. More... | |
| virtual | ~DtAddTerrainPatchDialog () |
| DTOR. More... | |
| virtual void | addFilePath (const std::string &filePath, DtAddTerrainPatchManager::AddTerrainPatchStatus addStatus) |
| Called by the logic when adding a selected file path to the GUI. More... | |
| virtual void | clearFilePaths () |
| Called by the logic when removing all working file paths to add from the GUI. More... | |
| virtual void | setCoordSystemComboBox (DtAddTerrainPatchManager::TerrainCoordinateSystemEnum index) |
| Called by the logic to set the combo boxes item. More... | |
| virtual void | setCoordSystemParams (const std::string ¶ms) |
| Called by the logic to set the coord sys params. More... | |
| virtual void | setOkEnabled (bool flag) |
| Called by the logic to enable the "OK" button. More... | |
| virtual void | setTerrainSettingsChangedWarningLabelVisible (bool isVisible) |
| Called by the logic to set the visibility of the terrain settings warning label. More... | |
Protected Slots | |
| virtual void | dragEnterEvent (QDragEnterEvent *e) |
| Drag enter event override. Used to drap and drop data. More... | |
| virtual void | dropEvent (QDropEvent *e) |
| Drop event override. Used to drap and drop data. More... | |
Protected Member Functions | |
| void | setupGui () |
| Build Gui. More... | |
| bool | getFilePathTableIndex (const std::string &filePathToFind, int &index) |
| Given a terrain patch file path, return its row index in the table of terrain patches to add. More... | |
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 |
Dialog for adding one or more terrain patches.
| makVrv::DtAddTerrainPatchDialog::DtAddTerrainPatchDialog | ( | DtDe & | de, |
| QWidget * | parent, | ||
| Qt::WindowFlags | f = Qt::Tool |
||
| ) |
CTOR.
|
virtual |
DTOR.
|
virtual |
Called by the logic when adding a selected file path to the GUI.
Implements makVrv::DtAddTerrainPatchInterface.
|
virtual |
Called by the logic when removing all working file paths to add from the GUI.
Implements makVrv::DtAddTerrainPatchInterface.
|
virtual |
Called by the logic to set the combo boxes item.
Implements makVrv::DtAddTerrainPatchInterface.
|
virtual |
Called by the logic to set the coord sys params.
Implements makVrv::DtAddTerrainPatchInterface.
|
virtual |
Called by the logic to enable the "OK" button.
Implements makVrv::DtAddTerrainPatchInterface.
|
virtual |
Called by the logic to set the visibility of the terrain settings warning label.
Implements makVrv::DtAddTerrainPatchInterface.
|
virtualslot |
Called when user clicked the Add button.
|
virtualslot |
Called when user clicked the Minus button.
|
virtualslot |
Called when user clicked "Ok".
|
virtualslot |
Called when user clicked "Cancel".
|
virtualslot |
Called when user chooses a coordinate system from the combo box.
|
virtualslot |
Called when user changes the coordinate system origin.
|
virtualslot |
Called when the DDS flip checkbox changes.
|
virtualslot |
slot for when alpha to coverage is changed for this terrain patch
|
virtualslot |
slot for when indirect enabled is changed for this terrain patch
|
staticslot |
Create a file filter from the extensions registered with the file extension manager If you want all the registered extensions shown on a single line (when there are multiple filter items) a non-null allSpecifiedString provides the description to use for that.
If includeGlobal is true, then a filter with "All (*.*)" is included at the end.
|
protectedvirtualslot |
Drag enter event override. Used to drap and drop data.
|
protectedvirtualslot |
Drop event override. Used to drap and drop data.
|
protected |
Build Gui.
|
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.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |