![]() |
VR-Forces 5.0.3 Developer's Guide
|
Dialog for adding one or more terrain patches.

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) |
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 ¶ms) |
| 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) |
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 |
| 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. To use default stylesheet color, pass in an uninitialized (invalid) QColor.
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
|
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 |