|
| class | DtTerrainEditorWidgetCreator |
| |
| virtual void | addTerrainContentTopLevelItem (const TerrainContentItemKey &key, const std::string &displayName) |
| | Adds a top level terrain content item(no parent) to the terrain content tree widget. More...
|
| |
| virtual void | addTerrainContentItem (const TerrainContentItemKey &key, const TerrainContentItemKey &parentKey, const std::string &displayName, int index=-1, bool editable=false, bool checked=true) |
| | Adds a terrain content item to the terrain content tree widget. More...
|
| |
| virtual void | addOsgEarthFragmentContentTopLevelItem (const std::string &key, const std::string &displayName) |
| | Adds a top level osgEarth fragment(no parent) item to the osgEarth fragment tree widget. More...
|
| |
| virtual void | addOsgEarthFragmentContentItem (const std::string &key, const std::string &parentKey, const std::string &displayName) |
| | Adds an osgEarth fragment item to the osgEarth fragment tree widget. More...
|
| |
| virtual void | clearTreeWidgets () |
| | Cleans the contents of all tree widgets. More...
|
| |
| virtual void | cleanOsgEarthFragmentTreeWidget () |
| | Clean the contents of osgEarth fragment tree. More...
|
| |
| virtual void | setSelectedOsgEarthFragmentKeys (const std::vector< TerrainContentItemKey > &keys) |
| | Sets all the TerrainContentItemKeys associated with the osgEarth fragment. More...
|
| |
| virtual void | setFocusOnTerrainContentTreeWidgetItem (const TerrainContentItemKey &key, bool expanded=true) |
| | Sets focus on the terrain content tree widget item. More...
|
| |
| virtual void | removeTerrainContentTreeWidgetItem (const TerrainContentItemKey &key) |
| | Removes the terrain content tree widget item. More...
|
| |
| virtual bool | hasTerrainContentTreeWidgetItem (const TerrainContentItemKey &key) |
| | Check if the terrain content tree widget has the item specifiged with the key. More...
|
| |
| virtual bool | hasTerrainPropertyTreeWidgetItem (const TerrainContentItemKey &key) |
| | Check if the terrain property tree widget has the item specifiged with the key. More...
|
| |
| virtual void | resizeTerrainPropertyTreeWidget () |
| | Resize the terrain property tree widget content. More...
|
| |
| virtual void | resizeTerrainFragmentTreeWidget () |
| | Resize the terrain fragment tree widget content. More...
|
| |
| virtual void | moveTerrainContentTreeWidgetItem (TerrainContentItemKey key, bool up) |
| | Moves the terrain content tree widget item up/down. More...
|
| |
| virtual void | setGenerateCacheButtonEnabled (bool enabled) |
| | Enables/Disables the generate cache button. More...
|
| |
| virtual void | setGenerateBoundaryButtonEnabled (bool enabled) |
| | Enables/Disables the generate boundary button. More...
|
| |
| virtual void | setSaveTerrainButtonEnabled (bool enabled) |
| | Enables/Disables the save terrain button. More...
|
| |
| virtual void | setCommitChangeButtonEnabled (bool enabled) |
| | Enables/Disables the save terrain button. More...
|
| |
| virtual void | setRevertChangeButtonEnabled (bool enabled) |
| | Enables/Disables the revert change button. More...
|
| |
| virtual void | enableOsgEarthFragmentTabWidget (bool enabled) |
| | Enables/Disables the osgEarth fragment tab widget. More...
|
| |
| virtual void | showTerrainPropertyTreeWidgetItem (const TerrainContentItemKey &key) |
| | Shows the terrain property tree item associated with the terrain content item. More...
|
| |
| virtual void | showTerrainPropertyTreeWidgetItems (const std::vector< TerrainContentItemKey > &key) |
| | Shows the terrain property tree items associated with a list of terrain content items. More...
|
| |
| int | getIndexOfTerrainContentItem (const TerrainContentItemKey &key) |
| | Gets the index of the terrain content item. More...
|
| |
| virtual void | setProperties (const TerrainContentItemKey &key, const DtTerrainEditorProperties *props) |
| | Set the properties for a given terrain content item. More...
|
| |
| virtual bool | properties (const TerrainContentItemKey &key, DtTerrainEditorProperties *props) |
| | Get the properties for a given terrain content item. More...
|
| |
| virtual void | showCacheDialog (const std::string &osgEarthTerrainDefinition) |
| | Shows the osgEarth cache dialog. More...
|
| |
| virtual DtUnicode | showSaveMtfFileDialog (const DtUnicode &directory) |
| | Shows the dialog about saving as mtf file(MAK Terrain Format). More...
|
| |
| virtual DtUnicode | showSaveOsgEarthFileDialog (const DtUnicode &directory) |
| | Shows the dialog about saving as earth file. More...
|
| |
| virtual void | showSaveFileConfirmationMessageBox (const DtUnicode &fileName) |
| | Shows the message box to confirm the saving of a file. More...
|
| |
| virtual bool | showWarnReloadTerrainMessageBox (bool &checked) |
| | Shows the dialog to warn the user of reloading the terrain. More...
|
| |
| virtual bool | showReloadTerrainAfterGenerateMaskMessageBox (const std::string &terrainPatch) |
| | Shows the dialog to reload the terrain after generating a mask. More...
|
| |
| virtual bool | showChooseLayerTypeMessageBox (const DtUnicode &url, int &type) |
| | Shows the message box that asks user to specify the type of the terrain layer when add new data to terrain. More...
|
| |
| virtual void | showFileExtensionNotSupportedMessageBox (const DtUnicode &fileName) |
| | Shows the message box that the files user are trying to drag into the terrain editor is not supported. More...
|
| |
| virtual void | setGenerateBoundaryModels (const std::vector< std::string > &models) |
| | Sets the list of models to generate boundary for. More...
|
| |
| virtual void | recursivelyExpandOrCollapseTerrainContentTreeItemByKey (const TerrainContentItemKey &key, bool isExpanded) |
| | Expands/Collapses all the child tree widget items of a terrain content tree widget item by its key. More...
|
| |
| virtual void | recursivelyExpandOrCollapseQTreeWidgetItem (QTreeWidgetItem *item, bool isExpanded) |
| | Expands/Collapses all the child tree widget items of the passed in QTreeWidgetItem. More...
|
| |
| virtual void | expandTerrainContentTreeWidget () |
| | Expands all the items in terrain content tree widget. More...
|
| |
| virtual void | expandOsgEarthFragmentTreeWidget () |
| | Expands all the items in osgEarth fragment tree widget. More...
|
| |
| virtual bool | checkIfNameDuplicate (const TerrainContentItemKey &key, const std::string &name) |
| | Checks if the name is duplicate for all the items that has the same parent as item. More...
|
| |
| virtual void | setTerrainContentTreeItemName (const TerrainContentItemKey &key, const std::string &name) |
| | Sets the name entry to be displayed in the terrain content tree item. More...
|
| |
| virtual void | setTerrainContentTreeItemVisibility (const TerrainContentItemKey &key, bool visible) |
| | Sets the visibility in the terrain content tree item. More...
|
| |
| virtual void | setTerrainPropertyTreeItemName (const TerrainContentItemKey &key, const std::string &name) |
| | Sets the name entry to be displayed in the terrain property tree item. More...
|
| |
| virtual void | setTerrainPropertyTreeItemVisibility (const TerrainContentItemKey &key, bool visible) |
| | Sets the visibility in the terrain property tree item. More...
|
| |
| | DtTerrainEditorWidget (DtDe &de, QWidget *parent) |
| | CTOR. Use DtOsgEarthProfileDialogCreator to create an instance of this class. More...
|
| |
| void | setupGui () |
| | Setups the GUI. More...
|
| |
| virtual void | connectSignals () |
| | Connects the signals. More...
|
| |
| virtual void | setStyleSheetForTopPanelButtons () |
| | Sets the style sheet associated with the top panel buttons. More...
|
| |
| virtual void | addTerrainPropertyTreeWidgetItem (const TerrainContentItemKey &key, DtTerrainEditorPropertyTreeWidgetItem *item) |
| | Adds a terrain property item to the terrain property tree widget with the associated terrain content item key. More...
|
| |
| virtual QTreeWidgetItem * | getTerrainContentItem (const TerrainContentItemKey &key) |
| | Gets the terrain content item with the given key. More...
|
| |
| virtual void | setTerrainContentItemAttributes (QTreeWidgetItem *item, const TerrainContentItemKey &key, const std::string &displayName, bool checked=true) |
| | Sets the attributes of a terrain content item. More...
|
| |
| virtual void | removeTerrainContentTreeWidgetItem (QTreeWidgetItem *item) |
| | Removes a terrain content tree widget item from the tree. More...
|
| |
| virtual void | removeTerrainContentTreeWidgetItemFromMap (QTreeWidgetItem *item) |
| | Removes a terrain content tree widget item from the TerrainContentTreeWidgetItemsMap. More...
|
| |
| int | getTerrainContentItemType (QTreeWidgetItem *item) |
| |
| int | getTerrainContentItemId (QTreeWidgetItem *item) |
| |
| std::string | getTerrainContentItemName (QTreeWidgetItem *item) |
| |
| std::string | getTerrainContentItemDisplayName (QTreeWidgetItem *item) |
| |
| int | getTerrainContentItemParentType (QTreeWidgetItem *item) |
| |
| int | getTerrainContentItemParentId (QTreeWidgetItem *item) |
| |
| TerrainContentItemKey | getTerrainContentItemKey (QTreeWidgetItem *item) |
| |
virtual
DtTerrainEditorPropertyTreeWidgetItem * | getTerrainEditorPropertyTreeWidgetItem (const TerrainContentItemKey &key) const |
| |
virtual
DtTerrainEditorPropertyTreeWidgetItem * | createTerrainEditorPropertyTreeWidgetItem (const TerrainContentItemKey &key) |
| |
| virtual std::string | getTerrainEditorPropertyTreeWidgetItemCreatorName (TerrainContentItemType type) |
| |
| std::string | getOsgEarthFragmentItemKey (QTreeWidgetItem *item) |
| | Gets the key of the osgEarth fragment item. More...
|
| |
| bool | hasTerrainContentItem (const TerrainContentItemKey &key) |
| | Check if the terrain content item with the given key exists. More...
|
| |
| virtual void | populateTerrainContentTreeContextMenu (QContextMenuEvent *e) |
| | Populates the context menu of the terrain content tree. More...
|
| |
| virtual void | populateTerrainFragmentTreeContextMenu (QContextMenuEvent *e) |
| | Populates the context menu of the terrain content tree. More...
|
| |
| virtual void | populateTerrainPropertyTreeContextMenu (QContextMenuEvent *e) |
| | Populates the context menu of the terrain property tree. More...
|
| |
| virtual void | renameTerrainContentTreeWidgetItem () |
| | Rename the current selected terrain content item. More...
|
| |
| virtual void | saveTerrainContentTreeWidgetItem () |
| | Saves the current selected terrain content item. More...
|
| |
| virtual void | deleteTerrainContentTreeWidgetItem () |
| | Deletes the current selected terrain content item. More...
|
| |
| virtual void | hideAllTerrainContentTreeTopLevelItems () |
| | Hides all the top level items in the terrain content tree. More...
|
| |
| virtual void | hideAllTerrainPropertyTreeTopLevelItems () |
| | Hides all the top level items in the terrain property tree. More...
|
| |
| virtual bool | isTerrainContentTabEnabled () |
| | check if the terrain content tab is enabled or not. More...
|
| |
| virtual bool | isTerrainPropertyTabEnabled () |
| | check if the terrain property tab is enabled or not. More...
|
| |
| virtual void | slot_osgEarthTerrainLayerRequestAdded (int type, const std::string &name, const std::string &driver, const DtUnicode &url) |
| | Slot when a terrain layer has been added through the gui. More...
|
| |
| virtual void | slot_osgEarthModelLayerDataRequestAdded (const std::string &name, const std::string &driver, const DtUnicode &url, const std::string &wfsType) |
| | Slot when a model layer has been added through the gui. More...
|
| |
| virtual void | slot_MAKFeatureLayerDataRequestAdded (const DtUnicode &filepath, bool toFrontEnd, bool toSimEngine) |
| | Slot when a MAK feature layer has been added through the gui. More...
|
| |
| virtual void | slot_generateBoundary (const std::string &definition, const std::string &name, bool, bool) |
| | Slot when receive the request to generate boundary for a given terrain patch. More...
|
| |
| virtual void | on_terrainContentTreeWidget_currentItemChanged (QTreeWidgetItem *current, QTreeWidgetItem *previous) |
| | The slot when the current item of the terrain content tree has changed. More...
|
| |
| virtual void | on_terrainContentTreeWidget_itemPressed (QTreeWidgetItem *item, int column) |
| | The slot when press the item of the terrain content tree. More...
|
| |
| virtual void | on_terrainContentTreeWidget_itemDoubleClicked (QTreeWidgetItem *item, int column) |
| | Slot when double clicks on the terrain content tree item. More...
|
| |
| virtual void | on_terrainContentTreeWidget_itemChanged (QTreeWidgetItem *item, int column) |
| | Slot when the attributes of the terrain content item has been changed. More...
|
| |
| virtual void | on_osgEarthFragmentTreeWidget_currentItemChanged (QTreeWidgetItem *current, QTreeWidgetItem *previous) |
| | Slot when the current item of the osgEarth fragment tree has changed. More...
|
| |
| virtual void | on_terrainPropertyTreeWidget_currentItemChanged (QTreeWidgetItem *current, QTreeWidgetItem *previous) |
| | Slot when the current item of the terrain property tree has changed. More...
|
| |
| virtual void | on_terrainPropertyTreeWidget_itemPressed (QTreeWidgetItem *, int column) |
| | Slot when press the item of the terrain property tree. More...
|
| |
| virtual void | on_terrainContentTabWidget_currentChanged (int index) |
| | Slot when the current activated widget in terrain content tab has changed. More...
|
| |
| virtual void | on_terrainPropertiesTabWidget_currentChanged (int index) |
| | Slot when the current activated widget in terrain content tab has changed. More...
|
| |
| virtual void | on_terrainContentTreeMenu_triggered (QAction *action) |
| | Slot when the action of the terrain content tree menu is triggered. More...
|
| |
| virtual void | on_terrainPropertyTreeMenu_triggered (QAction *action) |
| | Slot when the action of the terrain property tree menu is triggered. More...
|
| |
| virtual void | on_terrainContentTree_checkBox_stateChanged (const QTreeWidgetItem *, int checked) |
| | Slot when the check box of the terrain content tree is checked/unchecked. More...
|
| |
| virtual void | on_addTerrainPatchButton_released () |
| | Slot when the add terrain patch button is released. More...
|
| |
| virtual void | on_addImageLayerButton_released () |
| | Slot when the add image layer button is released. More...
|
| |
| virtual void | on_addElevationLayerButton_released () |
| | Slot when the add elevation layer button is released. More...
|
| |
| virtual void | on_addFeatureButton_released () |
| | Slot when the add feature button is released. More...
|
| |
| virtual void | on_addOceanLayerButton_released () |
| | Slot when the add ocean layer button is released. More...
|
| |
| virtual void | on_commitChangesButton_released () |
| | Slot when commit changes button is released. More...
|
| |
| virtual void | on_revertChangesButton_released () |
| | Slot when revert changes button is released. More...
|
| |
| virtual void | on_saveTerrainButton_released () |
| | Slot when save terrain button is released. More...
|
| |
| virtual void | on_generateCacheButton_released () |
| | Slot when generate cache button is released. More...
|
| |
| virtual void | on_generateBoundaryButton_released () |
| | Slot when generate boundary button is released. More...
|
| |
| virtual void | contextMenuEvent (QContextMenuEvent *e) |
| | Context menu event override. More...
|
| |
| 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...
|
| |
|
boost::signalslib::signal
< void(const
TerrainContentItemKey &key)> | signal_terrainPropertyTreeWidgetItem_currentItemChanged |
| | boost signals More...
|
| |
boost::signalslib::signal
< void(const
TerrainContentItemKey &key)> | signal_terrainContentTreeWidget_itemDoubleClicked |
| | The signal emitted when double click on the terrain content item. More...
|
| |
boost::signalslib::signal
< void(const std::string &key)> | signal_osgEarthFragmentTreeWidget_currentItemChanged |
| | The signal emitted when the current item of the osgEarth fragment tree has changed. More...
|
| |
boost::signalslib::signal
< void(const
TerrainContentItemKey &key)> | signal_terrainContentCommitChangesButtonReleased |
| | The signal emitted when user hits the commit changes button. More...
|
| |
boost::signalslib::signal
< void(const
TerrainContentItemKey &key)> | signal_terrainContentRevertChangesButtonReleased |
| | The signal emitted when user hits the revert changes button. More...
|
| |
boost::signalslib::signal
< void(const std::vector
< TerrainContentItemKey >
&keys)> | signal_osgEarthFragmentCommitChangesButtonReleased |
| | The signal emitted when user hits the commit button when the osgEarth fragment Tab is enabled. More...
|
| |
boost::signalslib::signal
< void(const
TerrainContentItemKey &key)> | signal_saveTerrainContentTreeWidgetItem |
| | The signal emitted when the user clicks save on the terrain content item through the context menu(if appliable). More...
|
| |
boost::signalslib::signal
< void(const
TerrainContentItemKey &key)> | signal_deleteTerrainContentTreeWidgetItem |
| | The signal emitted when the user clicks save on the terrain content item. More...
|
| |
| boost::signalslib::signal< void()> | signal_generateBoundaryButton_released |
| | The signal emitted when user clicks on the generate boundary button. More...
|
| |
boost::signalslib::signal
< void(const DtUnicode
&fileName, bool toFrontEnd,
bool toSimEngine)> | signal_addFeatureLayerButtonReleased |
| | The signal emitted when user clicks on the add feature layer button(MAK Terrain Toolkit feature layer). More...
|
| |
| boost::signalslib::signal< void()> | signal_addOceanLayerButtonReleased |
| | The signal emitted when user clicks on the add ocean layer button. More...
|
| |
boost::signalslib::signal
< void(int type, const
std::string &name, const
std::string &driver, const
DtUnicode &url)> | signal_osgEarthTerrainLayerRequestAdded |
| | The signal emitted when a terrain layer(Image/Elevation) has been added through the gui. More...
|
| |
boost::signalslib::signal
< void(const std::string &name,
const std::string &driver,
const DtUnicode &url, const
std::string &wfsType)> | signal_osgEarthModelLayerRequestAdded |
| | The signal emitted when a model layer has been added through the gui. More...
|
| |
boost::signalslib::signal
< void(const std::string
&definition, const std::string
&name, bool geocentric, bool
convexHull)> | signal_generateBoundary |
| | The signal emitted when receive the request to generate boundary for a given terrain patch. More...
|
| |
| boost::signalslib::signal< void()> | signal_saveOsgEarthTerrain |
| | The signal emitted when receive the request to save the osgEarth terrain through the context menu. More...
|
| |
| boost::signalslib::signal< void()> | signal_saveTerrain |
| | The signal emitted when receive the request to save the terrain(MTF terrain) through the context menu. More...
|
| |
| boost::signalslib::signal< void()> | signal_generateCacheButtonReleased |
| | The signal emitted when user clicks on the generate cache button. More...
|
| |
boost::signalslib::signal
< void(std::vector
< std::string >)> | signal_addData |
| | The signal emitted when user drag and drop data into the terrain editor. More...
|
| |
boost::signalslib::signal
< void(const
TerrainContentItemKey &key,
bool visible)> | signal_visibleLayerVisiblityChanged |
| | The signal emitted when the visibility of the layer has changed. More...
|
| |
boost::signalslib::signal
< void(const
TerrainContentItemKey &key,
double opacity)> | signal_visibleLayerOpacityChanged |
| | The signal emitted when the opacity of the layer has changed. More...
|
| |
boost::signalslib::signal
< void(const
TerrainContentItemKey &key,
double minRange)> | signal_visibleLayerMinVisibleRangeChanged |
| | The signal emitted when the minimal visible range of the layer has changed. More...
|
| |
boost::signalslib::signal
< void(const
TerrainContentItemKey &key,
double maxRange)> | signal_visibleLayerMaxVisibleRangeChanged |
| | The signal emitted when the maximum visible range of the layer has changed. More...
|
| |
boost::signalslib::signal
< void(const
TerrainContentItemKey &key,
bool enabled)> | signal_osgEarthDebugModeStateChanged |
| | Signal emitted when the osgEarth debug mode state has changed. More...
|
| |
boost::signalslib::signal
< void(const
TerrainContentItemKey &key,
const std::string &description)> | signal_terrainDescriptionChanged |
| | Signal emitted when the description of the terrain has changed. More...
|
| |
boost::signalslib::signal
< void(const
TerrainContentItemKey &key,
int maxPagedLODs)> | signal_terrainMaxPagedLODsChanged |
| | Signal emitted when the maximum number of paged LODs for this terrain has changed. More...
|
| |
boost::signalslib::signal
< void(const
TerrainContentItemKey &key,
const std::string &name)> | signal_oceanLayerNameChanged |
| | Signal emitted when the name of the ocean layer has changed. More...
|
| |
boost::signalslib::signal
< void(const
TerrainContentItemKey &key,
double height)> | signal_oceanLayerHeightChanged |
| | Signal emitted when the height of the ocean layer has changed. More...
|
| |
boost::signalslib::signal
< void(const
TerrainContentItemKey &key,
int lod)> | signal_oceanLayerLodChanged |
| | Signal emitted when the lod of the ocean layer has changed. More...
|
| |
Widget for editing the terrain in the scene.
It supports adding/modifying image layer/elevation layer/model layer/terrain patch(OpenFlight etc)/ocean layer. It also has tools for generating cache data, generating boundary for a model, etc. It can save out the terrain as mtf file(MAK TERRAIN FORMAT).
- See Also
- makVrv::DtTerrainEditorInterface