VR-Forces 4.8 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Classes | Public Types | Public Member Functions
makVrv::DtTerrainEditorInterface Class Referenceabstract

DtTerrainEditorInterface. More...

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

Classes

class  TerrainContentItemKey
 TerrainContentItemKey. More...
 

Public Types

enum  TerrainContentItemType {
  Terrain, ImageLayerGroup, ElevationLayerGroup, ModelLayerGroup,
  MaskLayerGroup, BuildingLayerGroup, LandCoverLayerGroup, GroundCoverLayerGroup,
  RoadSurfaceLayerGroup, SplatLayerGroup, TerrainPatchGroup, OceanLayerGroup,
  FeatureSourceGroup, FeatureLayerGroup, OsgEarthTerrainPatch, OpenFlightTerrainPatch,
  FeatureSource, FeatureLayer, OceanLayer, ImageLayer,
  ElevationLayer, ModelLayer, MaskLayer, BuildingLayer,
  LandCoverLayer, GroundCoverLayer, GroundCover, RoadSurfaceLayer,
  SplatLayer, TreeWidget, CompositeParentLayer, CompositeChildLayer,
  UnknownType
}
 

Public Member Functions

virtual void addTerrainContentTopLevelItem (const TerrainContentItemKey &key, const std::string &displayName)=0
 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)=0
 Adds a terrain content item to the terrain content tree widget. More...
 
virtual void addOsgEarthFragmentContentTopLevelItem (const std::string &key, const std::string &displayName)=0
 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)=0
 Adds an osgEarth fragment item to the osgEarth fragment tree widget. More...
 
virtual void clearTreeWidgets ()=0
 Cleans the contents of all tree widgets. More...
 
virtual void setFocusOnTerrainContentTreeWidgetItem (const TerrainContentItemKey &key, bool expanded=true)=0
 Sets focus on the terrain content tree widget item. More...
 
virtual void removeTerrainContentTreeWidgetItem (const TerrainContentItemKey &key)=0
 Removes the terrain content tree widget item. More...
 
virtual bool hasTerrainContentTreeWidgetItem (const TerrainContentItemKey &key)=0
 Check if the terrain content tree widget has the item specifiged with the key. More...
 
virtual bool hasTerrainPropertyTreeWidgetItem (const TerrainContentItemKey &key)=0
 Check if the terrain property tree widget has the item specifiged with the key. More...
 
virtual void cleanOsgEarthFragmentTreeWidget ()=0
 Clean the contents of osgEarth fragment tree. More...
 
virtual void setSelectedOsgEarthFragmentKeys (const std::vector< TerrainContentItemKey > &keys)=0
 Sets all the TerrainContentItemKeys associated with the osgEarth fragment. More...
 
virtual void moveTerrainContentTreeWidgetItem (TerrainContentItemKey key, bool up)=0
 Moves the terrain content tree widget item up/down. More...
 
virtual void setGenerateCacheButtonEnabled (bool enabled)=0
 Enables/Disables the generate cache button. More...
 
virtual void setGenerateBoundaryButtonEnabled (bool enabled)=0
 Enables/Disables the generate boundary button. More...
 
virtual void setSaveTerrainButtonEnabled (bool enabled)=0
 Enables/Disables the save terrain button. More...
 
virtual void setCommitChangeButtonEnabled (bool enabled)=0
 Enables/Disables the save terrain button. More...
 
virtual void setRevertChangeButtonEnabled (bool enabled)=0
 Enables/Disables the revert change button. More...
 
virtual void enableOsgEarthFragmentTabWidget (bool enabled)=0
 Enables/Disables the osgEarth fragment tab widget. More...
 
virtual void enableTerrainRuntimeTabWidget (bool enabled)=0
 Enables/Disables the terrain runtime tab widget. More...
 
virtual void resizeTerrainPropertyTreeWidget ()=0
 Resize the terrain property tree widget content. More...
 
virtual void resizeTerrainRuntimeTreeWidget ()=0
 Resize the terrain runtime tree widget content. More...
 
virtual void resizeTerrainFragmentTreeWidget ()=0
 Resize the terrain fragment tree widget content. More...
 
virtual void setTerrainPropertyTreeItemName (const std::string &name)=0
 Sets the name entry to be displayed in the terrain property tree. More...
 
virtual void setTerrainPropertyTreeItemVisiblity (bool visible)=0
 Sets the visible entry to be displayed in the terrain property tree item. More...
 
virtual void showTerrainPropertyTreeWidgetItem (const TerrainContentItemKey &key)=0
 Shows the terrain property tree item associated with the terrain content item. More...
 
virtual void showTerrainPropertyTreeWidgetItems (const std::vector< TerrainContentItemKey > &keys)=0
 Shows the terrain property tree items associated with a list of terrain content items. More...
 
virtual void showTerrainRuntimeTreeWidgetItem (const TerrainContentItemKey &key)=0
 Shows the terrain runtime tree item associated with the terrain content item. More...
 
virtual void showCacheDialog (const std::string &osgEarthTerrainDefinition)=0
 Shows the osgEarth cache dialog. More...
 
virtual DtUnicode showSaveMtfFileDialog (const DtUnicode &directory)=0
 Shows the dialog about saving as mtf file(MAK Terrain Format). More...
 
virtual DtUnicode showSaveOsgEarthFileDialog (const DtUnicode &directory)=0
 Shows the dialog about saving as earth file. More...
 
virtual void showSaveFileConfirmationMessageBox (const DtUnicode &fileName)=0
 Shows the message box to confirm the saving of a file. More...
 
virtual bool showOverrideOsgEarthFileDialog ()=0
 Shows the dialog to warn the user of overriding an existing earth file. More...
 
virtual bool showWarnReloadTerrainMessageBox (bool &checked)=0
 Shows the dialog to warn the user of reloading the terrain. More...
 
virtual bool showReloadTerrainAfterGenerateMaskMessageBox (const std::string &terrainPatch)=0
 Shows the dialog to reload the terrain after generating a mask. More...
 
virtual bool showChooseLayerTypeMessageBox (const DtUnicode &url, int &type)=0
 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)=0
 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)=0
 Sets the list of models to generate boundary for. More...
 
virtual void expandTerrainContentTreeWidget ()=0
 Expands all the items in terrain content tree widget. More...
 
virtual void expandOsgEarthFragmentTreeWidget ()=0
 Expands all the items in osgEarth fragment tree widget. More...
 
virtual int getIndexOfTerrainContentItem (const TerrainContentItemKey &key)=0
 Gets the index of the terrain content item. More...
 
virtual void setOsgEarthTerrainProperty (const TerrainContentItemKey &key, const osgEarth::MapOptions &mapOptions, const osgEarth::MapNodeOptions &mapNodeOptions, const osgEarth::TerrainOptions &terrainOptions)=0
 Sets the osgEarth terrain property. More...
 
virtual void getOsgEarthTerrainProperty (const TerrainContentItemKey &key, osgEarth::MapOptions &mapOptions, osgEarth::MapNodeOptions &mapNodeOptions, osgEarth::TerrainOptions &terrainOptions)=0
 Gets the osgEarth terrain property. More...
 
virtual void setTerrainPatchProperty (const TerrainContentItemKey &key, const makArchives::DtModelDefinitionRecord &rec)=0
 Sets the terrain patch property. More...
 
virtual void getTerrainPatchProperty (const TerrainContentItemKey &key, makArchives::DtModelDefinitionRecord &rec)=0
 Gets the terrain patch property. More...
 
virtual void setFeatureLayerProperty (const TerrainContentItemKey &key, const makArchives::DtFeatureLayerRecord &rec)=0
 Sets the feature layer property. More...
 
virtual void getFeatureLayerProperty (const TerrainContentItemKey &key, makArchives::DtFeatureLayerRecord &rec)=0
 Gets the feature layer property. More...
 
virtual void setOceanLayerProperty (const TerrainContentItemKey &key, const makArchives::DtOceanLayerRecord &rec)=0
 Sets the ocean layer property. More...
 
virtual void getOceanLayerProperty (const TerrainContentItemKey &key, makArchives::DtOceanLayerRecord &rec)=0
 Gets the ocean layer property. More...
 
virtual void setImageLayerProperty (const TerrainContentItemKey &key, const osgEarth::ImageLayerOptions &option)=0
 Sets the image layer property. More...
 
virtual void getImageLayerProperty (const TerrainContentItemKey &key, osgEarth::ImageLayerOptions &option)=0
 Gets the image layer property. More...
 
virtual void setElevationLayerProperty (const TerrainContentItemKey &key, const osgEarth::ElevationLayerOptions &option)=0
 Sets the elevation layer property. More...
 
virtual void getElevationLayerProperty (const TerrainContentItemKey &key, osgEarth::ElevationLayerOptions &option)=0
 Gets the elevation layer property. More...
 
virtual void setModelLayerProperty (const TerrainContentItemKey &key, const osgEarth::ModelLayerOptions &option)=0
 Sets the model layer property. More...
 
virtual void getModelLayerProperty (const TerrainContentItemKey &key, osgEarth::ModelLayerOptions &option)=0
 Gets the model layer property. More...
 
virtual void setMaskLayerProperty (const TerrainContentItemKey &key, const osgEarth::MaskLayerOptions &option)=0
 Sets the mask layer property. More...
 
virtual void setBuildingLayerProperty (const TerrainContentItemKey &key, const osgEarth::Buildings::BuildingLayerOptions &option)=0
 Sets the building layer property. More...
 
virtual void setLandCoverLayerProperty (const TerrainContentItemKey &key, const osgEarth::LandCoverLayerOptions &option)=0
 Sets the land cover layer property. More...
 
virtual void setGroundCoverLayerProperty (const TerrainContentItemKey &key, const osgEarth::Splat::GroundCoverLayerOptions &option)=0
 Sets the ground cover layer property. More...
 
virtual void setGroundCoverProperty (const TerrainContentItemKey &key, const osgEarth::Splat::GroundCoverOptions &option)=0
 Sets the ground cover property. More...
 
virtual void setRoadSurfaceLayerProperty (const TerrainContentItemKey &key, const osgEarth::Splat::RoadSurfaceLayerOptions &option)=0
 Sets the road surface layer property. More...
 
virtual void setSplatLayerProperty (const TerrainContentItemKey &key, const osgEarth::Splat::SplatLayerOptions &option)=0
 Sets the splat layer property. More...
 
virtual void setOceanLayerHeight (const TerrainContentItemKey &key, double height)=0
 Sets the height of the ocean layer. More...
 
virtual void setOceanLayerLod (const TerrainContentItemKey &key, int lod)=0
 Sets the lod of the ocean layer. More...
 
virtual void setLayerVisiblity (const TerrainContentItemKey &key, bool visible)=0
 Sets the visibility of the osgEarth::Layer. More...
 
virtual void setLayerOpacity (const TerrainContentItemKey &key, double opacity)=0
 Sets the opacity of the osgEarth::Layer. More...
 
virtual void setLayerMinVisibleRange (const TerrainContentItemKey &key, double range)=0
 Sets the minimum visible range of the osgEarth::VisibleLayer. More...
 
virtual void setLayerMaxVisibleRange (const TerrainContentItemKey &key, double range)=0
 Sets the maximum visible range of the osgEarth::VisibleLayer. More...
 
virtual void setGroundCoverWind (const TerrainContentItemKey &key, double wind)=0
 Sets the wind factor of ground cover. More...
 
virtual void setGroundCoverFill (const TerrainContentItemKey &key, double fill)=0
 Sets the fill of the groundCover in the gui. More...
 
virtual void setGroundCoverMaxDistance (const TerrainContentItemKey &key, double maxDistance)=0
 Sets the maxDistance of the groundCover in the gui. More...
 

Public Attributes

boost::signal< void(const
TerrainContentItemKey &key)> 
signal_terrainPropertyTreeWidgetItem_currentItemChanged
 boost signals More...
 
boost::signal< void(const
TerrainContentItemKey &key)> 
signal_terrainRuntimeTreeWidgetItem_currentItemChanged
 The signal emitted when the current item of the terrain runtime property tree has changed. More...
 
boost::signal< void(const
TerrainContentItemKey &key)> 
signal_terrainContentTreeWidget_itemDoubleClicked
 The signal emitted when double click on the terrain content item. More...
 
boost::signal< void(const
TerrainContentItemKey &key,
bool visible)> 
signal_terrainContentTreeWidget_itemVisibilityChanged
 The signal emitted when toggle the visibility check box of the terrain content tree item. More...
 
boost::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::signal< void(const
TerrainContentItemKey &key)> 
signal_terrainContentCommitChangesButtonReleased
 The signal emitted when user hits the commit changes button. More...
 
boost::signal< void(const
TerrainContentItemKey &key)> 
signal_terrainContentRevertChangesButtonReleased
 The signal emitted when user hits the revert changes button. More...
 
boost::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::signal< void(const
TerrainContentItemKey &key,
const std::string &oldName,
const std::string &newName)> 
signal_renameTerrainContentTreeWidgetItem
 The signal emitted when rename the item in terrain content tree through context menu. More...
 
boost::signal< void(const
TerrainContentItemKey &key,
bool up)> 
signal_moveTerrainContentTreeWidgetItem
 The signal emitted when the user moves up/down the terrain content item through the context menu. More...
 
boost::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::signal< void(const
TerrainContentItemKey &key)> 
signal_deleteTerrainContentTreeWidgetItem
 The signal emitted when the user clicks save on the terrain content item. More...
 
boost::signal< void()> signal_generateBoundaryButton_released
 The signal emitted when user clicks on the generate boundary button. More...
 
boost::signal< void(const
DtUnicode &fileName)> 
signal_addTerrainPatchButtonReleased
 The signal emitted when user clicks on the add terrain patch button. More...
 
boost::signal< void(const
DtUnicode &fileName)> 
signal_addFeatureLayerButtonReleased
 The signal emitted when user clicks on the add feature layer button(MAK Terrain Toolkit feature layer). More...
 
boost::signal< void()> signal_addOceanLayerButtonReleased
 The signal emitted when user clicks on the add ocean layer button. More...
 
boost::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::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::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::signal< void()> signal_saveOsgEarthTerrain
 The signal emitted when receive the request to save the osgEarth terrain through the context menu. More...
 
boost::signal< void()> signal_saveTerrain
 The signal emitted when receive the request to save the terrain(MTF terrain) through the context menu. More...
 
boost::signal< void(const
TerrainContentItemKey &key,
bool visible)> 
signal_visibleLayerVisiblityChanged
 The signal emitted when the visibility of the layer has changed. More...
 
boost::signal< void(const
TerrainContentItemKey &key,
double opacity)> 
signal_visibleLayerOpacityChanged
 The signal emitted when the opacity of the layer has changed. More...
 
boost::signal< void(const
TerrainContentItemKey &key,
double minRange)> 
signal_visibleLayerMinVisibleRangeChanged
 The signal emitted when the minimal visible range of the layer has changed. More...
 
boost::signal< void(const
TerrainContentItemKey &key,
double maxRange)> 
signal_visibleLayerMaxVisibleRangeChanged
 The signal emitted when the maximum visible range of the layer has changed. More...
 
boost::signal< void(const
TerrainContentItemKey &key,
bool lighting)> 
signal_modelLayerLightingChanged
 The signal emitted when the lighting condition of the model layer has been changed. More...
 
boost::signal< void(const
TerrainContentItemKey &key,
double height)> 
signal_oceanLayerHeightChanged
 Signal emmitted when the height of the ocean layer has changed. More...
 
boost::signal< void(const
TerrainContentItemKey &key,
int lod)> 
signal_oceanLayerLodChanged
 Signal emmitted when the lod of the ocean layer has changed. More...
 
boost::signal< void(const
TerrainContentItemKey &key,
double wind)> 
signal_groundCoverWindChanged
 The signal emitted when wind of the ground cover changed. More...
 
boost::signal< void(const
TerrainContentItemKey &key,
double fill)> 
signal_groundCoverFillChanged
 The signal emitted when fill of the ground cover changed. More...
 
boost::signal< void(const
TerrainContentItemKey &key,
double maxDistance)> 
signal_groundCoverMaxDistanceChanged
 The signal emitted when maxDistance of the ground cover changed. More...
 
boost::signal< void(const
TerrainContentItemKey &key,
double brightness)> 
signal_groundCoverBrightnessChanged
 The signal emitted when brightness of the ground cover changed. More...
 
boost::signal< void(const
TerrainContentItemKey &key,
double contrast)> 
signal_groundCoverContrastChanged
 The signal emitted when contrast of the ground cover changed. More...
 
boost::signal< void()> signal_generateCacheButtonReleased
 The signal emitted when user clicks on the generate cache button. More...
 
boost::signal< void(std::vector
< std::string >)> 
signal_addData
 The signal emitted when user drag and drop data into the terrain editor. More...
 

Detailed Description

DtTerrainEditorInterface.

Interface class 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).

Member Enumeration Documentation

Enumerator
Terrain 
ImageLayerGroup 
ElevationLayerGroup 
ModelLayerGroup 
MaskLayerGroup 
BuildingLayerGroup 
LandCoverLayerGroup 
GroundCoverLayerGroup 
RoadSurfaceLayerGroup 
SplatLayerGroup 
TerrainPatchGroup 
OceanLayerGroup 
FeatureSourceGroup 
FeatureLayerGroup 
OsgEarthTerrainPatch 
OpenFlightTerrainPatch 
FeatureSource 
FeatureLayer 
OceanLayer 
ImageLayer 
ElevationLayer 
ModelLayer 
MaskLayer 
BuildingLayer 
LandCoverLayer 
GroundCoverLayer 
GroundCover 
RoadSurfaceLayer 
SplatLayer 
TreeWidget 
CompositeParentLayer 
CompositeChildLayer 
UnknownType 

Member Function Documentation

virtual void makVrv::DtTerrainEditorInterface::addTerrainContentTopLevelItem ( const TerrainContentItemKey key,
const std::string &  displayName 
)
pure virtual

Adds a top level terrain content item(no parent) to the terrain content tree widget.

Parameters
keyThe unique key of the terrain content item.
displayNameThe name to be displayed in the tree.

Implemented in makVrv::DtTerrainEditorWidget.

virtual void makVrv::DtTerrainEditorInterface::addTerrainContentItem ( const TerrainContentItemKey key,
const TerrainContentItemKey parentKey,
const std::string &  displayName,
int  index = -1,
bool  editable = false,
bool  checked = true 
)
pure virtual

Adds a terrain content item to the terrain content tree widget.

Parameters
keyThe unique key of the terrain content item.
displayNameThe name to be displayed in the tree.
indexThe sequence of the item under the parent item, default is -1 means inserts at last position.
editableWhether this item is editable.
checkedWhether check the checkbox that associated with this item.

Implemented in makVrv::DtTerrainEditorWidget.

virtual void makVrv::DtTerrainEditorInterface::addOsgEarthFragmentContentTopLevelItem ( const std::string &  key,
const std::string &  displayName 
)
pure virtual

Adds a top level osgEarth fragment(no parent) item to the osgEarth fragment tree widget.

Parameters
keyThe unique key of the osgEarth fragment item, usually the full url of the external reference.
displayNameThe name to be displayed in the tree.

Implemented in makVrv::DtTerrainEditorWidget.

virtual void makVrv::DtTerrainEditorInterface::addOsgEarthFragmentContentItem ( const std::string &  key,
const std::string &  parentKey,
const std::string &  displayName 
)
pure virtual

Adds an osgEarth fragment item to the osgEarth fragment tree widget.

Parameters
keyThe unique key of the osgEarth fragment item, usually the full url of the external reference.
parentKeyThe unique key of the osgEarth parent fragment item, usually the full url of the external reference.
displayNameThe name to be displayed in the tree.

Implemented in makVrv::DtTerrainEditorWidget.

virtual void makVrv::DtTerrainEditorInterface::clearTreeWidgets ( )
pure virtual

Cleans the contents of all tree widgets.

Implemented in makVrv::DtTerrainEditorWidget.

virtual void makVrv::DtTerrainEditorInterface::setFocusOnTerrainContentTreeWidgetItem ( const TerrainContentItemKey key,
bool  expanded = true 
)
pure virtual

Sets focus on the terrain content tree widget item.

Parameters
keyThe key of the terrain content tree widget item.
expandedWhether expands the tree widget item.

Implemented in makVrv::DtTerrainEditorWidget.

virtual void makVrv::DtTerrainEditorInterface::removeTerrainContentTreeWidgetItem ( const TerrainContentItemKey key)
pure virtual

Removes the terrain content tree widget item.

Parameters
keyThe key of the terrain content tree widget item.

Implemented in makVrv::DtTerrainEditorWidget.

virtual bool makVrv::DtTerrainEditorInterface::hasTerrainContentTreeWidgetItem ( const TerrainContentItemKey key)
pure virtual

Check if the terrain content tree widget has the item specifiged with the key.

Parameters
keyThe key of the terrain content tree widget item.

Implemented in makVrv::DtTerrainEditorWidget.

virtual bool makVrv::DtTerrainEditorInterface::hasTerrainPropertyTreeWidgetItem ( const TerrainContentItemKey key)
pure virtual

Check if the terrain property tree widget has the item specifiged with the key.

Parameters
keyThe key of the terrain property tree widget item.

Implemented in makVrv::DtTerrainEditorWidget.

virtual void makVrv::DtTerrainEditorInterface::cleanOsgEarthFragmentTreeWidget ( )
pure virtual

Clean the contents of osgEarth fragment tree.

Implemented in makVrv::DtTerrainEditorWidget.

virtual void makVrv::DtTerrainEditorInterface::setSelectedOsgEarthFragmentKeys ( const std::vector< TerrainContentItemKey > &  keys)
pure virtual

Sets all the TerrainContentItemKeys associated with the osgEarth fragment.

An osgEarth fragment(external reference file) earth file may have several terrain contents(models,images,etc).

Implemented in makVrv::DtTerrainEditorWidget.

virtual void makVrv::DtTerrainEditorInterface::moveTerrainContentTreeWidgetItem ( TerrainContentItemKey  key,
bool  up 
)
pure virtual

Moves the terrain content tree widget item up/down.

Parameters
keyThe key of the terrain content tree widget item.
upMoves the item up or down.

Implemented in makVrv::DtTerrainEditorWidget.

virtual void makVrv::DtTerrainEditorInterface::setGenerateCacheButtonEnabled ( bool  enabled)
pure virtual

Enables/Disables the generate cache button.

Parameters
enabledSets to true to enable, otherwise disable.

Implemented in makVrv::DtTerrainEditorWidget.

virtual void makVrv::DtTerrainEditorInterface::setGenerateBoundaryButtonEnabled ( bool  enabled)
pure virtual

Enables/Disables the generate boundary button.

Parameters
enabledSets to true to enable, otherwise disable.

Implemented in makVrv::DtTerrainEditorWidget.

virtual void makVrv::DtTerrainEditorInterface::setSaveTerrainButtonEnabled ( bool  enabled)
pure virtual

Enables/Disables the save terrain button.

Parameters
enabledSets to true to enable, otherwise disable.

Implemented in makVrv::DtTerrainEditorWidget.

virtual void makVrv::DtTerrainEditorInterface::setCommitChangeButtonEnabled ( bool  enabled)
pure virtual

Enables/Disables the save terrain button.

Parameters
enabledSets to true to enable, otherwise disable.

Implemented in makVrv::DtTerrainEditorWidget.

virtual void makVrv::DtTerrainEditorInterface::setRevertChangeButtonEnabled ( bool  enabled)
pure virtual

Enables/Disables the revert change button.

Parameters
enabledSets to true to enable, otherwise disable.

Implemented in makVrv::DtTerrainEditorWidget.

virtual void makVrv::DtTerrainEditorInterface::enableOsgEarthFragmentTabWidget ( bool  enabled)
pure virtual

Enables/Disables the osgEarth fragment tab widget.

Parameters
enabledSets to true to enable, otherwise disable.

Implemented in makVrv::DtTerrainEditorWidget.

virtual void makVrv::DtTerrainEditorInterface::enableTerrainRuntimeTabWidget ( bool  enabled)
pure virtual

Enables/Disables the terrain runtime tab widget.

Parameters
enabledSets to true to enable, otherwise disable.

Implemented in makVrv::DtTerrainEditorWidget.

virtual void makVrv::DtTerrainEditorInterface::resizeTerrainPropertyTreeWidget ( )
pure virtual

Resize the terrain property tree widget content.

Implemented in makVrv::DtTerrainEditorWidget.

virtual void makVrv::DtTerrainEditorInterface::resizeTerrainRuntimeTreeWidget ( )
pure virtual

Resize the terrain runtime tree widget content.

Implemented in makVrv::DtTerrainEditorWidget.

virtual void makVrv::DtTerrainEditorInterface::resizeTerrainFragmentTreeWidget ( )
pure virtual

Resize the terrain fragment tree widget content.

Implemented in makVrv::DtTerrainEditorWidget.

virtual void makVrv::DtTerrainEditorInterface::setTerrainPropertyTreeItemName ( const std::string &  name)
pure virtual

Sets the name entry to be displayed in the terrain property tree.

Implemented in makVrv::DtTerrainEditorWidget.

virtual void makVrv::DtTerrainEditorInterface::setTerrainPropertyTreeItemVisiblity ( bool  visible)
pure virtual

Sets the visible entry to be displayed in the terrain property tree item.

Implemented in makVrv::DtTerrainEditorWidget.

virtual void makVrv::DtTerrainEditorInterface::showTerrainPropertyTreeWidgetItem ( const TerrainContentItemKey key)
pure virtual

Shows the terrain property tree item associated with the terrain content item.

Parameters
keyThe key of the terrain content item.

Implemented in makVrv::DtTerrainEditorWidget.

virtual void makVrv::DtTerrainEditorInterface::showTerrainPropertyTreeWidgetItems ( const std::vector< TerrainContentItemKey > &  keys)
pure virtual

Shows the terrain property tree items associated with a list of terrain content items.

Parameters
keysA list of the keys of the terrain content items.

Implemented in makVrv::DtTerrainEditorWidget.

virtual void makVrv::DtTerrainEditorInterface::showTerrainRuntimeTreeWidgetItem ( const TerrainContentItemKey key)
pure virtual

Shows the terrain runtime tree item associated with the terrain content item.

Parameters
keyThe key of the terrain content item.

Implemented in makVrv::DtTerrainEditorWidget.

virtual void makVrv::DtTerrainEditorInterface::setOsgEarthTerrainProperty ( const TerrainContentItemKey key,
const osgEarth::MapOptions &  mapOptions,
const osgEarth::MapNodeOptions &  mapNodeOptions,
const osgEarth::TerrainOptions &  terrainOptions 
)
pure virtual

Sets the osgEarth terrain property.

Parameters
keyThe key of the osgEarth terrain.
mapOptionsThe map options of the osgEarth terrain.
mapNodeOptionsThe map node options of the osgEarth terrain.
terrainOptionsThe terrain options of the osgEarth terrain.

Implemented in makVrv::DtTerrainEditorWidget.

virtual void makVrv::DtTerrainEditorInterface::getOsgEarthTerrainProperty ( const TerrainContentItemKey key,
osgEarth::MapOptions &  mapOptions,
osgEarth::MapNodeOptions &  mapNodeOptions,
osgEarth::TerrainOptions &  terrainOptions 
)
pure virtual

Gets the osgEarth terrain property.

Parameters
keyThe key of the osgEarth terrain.
mapOptionsThe map options of the osgEarth terrain.
mapNodeOptionsThe map node options of the osgEarth terrain.
terrainOptionsThe terrain options of the osgEarth terrain.

Implemented in makVrv::DtTerrainEditorWidget.

virtual void makVrv::DtTerrainEditorInterface::setTerrainPatchProperty ( const TerrainContentItemKey key,
const makArchives::DtModelDefinitionRecord rec 
)
pure virtual

Sets the terrain patch property.

Parameters
keyThe key of the terrain patch.
recThe model definition record of the terrain patch.

Implemented in makVrv::DtTerrainEditorWidget.

virtual void makVrv::DtTerrainEditorInterface::getTerrainPatchProperty ( const TerrainContentItemKey key,
makArchives::DtModelDefinitionRecord rec 
)
pure virtual

Gets the terrain patch property.

Parameters
keyThe key of the terrain patch.
recThe model definition record of the terrain patch.

Implemented in makVrv::DtTerrainEditorWidget.

virtual void makVrv::DtTerrainEditorInterface::setFeatureLayerProperty ( const TerrainContentItemKey key,
const makArchives::DtFeatureLayerRecord rec 
)
pure virtual

Sets the feature layer property.

Parameters
keyThe key of the feature layer.
recThe feature layer record of the feature layer.

Implemented in makVrv::DtTerrainEditorWidget.

virtual void makVrv::DtTerrainEditorInterface::getFeatureLayerProperty ( const TerrainContentItemKey key,
makArchives::DtFeatureLayerRecord rec 
)
pure virtual

Gets the feature layer property.

Parameters
keyThe key of the feature layer.
recThe feature layer record of the feature layer.

Implemented in makVrv::DtTerrainEditorWidget.

virtual void makVrv::DtTerrainEditorInterface::setOceanLayerProperty ( const TerrainContentItemKey key,
const makArchives::DtOceanLayerRecord rec 
)
pure virtual

Sets the ocean layer property.

Parameters
keyThe key of the ocean layer.
recThe ocean layer record of the ocean layer.

Implemented in makVrv::DtTerrainEditorWidget.

virtual void makVrv::DtTerrainEditorInterface::getOceanLayerProperty ( const TerrainContentItemKey key,
makArchives::DtOceanLayerRecord rec 
)
pure virtual

Gets the ocean layer property.

Parameters
keyThe key of the ocean layer.
recThe ocean layer record of the ocean layer.

Implemented in makVrv::DtTerrainEditorWidget.

virtual void makVrv::DtTerrainEditorInterface::setImageLayerProperty ( const TerrainContentItemKey key,
const osgEarth::ImageLayerOptions &  option 
)
pure virtual

Sets the image layer property.

Parameters
keyThe key of the image layer.
optionThe image layer options of the image layer.

Implemented in makVrv::DtTerrainEditorWidget.

virtual void makVrv::DtTerrainEditorInterface::getImageLayerProperty ( const TerrainContentItemKey key,
osgEarth::ImageLayerOptions &  option 
)
pure virtual

Gets the image layer property.

Parameters
keyThe key of the image layer.
optionThe image layer options of the image layer.

Implemented in makVrv::DtTerrainEditorWidget.

virtual void makVrv::DtTerrainEditorInterface::setElevationLayerProperty ( const TerrainContentItemKey key,
const osgEarth::ElevationLayerOptions &  option 
)
pure virtual

Sets the elevation layer property.

Parameters
keyThe key of the elevation layer.
optionThe elevation layer options of the elevation layer.

Implemented in makVrv::DtTerrainEditorWidget.

virtual void makVrv::DtTerrainEditorInterface::getElevationLayerProperty ( const TerrainContentItemKey key,
osgEarth::ElevationLayerOptions &  option 
)
pure virtual

Gets the elevation layer property.

Parameters
keyThe key of the elevation layer.
optionThe elevation layer options of the elevation layer.

Implemented in makVrv::DtTerrainEditorWidget.

virtual void makVrv::DtTerrainEditorInterface::setModelLayerProperty ( const TerrainContentItemKey key,
const osgEarth::ModelLayerOptions &  option 
)
pure virtual

Sets the model layer property.

Parameters
keyThe key of the model layer.
optionThe elevation layer options of the model layer.

Implemented in makVrv::DtTerrainEditorWidget.

virtual void makVrv::DtTerrainEditorInterface::getModelLayerProperty ( const TerrainContentItemKey key,
osgEarth::ModelLayerOptions &  option 
)
pure virtual

Gets the model layer property.

Parameters
keyThe key of the model layer.
optionThe elevation layer options of the model layer.

Implemented in makVrv::DtTerrainEditorWidget.

virtual void makVrv::DtTerrainEditorInterface::setMaskLayerProperty ( const TerrainContentItemKey key,
const osgEarth::MaskLayerOptions &  option 
)
pure virtual

Sets the mask layer property.

Parameters
keyThe key of the mask layer.
optionThe mask layer options of the mask layer.

Implemented in makVrv::DtTerrainEditorWidget.

virtual void makVrv::DtTerrainEditorInterface::setBuildingLayerProperty ( const TerrainContentItemKey key,
const osgEarth::Buildings::BuildingLayerOptions &  option 
)
pure virtual

Sets the building layer property.

Parameters
keyThe key of the building layer.
optionThe building layer options of the building layer.

Implemented in makVrv::DtTerrainEditorWidget.

virtual void makVrv::DtTerrainEditorInterface::setLandCoverLayerProperty ( const TerrainContentItemKey key,
const osgEarth::LandCoverLayerOptions &  option 
)
pure virtual

Sets the land cover layer property.

Parameters
keyThe key of the land cover layer.
optionThe land cover layer options of the land cover layer.

Implemented in makVrv::DtTerrainEditorWidget.

virtual void makVrv::DtTerrainEditorInterface::setGroundCoverLayerProperty ( const TerrainContentItemKey key,
const osgEarth::Splat::GroundCoverLayerOptions &  option 
)
pure virtual

Sets the ground cover layer property.

Parameters
keyThe key of the ground cover layer.
optionThe ground cover layer options of the ground cover layer.

Implemented in makVrv::DtTerrainEditorWidget.

virtual void makVrv::DtTerrainEditorInterface::setGroundCoverProperty ( const TerrainContentItemKey key,
const osgEarth::Splat::GroundCoverOptions &  option 
)
pure virtual

Sets the ground cover property.

Parameters
keyThe key of the ground cover.
optionThe ground cover options of the ground cover.

Implemented in makVrv::DtTerrainEditorWidget.

virtual void makVrv::DtTerrainEditorInterface::setRoadSurfaceLayerProperty ( const TerrainContentItemKey key,
const osgEarth::Splat::RoadSurfaceLayerOptions &  option 
)
pure virtual

Sets the road surface layer property.

Parameters
keyThe key of the road surface layer.
optionThe road surface layer options of the road surface layer.

Implemented in makVrv::DtTerrainEditorWidget.

virtual void makVrv::DtTerrainEditorInterface::setSplatLayerProperty ( const TerrainContentItemKey key,
const osgEarth::Splat::SplatLayerOptions &  option 
)
pure virtual

Sets the splat layer property.

Parameters
keyThe key of the splat layer.
optionThe splat layer options of the splat layer.

Implemented in makVrv::DtTerrainEditorWidget.

virtual void makVrv::DtTerrainEditorInterface::showCacheDialog ( const std::string &  osgEarthTerrainDefinition)
pure virtual

Shows the osgEarth cache dialog.

Parameters
osgEarthTerrainDefinitionThe osgEarth terrain definition.

Implemented in makVrv::DtTerrainEditorWidget.

virtual DtUnicode makVrv::DtTerrainEditorInterface::showSaveMtfFileDialog ( const DtUnicode directory)
pure virtual

Shows the dialog about saving as mtf file(MAK Terrain Format).

Parameters
directoryThe directory to save the mtf file.

Implemented in makVrv::DtTerrainEditorWidget.

virtual DtUnicode makVrv::DtTerrainEditorInterface::showSaveOsgEarthFileDialog ( const DtUnicode directory)
pure virtual

Shows the dialog about saving as earth file.

Parameters
directoryThe directory to save the earth file.

Implemented in makVrv::DtTerrainEditorWidget.

virtual void makVrv::DtTerrainEditorInterface::showSaveFileConfirmationMessageBox ( const DtUnicode fileName)
pure virtual

Shows the message box to confirm the saving of a file.

Parameters
fileNameThe file name of the file.

Implemented in makVrv::DtTerrainEditorWidget.

virtual bool makVrv::DtTerrainEditorInterface::showOverrideOsgEarthFileDialog ( )
pure virtual

Shows the dialog to warn the user of overriding an existing earth file.

Implemented in makVrv::DtTerrainEditorWidget.

virtual bool makVrv::DtTerrainEditorInterface::showWarnReloadTerrainMessageBox ( bool checked)
pure virtual

Shows the dialog to warn the user of reloading the terrain.

Parameters
checkedWhether the not show again check box is checked by the user.

Implemented in makVrv::DtTerrainEditorWidget.

virtual bool makVrv::DtTerrainEditorInterface::showReloadTerrainAfterGenerateMaskMessageBox ( const std::string &  terrainPatch)
pure virtual

Shows the dialog to reload the terrain after generating a mask.

Parameters
terrainPatchThe name of the terrain patch to generate mask for.

Implemented in makVrv::DtTerrainEditorWidget.

virtual bool makVrv::DtTerrainEditorInterface::showChooseLayerTypeMessageBox ( const DtUnicode url,
int type 
)
pure virtual

Shows the message box that asks user to specify the type of the terrain layer when add new data to terrain.

Parameters
urlThe source data of the layer.
typeThe type of the layer.
Returns
Return true if user wants add this layer. Return false if use cancel the operation.

Implemented in makVrv::DtTerrainEditorWidget.

virtual void makVrv::DtTerrainEditorInterface::showFileExtensionNotSupportedMessageBox ( const DtUnicode fileName)
pure virtual

Shows the message box that the files user are trying to drag into the terrain editor is not supported.

Parameters
fileNameThe name of the file.

Implemented in makVrv::DtTerrainEditorWidget.

virtual void makVrv::DtTerrainEditorInterface::setGenerateBoundaryModels ( const std::vector< std::string > &  models)
pure virtual

Sets the list of models to generate boundary for.

Parameters
modelsA list of file names of the models.

Implemented in makVrv::DtTerrainEditorWidget.

virtual void makVrv::DtTerrainEditorInterface::setOceanLayerHeight ( const TerrainContentItemKey key,
double  height 
)
pure virtual

Sets the height of the ocean layer.

Parameters
keyThe key of the ocean layer.
heightThe height of the ocean layer.

Implemented in makVrv::DtTerrainEditorWidget.

virtual void makVrv::DtTerrainEditorInterface::setOceanLayerLod ( const TerrainContentItemKey key,
int  lod 
)
pure virtual

Sets the lod of the ocean layer.

Parameters
keyThe key of the ocean layer.
lodthe altitude at which the Ocean LOD's out.

Implemented in makVrv::DtTerrainEditorWidget.

virtual void makVrv::DtTerrainEditorInterface::setLayerVisiblity ( const TerrainContentItemKey key,
bool  visible 
)
pure virtual

Sets the visibility of the osgEarth::Layer.

Parameters
keyThe key of the osgEarth::Layer.
visibleThe visibility of the osgEarth::Layer.

Implemented in makVrv::DtTerrainEditorWidget.

virtual void makVrv::DtTerrainEditorInterface::setLayerOpacity ( const TerrainContentItemKey key,
double  opacity 
)
pure virtual

Sets the opacity of the osgEarth::Layer.

Parameters
keyThe key of the osgEarth::Layer.
opacityThe opacity of the osgEarth::Layer.

Implemented in makVrv::DtTerrainEditorWidget.

virtual void makVrv::DtTerrainEditorInterface::setLayerMinVisibleRange ( const TerrainContentItemKey key,
double  range 
)
pure virtual

Sets the minimum visible range of the osgEarth::VisibleLayer.

Parameters
rangeThe minimum visible range.

Implemented in makVrv::DtTerrainEditorWidget.

virtual void makVrv::DtTerrainEditorInterface::setLayerMaxVisibleRange ( const TerrainContentItemKey key,
double  range 
)
pure virtual

Sets the maximum visible range of the osgEarth::VisibleLayer.

Parameters
rangeThe maximum visible range.

Implemented in makVrv::DtTerrainEditorWidget.

virtual void makVrv::DtTerrainEditorInterface::setGroundCoverWind ( const TerrainContentItemKey key,
double  wind 
)
pure virtual

Sets the wind factor of ground cover.

Parameters
windThe wind speed of the ground cover[0..1].

Implemented in makVrv::DtTerrainEditorWidget.

virtual void makVrv::DtTerrainEditorInterface::setGroundCoverFill ( const TerrainContentItemKey key,
double  fill 
)
pure virtual

Sets the fill of the groundCover in the gui.

Parameters
keyThe key of the ground cover.
fillPercentage of land that this layer's instances will cover [0..1]. Lower values will result is more "patchiness" of placement.

Implemented in makVrv::DtTerrainEditorWidget.

virtual void makVrv::DtTerrainEditorInterface::setGroundCoverMaxDistance ( const TerrainContentItemKey key,
double  maxDistance 
)
pure virtual

Sets the maxDistance of the groundCover in the gui.

Parameters
keyThe key of the ground cover.
maxDistanceMaximum viewing distance from camera.

Implemented in makVrv::DtTerrainEditorWidget.

virtual void makVrv::DtTerrainEditorInterface::expandTerrainContentTreeWidget ( )
pure virtual

Expands all the items in terrain content tree widget.

Implemented in makVrv::DtTerrainEditorWidget.

virtual void makVrv::DtTerrainEditorInterface::expandOsgEarthFragmentTreeWidget ( )
pure virtual

Expands all the items in osgEarth fragment tree widget.

Implemented in makVrv::DtTerrainEditorWidget.

virtual int makVrv::DtTerrainEditorInterface::getIndexOfTerrainContentItem ( const TerrainContentItemKey key)
pure virtual

Gets the index of the terrain content item.

Parameters
keyThe key of the terrain content item. The index of the terrain content item under it's parent. Return -1 if the item not found.

Implemented in makVrv::DtTerrainEditorWidget.

Member Data Documentation

boost::signal<void(const TerrainContentItemKey& key)> makVrv::DtTerrainEditorInterface::signal_terrainPropertyTreeWidgetItem_currentItemChanged

boost signals

The signal emitted when the current item of the terrain property tree has changed.

Parameters
keyThe key of the current selected terrain content tree item.
boost::signal<void(const TerrainContentItemKey& key)> makVrv::DtTerrainEditorInterface::signal_terrainRuntimeTreeWidgetItem_currentItemChanged

The signal emitted when the current item of the terrain runtime property tree has changed.

Parameters
keyThe key of the terrain content tree item.
boost::signal<void(const TerrainContentItemKey& key)> makVrv::DtTerrainEditorInterface::signal_terrainContentTreeWidget_itemDoubleClicked

The signal emitted when double click on the terrain content item.

Parameters
keyThe key of the terrain content tree item.
boost::signal<void(const TerrainContentItemKey& key, bool visible)> makVrv::DtTerrainEditorInterface::signal_terrainContentTreeWidget_itemVisibilityChanged

The signal emitted when toggle the visibility check box of the terrain content tree item.

Parameters
keyThe key of the terrain content tree item.
visibleThe visibility of the terrain content item.
boost::signal<void(const std::string& key)> makVrv::DtTerrainEditorInterface::signal_osgEarthFragmentTreeWidget_currentItemChanged

The signal emitted when the current item of the osgEarth fragment tree has changed.

Parameters
keyThe unique key of the osgEarth fragment item, usually the full url of the external reference.
boost::signal<void(const TerrainContentItemKey& key)> makVrv::DtTerrainEditorInterface::signal_terrainContentCommitChangesButtonReleased

The signal emitted when user hits the commit changes button.

Parameters
keyThe key of the current selected terrain content item.
boost::signal<void(const TerrainContentItemKey& key)> makVrv::DtTerrainEditorInterface::signal_terrainContentRevertChangesButtonReleased

The signal emitted when user hits the revert changes button.

Parameters
keyThe key of the current selected terrain content item.
boost::signal<void(const std::vector<TerrainContentItemKey>& keys)> makVrv::DtTerrainEditorInterface::signal_osgEarthFragmentCommitChangesButtonReleased

The signal emitted when user hits the commit button when the osgEarth fragment Tab is enabled.

Parameters
keysThe keys of all the terrain content items that included in the selected external fragment file.
boost::signal<void(const TerrainContentItemKey& key, const std::string& oldName, const std::string& newName)> makVrv::DtTerrainEditorInterface::signal_renameTerrainContentTreeWidgetItem

The signal emitted when rename the item in terrain content tree through context menu.

Parameters
keyThe key of the current selected terrain content item.
oldNameThe name before rename.
newNameThe name after rename.
boost::signal<void(const TerrainContentItemKey& key, bool up)> makVrv::DtTerrainEditorInterface::signal_moveTerrainContentTreeWidgetItem

The signal emitted when the user moves up/down the terrain content item through the context menu.

Parameters
keyThe key of the current selected terrain content item.
upIf true, move up, otherwise move down.
boost::signal<void(const TerrainContentItemKey& key)> makVrv::DtTerrainEditorInterface::signal_saveTerrainContentTreeWidgetItem

The signal emitted when the user clicks save on the terrain content item through the context menu(if appliable).

Parameters
keyThe key of the current selected terrain content item.
boost::signal<void(const TerrainContentItemKey& key)> makVrv::DtTerrainEditorInterface::signal_deleteTerrainContentTreeWidgetItem

The signal emitted when the user clicks save on the terrain content item.

Parameters
keyThe key of the current selected terrain content item.
boost::signal<void()> makVrv::DtTerrainEditorInterface::signal_generateBoundaryButton_released

The signal emitted when user clicks on the generate boundary button.

boost::signal<void(const DtUnicode& fileName)> makVrv::DtTerrainEditorInterface::signal_addTerrainPatchButtonReleased

The signal emitted when user clicks on the add terrain patch button.

fileName The file name of the terrain patch about to be added.

boost::signal<void(const DtUnicode& fileName)> makVrv::DtTerrainEditorInterface::signal_addFeatureLayerButtonReleased

The signal emitted when user clicks on the add feature layer button(MAK Terrain Toolkit feature layer).

fileName The file name of the feature layer about to be added.

boost::signal<void()> makVrv::DtTerrainEditorInterface::signal_addOceanLayerButtonReleased

The signal emitted when user clicks on the add ocean layer button.

fileName The file name of the ocean layer about to be added.

boost::signal<void(int type, const std::string& name, const std::string& driver, const DtUnicode& url)> makVrv::DtTerrainEditorInterface::signal_osgEarthTerrainLayerRequestAdded

The signal emitted when a terrain layer(Image/Elevation) has been added through the gui.

Parameters
typeDtOsgEarthDataRequest::OsgEarthDataType enum, present the type of the layer.
nameThe name of the layer, must be unique.
driverThe driver used to render this layer, required.
urlThe URI of the layer, can be a local file path or remote URI.
boost::signal<void(const std::string& name, const std::string& driver, const DtUnicode& url, const std::string& wfsType)> makVrv::DtTerrainEditorInterface::signal_osgEarthModelLayerRequestAdded

The signal emitted when a model layer has been added through the gui.

Parameters
nameThe name of the layer, must be unique.
driverThe driver used to render this layer, required.
urlThe URI of the layer, can be a local file path or remote URI.
wfsTypeThe wfs typename of the model layer, only appliable if the model source is wfs(OGC Web Feature Service).
boost::signal<void(const std::string& definition, const std::string& name, bool geocentric, bool convexHull)> makVrv::DtTerrainEditorInterface::signal_generateBoundary

The signal emitted when receive the request to generate boundary for a given terrain patch.

Parameters
terrainPatchDefinitionThe terrain definition of the terrain patch which used to generate boundary.
nameThe name of the mask layer.
geocentricIf the terrain database is geocentric.
convexHullCalculate a convex hull instead of a full boundary.
boost::signal<void()> makVrv::DtTerrainEditorInterface::signal_saveOsgEarthTerrain

The signal emitted when receive the request to save the osgEarth terrain through the context menu.

boost::signal<void()> makVrv::DtTerrainEditorInterface::signal_saveTerrain

The signal emitted when receive the request to save the terrain(MTF terrain) through the context menu.

boost::signal<void(const TerrainContentItemKey& key, bool visible)> makVrv::DtTerrainEditorInterface::signal_visibleLayerVisiblityChanged

The signal emitted when the visibility of the layer has changed.

Parameters
keyThe key of the current selected layer.
visibleThe visibility of the layer.
boost::signal<void(const TerrainContentItemKey& key, double opacity)> makVrv::DtTerrainEditorInterface::signal_visibleLayerOpacityChanged

The signal emitted when the opacity of the layer has changed.

Parameters
keyThe key of the current selected layer.
opacityThe opacity of the layer[0..1].
boost::signal<void(const TerrainContentItemKey& key, double minRange)> makVrv::DtTerrainEditorInterface::signal_visibleLayerMinVisibleRangeChanged

The signal emitted when the minimal visible range of the layer has changed.

Parameters
keyThe key of the current selected layer.
minRangeThe minimal visible range.
boost::signal<void(const TerrainContentItemKey& key, double maxRange)> makVrv::DtTerrainEditorInterface::signal_visibleLayerMaxVisibleRangeChanged

The signal emitted when the maximum visible range of the layer has changed.

Parameters
keyThe key of the current selected layer.
maxRangeThe maximum visible range.
boost::signal<void(const TerrainContentItemKey& key, bool lighting)> makVrv::DtTerrainEditorInterface::signal_modelLayerLightingChanged

The signal emitted when the lighting condition of the model layer has been changed.

Parameters
keyThe key of the current selected layer.
lightingWhether apply lighting on the model layer.
boost::signal<void(const TerrainContentItemKey& key, double height)> makVrv::DtTerrainEditorInterface::signal_oceanLayerHeightChanged

Signal emmitted when the height of the ocean layer has changed.

Parameters
heightThe height of the ocean layer.
boost::signal<void(const TerrainContentItemKey& key, int lod)> makVrv::DtTerrainEditorInterface::signal_oceanLayerLodChanged

Signal emmitted when the lod of the ocean layer has changed.

Parameters
lodThe altitude at which the Ocean LOD's out.
boost::signal<void(const TerrainContentItemKey& key, double wind)> makVrv::DtTerrainEditorInterface::signal_groundCoverWindChanged

The signal emitted when wind of the ground cover changed.

Parameters
keyThe key of the current selected layer. Wind speed [0..1]
boost::signal<void(const TerrainContentItemKey& key, double fill)> makVrv::DtTerrainEditorInterface::signal_groundCoverFillChanged

The signal emitted when fill of the ground cover changed.

Parameters
keyThe key of the current selected layer. Percentage of land that this layer's instances will cover [0..1]. Lower values will result is more "patchiness" of placement.
boost::signal<void(const TerrainContentItemKey& key, double maxDistance)> makVrv::DtTerrainEditorInterface::signal_groundCoverMaxDistanceChanged

The signal emitted when maxDistance of the ground cover changed.

Parameters
keyThe key of the current selected layer. Maximum viewing distance from camera.
boost::signal<void(const TerrainContentItemKey& key, double brightness)> makVrv::DtTerrainEditorInterface::signal_groundCoverBrightnessChanged

The signal emitted when brightness of the ground cover changed.

Parameters
keyThe key of the current selected layer. Brightness factor for rendering [1..], 1 = default
boost::signal<void(const TerrainContentItemKey& key, double contrast)> makVrv::DtTerrainEditorInterface::signal_groundCoverContrastChanged

The signal emitted when contrast of the ground cover changed.

Parameters
keyThe key of the current selected layer. Contrast factor for rendering [0..], 0 = default
boost::signal<void()> makVrv::DtTerrainEditorInterface::signal_generateCacheButtonReleased

The signal emitted when user clicks on the generate cache button.

boost::signal<void(std::vector<std::string>)> makVrv::DtTerrainEditorInterface::signal_addData

The signal emitted when user drag and drop data into the terrain editor.


The documentation for this class was generated from the following file:

Document ID: Generated on Thu Aug 27 10:56:05 EDT 2020 from SVN revision 217100
Copyright © 2005-2020 MAK Technologies. All Rights Reserved (www.mak.com)