![]() |
VR-Forces 4.10 Class Documentation
|
Classes | |
| class | DtTerrainEditorMapCallbak |
| DtTerrainEditorMapCallbak. More... | |
Public Member Functions | |
| virtual | ~DtTerrainEditorLogic () |
| DTOR. More... | |
| virtual void | setTerrainContentItemVisible (const DtTerrainEditorInterface::TerrainContentItemKey &key, bool visible) |
| Slot when toggle the check box of the terrain content tree, used to toggle the visibility of the content if applicable. More... | |
| virtual void | setTerrainContentItemName (const DtTerrainEditorInterface::TerrainContentItemKey &key, const std::string &newName) |
| Slot when rename the item in terrain content tree through context menu. More... | |
| virtual void | moveTerrainContentItem (const DtTerrainEditorInterface::TerrainContentItemKey &key, bool up) |
| Slot when the user moves up/down the terrain content item through the context menu. More... | |
Protected Member Functions | |
| DtTerrainEditorLogic (DtDe &de, DtTerrainEditorInterface *iFace) | |
| Protected Constructor. More... | |
| virtual void | connectSignals () |
| Connect the signals. More... | |
| virtual void | disconnectSignals () |
| Disconnect the signals. More... | |
| virtual void | syncCurrentScene () |
| Populate the terrain content tree with the contents of the currently loaded terrain. More... | |
| virtual void | onImageLayerCreated (osgEarth::ImageLayer *imageLayer) |
| Function called when an image layer is created, setup the contents in the gui, update the xml file, etc. More... | |
| virtual void | onElevationLayerCreated (osgEarth::ElevationLayer *elevationLayer) |
| Function called when an elevation layer is created, setup the contents in the gui, update the xml file, etc. More... | |
| virtual void | onModelLayerCreated (osgEarth::ModelLayer *modelLayer) |
| Function called when a model layer is created, setup the contents in the gui, update the xml file, etc. More... | |
| virtual void | onMaskLayerCreated (osgEarth::TerrainConstraintLayer *maskLayer) |
| Function called when a mask layer is created, setup the contents in the gui, update the xml file, etc. More... | |
| virtual void | syncImageLayerToOsgEarthFile (osgEarth::ImageLayer *imageLayer) |
| Synchronize the image layer option to the earth file when an image layer is added. More... | |
| virtual void | syncElevationLayerToOsgEarthFile (osgEarth::ElevationLayer *elevationLayer) |
| Synchronize the elevation layer option to the earth file when an elevation layer is added. More... | |
| virtual void | syncModelLayerToOsgEarthFile (osgEarth::ModelLayer *modelLayer) |
| Synchronize the model layer option to the earth file when a model layer is added. More... | |
| virtual void | syncMaskLayerToOsgEarthFile (osgEarth::TerrainConstraintLayer *maskLayer) |
| Synchronize the mask layer option to the earth file when a mask layer is added. More... | |
| virtual void | syncMaskConfigToOsgEarthFile (const std::string &name, const std::string &boundary) |
| Synchronize the mask config option to the earth file. More... | |
| virtual void | removeConfigInOsgEarthFile (const std::string &key, const std::string &name) |
| Remove a xml element in the earth file with the given key and name attribute. More... | |
| virtual void | onOsgEarthTerrainCleared () |
| Clean/Reset all osgEarth related variables when the osgEarth terrain is cleared. More... | |
| virtual void | setTerrainPropertyItemOption (const DtTerrainEditorInterface::TerrainContentItemKey &key) |
| Sets the terrain property tree for the given terrain content item(if appliable). More... | |
| virtual void | setOsgEarthFragmentOptions (const DtOsgEarthFile *file) |
| Sets the property options of a DtOsgEarthFile. More... | |
| virtual void | commitChange (const DtTerrainEditorInterface::TerrainContentItemKey &key) |
| Commits changes made to the options of the terrain content item. More... | |
| DtOsgEarthDataRequest * | createOsgEarthTerrainLayerRequest (int type, const std::string &name, const std::string &driver, const DtUnicode &url) |
| Creates a request for adding a terrain layer(Image/Elevation layer). More... | |
| DtOsgEarthDataRequest * | createOsgEarthModelLayerRequest (const std::string &name, const std::string &driver, const DtUnicode &url, const std::string &wfsType) |
| Creates a request for adding a model layer. More... | |
| virtual void | reloadTerrainPatch (const std::string &terrainDefinition) |
| Reloads the terrain patch, usually used after commit changes to the model layer/ terrain patches. More... | |
| virtual void | reloadOsgEarthTerrain () |
| Reload the osgEarth terrain if there is one. More... | |
| virtual DtTerrainPatch * | findTerrainPatch (const std::string &defintion) |
| Finds the terrain patch with the given terrain definition. More... | |
| virtual DtFeatureLayer * | findFeatureLayer (const std::string &name) |
| Finds the feature layer with the given name. More... | |
| virtual DtOceanLayer * | findOceanLayer (const std::string &name) |
| Finds the feature layer with the given name. More... | |
| virtual bool | ifTerrainContentItemHasProperty (DtTerrainEditorInterface::TerrainContentItemType type) |
| Check if this type of terrain content item has any property to display(Group item has no property to display). More... | |
| virtual void | removeTemplateFiles () |
| Removes the template files generated during the operation. More... | |
| virtual void | addData (const std::string &url) |
| Add data into the terrain (could be file or folder). More... | |
| virtual int | findIndexForGroupItem (const DtTerrainEditorInterface::TerrainContentItemKey &key) |
| Find the sequence/index of the top level group item in the terrain content tree depends on the existing top level items. More... | |
| virtual DtUnicode | findFileNameOfTerrainPatch (const std::string &terrainDefinition) |
| Finds the file name of a terrain patch. More... | |
| virtual bool | isOsgEarthTerrain (const DtUnicode &fileName) |
| Determine if a terrain file is an osg earth terrain by the "earth" extension. More... | |
| int | getContentGroupKeyTypeFromClassName (std::string className) const |
| Gets the terrain content item type for the group that the osgEarth::Layer belongs in based on class name. More... | |
| int | getContentItemKeyTypeFromClassName (std::string className) const |
| Gets the terrain content item type for the osgEarth::Layer based on class name. More... | |
| virtual std::string | getTerrainContentGroupItemDisplayName (int type) |
| Gets the display name of group item/top level item of the terrain content tree. More... | |
| bool | isTerrainContentItemVisibilityCheckboxEnabled (int type) const |
| Gets whether terrain content items of the provided type can have their visibility toggled. More... | |
| virtual void | populateTerrainPatch (const DtTerrainPatchObject *terrainPatchObject, int sequence) |
| Populate the terrain patch with the given index in the terrain content tree widget. More... | |
| virtual void | populateFeatureLayer (const DtFeatureLayer *featureLayer, int sequence) |
| Populate the feature layer with the given index in the terrain content tree widget. More... | |
| virtual void | populateOceanLayer (const DtOceanLayer *oceanLayer, int sequence) |
| Populate the ocean layer with the given index in the terrain content tree widget. More... | |
| virtual void | processOsgEarthTerrain (const std::string &terrainDefinition, const DtUnicode &fileName) |
| Sets up the necessary components like osgEarth file parser, map callback, finds the map/mapNode, etc. More... | |
| template<typename T > | |
| void | populateOsgEarthLayers () |
| Gets all layers of the templated type from the osgEarth::Map and calls populateOsgEarthLayer on each one This function should not be used with composite layers. More... | |
| virtual void | populateOsgEarthLayer (osg::ref_ptr< osgEarth::Layer > layer, int index) |
| Uses widget interface to add an osgEarth layer to the terrain content tree. More... | |
| virtual void | populateOsgEarthTerrain () |
| Populate the contents in osgEarth terrain. More... | |
| virtual void | populateOsgEarthFragments () |
| Populate the external xml fragments listed in the main earth file(if any). More... | |
| virtual void | populateImageLayers () |
| Populate all the image layers in osgEarth terrain(if any). More... | |
| virtual void | populateElevationLayers () |
| Populate all the elevation layers in osgEarth terrain(if any). More... | |
| virtual void | populateLandCoverLayers () |
| Populate all the landCover layers in osgEarth terrain(if any). More... | |
| virtual void | populateImageLayer (osgEarth::ImageLayer *imageLayer, int sequence) |
| Populate the image layer with the given sequence of all image layers. More... | |
| virtual void | populateElevationLayer (osgEarth::ElevationLayer *elevationLayer, int sequence) |
| Populate the elevation layer with the given sequence of all elevation layers. More... | |
| virtual void | populateLandCoverLayer (osgEarth::LandCoverLayer *layer, int sequence) |
| Populate the building layer with the given sequence of all building layers. More... | |
| virtual void | slot_terrainPatchCreated (DtTerrainPatchObject &terrainPatchObject) |
| Slot function called when the DtTerrainPatchObjectSignaler signals that a new terrain has been added. More... | |
| virtual void | slot_terrainPatchToBeDeleted (const DtTerrainPatch &patch) |
| Slot function called when the DtTerrainPatchObjectSignaler signals that a terrain about to be deleted. More... | |
| virtual void | slot_featureLayerAdded (const DtFeatureLayer &layer) |
| Slot function called when the DtTerrainSignaler signals that a new feature layer has been added. More... | |
| virtual void | slot_featureLayerToBeDeleted (const DtFeatureLayer &layer) |
| Slot function called when the DtTerrainSignaler signals that a new feature layer about to be deleted. More... | |
| virtual void | slot_oceanLayerAdded (const DtOceanLayer &layer) |
| Slot function called when the DtTerrainSignaler signals that a new ocean layer has been added. More... | |
| virtual void | slot_oceanLayerToBeDeleted (const DtOceanLayer &layer) |
| Slot function called when the DtTerrainSignaler signals that a new ocean layer about to be deleted. More... | |
| virtual void | slot_terrainLoaded (const makArchives::DtTerrainRecord &) |
| Slot function called when the DtTerrainSignaler signals that the terrain has been loaded. More... | |
| virtual void | slot_terrainToBeCleared (bool reload) |
| Slot function called when the DtTerrainSignaler signals that the terrain is about to be cleared. More... | |
| virtual void | slot_clientAdded () |
| Slot function called when the DtIgCommunicatorSignaler signals that a client is about to be connected. More... | |
| virtual void | slot_terrainCleared () |
| Slot function called when the DtTerrainSignaler signals that the terrain has been cleaned. More... | |
| virtual void | slot_terrainContentTreeWidget_itemDoubleClicked (const DtTerrainEditorInterface::TerrainContentItemKey &key) |
| Slot when double click on the terrain content tree, used to navigate the observer to the center of content if appliable. More... | |
| virtual void | slot_osgEarthFragmentTreeWidget_currentItemChanged (const std::string &key) |
| Slot when the current item in the osgEarth fragment tree widget changes. More... | |
| virtual void | slot_terrainContentCommitChangesButtonReleased (const DtTerrainEditorInterface::TerrainContentItemKey &key) |
| Slot when user hit the commit changes button. More... | |
| virtual void | slot_terrainContentRevertChangesButtonReleased (const DtTerrainEditorInterface::TerrainContentItemKey &key) |
| Slot when user hit the revert changes button. More... | |
| virtual void | slot_terrainPropertyTreeWidgetItem_currentItemChanged (const DtTerrainEditorInterface::TerrainContentItemKey &key) |
| Slot when the current item in the terrain property tree changed. More... | |
| virtual void | slot_osgEarthFragmentCommitChangesButtonReleased (const std::vector< DtTerrainEditorInterface::TerrainContentItemKey > &keys) |
| Slot when user hits the commit button when the osgEarth fragment Tab is enabled. More... | |
| virtual void | slot_saveTerrainContentTreeWidgetItem (const DtTerrainEditorInterface::TerrainContentItemKey &key) |
| Slot when the user clicks save on the terrain content item through the context menu(if appliable). More... | |
| virtual void | slot_deleteTerrainContentTreeWidgetItem (const DtTerrainEditorInterface::TerrainContentItemKey &key) |
| Slot when the user clicks save on the terrain content item. More... | |
| virtual void | slot_addFeatureLayerButtonReleased (const DtUnicode &fileName, bool toFrontEnd, bool toSimEngine) |
| Slot when user clicks on the add feature layer button(MAK Terrain Toolkit feature layer). More... | |
| virtual void | slot_addOceanLayerButtonReleased () |
| Slot when user clicks on the add ocean layer button. More... | |
| virtual void | slot_generateBoundaryButton_released () |
| Slot when user clicks on the generate boundary button. More... | |
| virtual void | slot_osgEarthTerrainLayerRequestAdded (int type, const std::string &name, const std::string &driver, const DtUnicode &url) |
| Slot when a terrain layer(Image/Elevation) has been added through the gui. More... | |
| virtual void | slot_osgEarthModelLayerRequestAdded (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_generateBoundary (const std::string &terrainPatchDefinition, const std::string &name, bool geocentric, bool convexHull) |
| Slot when receive the request to generate boundary for a given terrain patch. More... | |
| virtual void | slot_generateCacheButtonReleased () |
| Slot when user clicks on the generate cache button. More... | |
| virtual void | slot_saveTerrain () |
| Slot when receive the request to save the terrain(MTF terrain) through the context menu. More... | |
| virtual void | slot_quit () |
| Slot when the application is quiting. More... | |
| virtual void | slot_addData (std::vector< std::string > files) |
| The slot when user drag and drop data into the terrain editor. More... | |
| virtual void | slot_terrainDescriptionChanged (const DtTerrainEditorInterface::TerrainContentItemKey &key, const std::string &description) |
| Slot when the description of the terrain has changed. More... | |
| virtual void | slot_visibleLayerVisiblityChanged (const DtTerrainEditorInterface::TerrainContentItemKey &key, bool visible) |
| Slot when the visibility of the layer has changed. More... | |
| virtual void | slot_visibleLayerOpacityChanged (const DtTerrainEditorInterface::TerrainContentItemKey &key, double opacity) |
| Slot when the opacity of the layer has changed. More... | |
| virtual void | slot_visibleLayerMinVisibleRangeChanged (const DtTerrainEditorInterface::TerrainContentItemKey &key, double minRange) |
| Slot when the minimal visible range of the layer has changed. More... | |
| virtual void | slot_visibleLayerMaxVisibleRangeChanged (const DtTerrainEditorInterface::TerrainContentItemKey &key, double maxRange) |
| Slot when the maximum visible range of the layer has changed. More... | |
| virtual void | slot_osgEarthDebugModeStateChanged (const DtTerrainEditorInterface::TerrainContentItemKey &key, bool enabled) |
| Slot when the osgEarth debug mode state has changed. More... | |
| virtual void | slot_terrainMaxPagedLODsChanged (const DtTerrainEditorInterface::TerrainContentItemKey &key, int maxPagedLODs) |
| Slot when the maximum number of paged LODs for this terrain has changed. More... | |
| virtual void | slot_oceanLayerNameChanged (const DtTerrainEditorInterface::TerrainContentItemKey &key, const std::string &name) |
| Slot when the name of the ocean layer has changed. More... | |
| virtual void | slot_oceanLayerHeightChanged (const DtTerrainEditorInterface::TerrainContentItemKey &key, double height) |
| Slot when the height of the ocean layer has changed. More... | |
| virtual void | slot_oceanLayerLodChanged (const DtTerrainEditorInterface::TerrainContentItemKey &key, int lod) |
| Slot when the lod of the ocean layer has changed. More... | |
| virtual void | moveCameraToGeoExtent (const osgEarth::GeoExtent &geoExtent) |
| Move the camera to the center of a bounding box and oritented it to look straight down at the center. More... | |
| virtual void | moveCameraToTerrainCenter (const std::string &terrainDefinition) |
| Move the camera to the center of a terrain patch and oritented it to look straight down at the center. More... | |
| osgEarth::GeoExtent | findGeoExtentForGroundCoverLayer (osgEarth::Splat::GroundCoverLayer *layer) |
| Finds the GeoExtent for a ground cover layer. More... | |
| osgEarth::GeoExtent | findGeoExtentForSplatLayer (osgEarth::Splat::SplatLayer *layer) |
| Finds the GeoExtent for a ground cover. More... | |
| virtual void | updateOsgEarthTerrainProperty (const std::string &oldName, const osgEarth::MapOptions &mapOptions, const osgEarth::MapNodeOptions &mapNodeOptions, const osgEarth::TerrainOptions &terrainOptions) |
| Updates the <map>, <options>, <terrain> fragments in the earth file. More... | |
| virtual void | updateImageLayerProperty (osgEarth::ImageLayer *layer, const osgEarth::ImageLayerOptions &options) |
| Updates the <image> fragment in the earth file. More... | |
| virtual void | updateElevationLayerProperty (osgEarth::ElevationLayer *layer, const osgEarth::ElevationLayerOptions &options) |
| Updates the <elevation> fragment in the earth file. More... | |
| virtual void | updateModelLayerProperty (osgEarth::ModelLayer *layer, const osgEarth::ModelLayerOptions &options) |
| Updates the <model> fragment in the earth file. More... | |
| virtual void | updateOpenFlightTerrainProperty (DtTerrainPatch *patch, const makArchives::DtModelDefinitionRecord &rec) |
| Updates the terrain patch record in the mtf file. More... | |
| virtual void | updateFeatureLayerProperty (DtFeatureLayer *layer, const makArchives::DtFeatureLayerRecord &rec) |
| Updates the featurel layer record in the mtf file. More... | |
| virtual void | updateOceanLayerProperty (DtOceanLayer *layer, const makArchives::DtOceanLayerRecord &rec) |
| Updates the ocean layer record in the mtf file. More... | |
| virtual void | getConfigForOsgEarthTerrainProperty (const osgEarth::MapOptions &mapOptions, const osgEarth::MapNodeOptions &mapNodeOptions, const osgEarth::TerrainOptions &terrainOptions, osgEarth::Config &mapConfig, osgEarth::Config &optionConfig) |
| Gets the config for the <map> and <options> from different related options. More... | |
| virtual void | getConfigForImageLayer (osgEarth::ImageLayer *layer, const osgEarth::ImageLayerOptions &options, osgEarth::Config &optionConfig) |
| Gets the config for <image>. More... | |
| virtual void | getConfigForElevationLayer (osgEarth::ElevationLayer *layer, const osgEarth::ElevationLayerOptions &options, osgEarth::Config &optionConfig) |
| Gets the config for <elevation>. More... | |
| virtual void | getConfigForModelLayer (osgEarth::ModelLayer *layer, const osgEarth::ModelLayerOptions &options, osgEarth::Config &optionConfig) |
| Gets the config for <model>. More... | |
| virtual void | getConfigForMaskLayer (osgEarth::TerrainConstraintLayer *layer, const osgEarth::MaskLayerOptions &options, osgEarth::Config &optionConfig) |
| Gets the config for <mask>. More... | |
| virtual void | saveTerrain () |
| Saves the entire terrain contents as MTF(MAK Terrain Format) file. More... | |
| virtual void | saveTerrainPatches () |
| Saves all the terrain patches as a MTF(MAK Terrain Format) file. More... | |
| virtual void | saveFeatureLayers () |
| Saves all the feature layers as a MTF(MAK Terrain Format) file. More... | |
| virtual void | saveOceanLayers () |
| Saves all the ocean layers as a MTF(MAK Terrain Format) file. More... | |
| virtual void | saveImageLayers () |
| Saves all the image layers as an earth file. More... | |
| virtual void | saveElevationLayers () |
| Saves all the elevation layers as an earth file. More... | |
| virtual void | saveModelLayers () |
| Saves all the model layers as an earth file. More... | |
| virtual void | saveBuildingLayers () |
| Saves all the building layers as an earth file. More... | |
| virtual void | saveLandCoverLayers () |
| Saves all the landCover layers as an earth file. More... | |
| virtual void | saveGroundCoverLayers () |
| Saves all the ground cover layers as an earth file. More... | |
| virtual void | saveRoadSurfaceLayers () |
| Saves all the road surface layers as an earth file. More... | |
| virtual void | saveSplatLayers () |
| Saves all the splat layers as an earth file. More... | |
| virtual void | saveOsgEarthTerrain () |
| Saves the osgEarth terrain as an earth file. More... | |
| virtual void | saveTerrainPatch (DtTerrainPatch *patch) |
| Saves the terrain patch as a MTF(MAK Terrain Format) file. More... | |
| virtual void | saveFeatureLayer (DtFeatureLayer *feature) |
| Saves the feature layer as a MTF(MAK Terrain Format) file. More... | |
| virtual void | saveOceanLayer (DtOceanLayer *ocean) |
| Saves the ocean layer as a MTF(MAK Terrain Format) file. More... | |
| virtual void | saveImageLayer (osgEarth::ImageLayer *layer) |
| Saves the image layer as an earth file. More... | |
| virtual void | saveElevationLayer (osgEarth::ElevationLayer *layer) |
| Saves the elevation layer as an earth file. More... | |
| virtual void | saveModelLayer (osgEarth::ModelLayer *layer) |
| Saves the model layer as an earth file. More... | |
| virtual void | saveBuildingLayer (osgEarth::Buildings::BuildingLayer *layer) |
| Saves the building layer as an earth file. More... | |
| virtual void | saveLandCoverLayer (osgEarth::LandCoverLayer *layer) |
| Saves the land cover layer as an earth file. More... | |
| virtual void | saveGroundCoverLayer (osgEarth::Splat::GroundCoverLayer *layer) |
| Saves the ground cover layer as an earth file. More... | |
| virtual void | saveRoadSurfaceLayer (osgEarth::Splat::RoadSurfaceLayer *layer) |
| Saves the road surface layer as an earth file. More... | |
| virtual void | saveSplatLayer (osgEarth::Splat::SplatLayer *layer) |
| Saves the splat layer as an earth file. More... | |
| virtual void | saveOsgEarthLayer (osgEarth::Layer *layer) |
| Saves the generic osgEarth layer as an earth file. More... | |
| virtual void | removeTerrain () |
| Removes the terrain. More... | |
| virtual void | removeTerrainPatches () |
| Removes all the terrain patches. More... | |
| virtual void | removeFeatureLayers () |
| Removes all the feature layers. More... | |
| virtual void | removeOsgEarthFeatureLayers () |
| Removes all the osgEarth feature layers. More... | |
| virtual void | removeOceanLayers () |
| Removes all the ocean layers. More... | |
| virtual void | removeImageLayers () |
| Removes all the image layers. More... | |
| virtual void | removeElevationLayers () |
| Removes all the elevation layers. More... | |
| virtual void | removeModelLayers () |
| Removes all the model layers. More... | |
| virtual void | removeBuildingLayers () |
| Removes all the building layers. More... | |
| virtual void | removeLandCoverLayers () |
| Removes all the land cover layers. More... | |
| virtual void | removeGroundCoverLayers () |
| Removes all the ground cover layers. More... | |
| virtual void | removeRoadSurfaceLayers () |
| Removes all the road surface layers. More... | |
| virtual void | removeSplatLayers () |
| Removes all the splat layers. More... | |
| virtual void | removeOsgEarthTerrain () |
| Removes the osgEarth terrain. More... | |
| virtual void | removeTerrainPatch (DtTerrainPatch *patch) |
| Removes the given terrain patch. More... | |
| virtual void | removeFeatureLayer (DtFeatureLayer *feature) |
| Removes the given feature layer. More... | |
| virtual void | removeOceanLayer (DtOceanLayer *ocean) |
| Removes the given ocean layer. More... | |
| virtual void | removeImageLayer (osgEarth::ImageLayer *layer) |
| Removes the given image layer. More... | |
| virtual void | removeElevationLayer (osgEarth::ElevationLayer *layer) |
| Removes the given elevation layer. More... | |
| virtual void | removeModelLayer (osgEarth::ModelLayer *layer) |
| Removes the given model layer. More... | |
| virtual void | removeBuildingLayer (osgEarth::Buildings::BuildingLayer *layer) |
| Removes the given building layer. More... | |
| virtual void | removeLandCoverLayer (osgEarth::LandCoverLayer *layer) |
| Removes the given land cover layer. More... | |
| virtual void | removeGroundCoverLayer (osgEarth::Splat::GroundCoverLayer *layer) |
| Removes the given ground cover layer. More... | |
| virtual void | removeRoadSurfaceLayer (osgEarth::Splat::RoadSurfaceLayer *layer) |
| Removes the given road surface layer. More... | |
| virtual void | removeSplatLayer (osgEarth::Splat::SplatLayer *layer) |
| Removes the given splat layer. More... | |
| virtual void | removeOsgEarthLayer (osgEarth::Layer *layer) |
| Removes a generic osgEarth layer. More... | |
Private Member Functions | |
| DtTerrainEditorLogic () | |
| Private default constructor not implimented. More... | |
| DtTerrainEditorLogic (const DtTerrainEditorLogic &) | |
| Copy Constructor not implemented – Copy not allowed. More... | |
| DtTerrainEditorLogic & | operator= (const DtTerrainEditorLogic &) |
| Assignment Operator not implemented – Copy not allowed. More... | |
Friends | |
| class | DtTerrainEditorLogicCreator |
| class | DtTerrainEditorMapCallbak |
| DtDe & | myDe |
| std::string | myOsgEarthTerrainDefinition |
| DtUnicode | myOsgEarthTerrainFileName |
| std::string | myOsgEarthTerrainName |
| std::string | myOsgEarthTerrainDir |
| std::string | myTemplatePath |
| std::set< DtUnicode > | myTemplateFiles |
| DtTerrainEditorInterface::TerrainContentItemKey | myOsgEarthTerrainKey |
| std::string | myMedfTerrainDir |
| osg::observer_ptr < osgEarth::MapNode > | myMapNode |
| osg::observer_ptr< osgEarth::Map > | myMap |
| DtTerrainEditorInterface * | myInterface |
| DtSignalConnectionManager | mySignals |
| DtOsgEarthDataRequestQueue * | myOsgEarthDataRequestQueue |
| DtOsgEarthFileParser * | myOsgEarthFileParser |
| bool | myNeedSaveEarthFile |
| bool | myReloadFlag |
| std::string | myReloadModelName |
| int | myInsertIndex |
| std::set< std::string > | myImageLayerExtensions |
| std::set< std::string > | myElevationLayerExtensions |
| makArchives::DtTerrainRecord | myOriginalTerrainRecord |
| static bool | myDontShowReloadTerrainWarningMessageBox |
| virtual void | setTerrainVisibility (bool visible) |
| Toggles the visibility of the terrain. More... | |
| virtual void | setTerrainPatchesVisibility (bool visible) |
| Toggles the visibility of all the terrain patches. More... | |
| virtual void | setFeatureLayersVisibility (bool visible) |
| Toggles the visibility of all the feature layers. More... | |
| virtual void | setOceanLayersVisibility (bool visible) |
| Toggles the visibility of all the ocean layers. More... | |
| virtual void | setImageLayersVisibility (bool visible) |
| Toggles the visibility of a group of image layers. More... | |
| template<typename T > | |
| void | setOsgEarthLayerVisibility (bool visible) |
| Toggles the visibility of osgEarth layers based on type. More... | |
| virtual void | setOsgEarthTerrainVisibility (bool visible) |
| Toggles the visibility of all the splat layers. More... | |
| virtual void | setTerrainPatchVisibility (DtTerrainPatch *patch, bool visible) |
| Toggles the visibility of the given terrain patch. More... | |
| virtual void | setFeatureLayerVisibility (DtFeatureLayer *feature, bool visible) |
| Toggles the visibility of the given feature layer. More... | |
| virtual void | setOceanLayerVisibility (DtOceanLayer *ocean, bool visible) |
| Toggles the visibility of the given ocean layer. More... | |
| virtual void | createOsgEarthTerrain () |
| Create a default earth terrain with the given name. More... | |
| virtual void | saveOsgEarthTerrain (const DtUnicode &fileName) |
| Saves the osgEarth terrain as an earth file with the given name. More... | |
| virtual DtUnicode | generateOsgEarthTerrainFileName () |
| Automatically generates a file name for a user created osgEarth terrain. More... | |
| virtual DtTerrainEditorInterface::TerrainContentItemKey | getTerrainContentItemKey (const std::string &type, const std::string &name) |
| Gets the terrain content key by the xml config type and name. More... | |
| virtual void | removeImageLayerFromFile (osgEarth::ImageLayer *layer) |
| Removes the image layer config from the osgEarth xml file. More... | |
| virtual void | removeElevationLayerFromFile (osgEarth::ElevationLayer *layer) |
| Removes the elevation layer config from the osgEarth xml file. More... | |
| virtual void | removeModelLayerFromFile (osgEarth::ModelLayer *layer) |
| Removes the model layer config from the osgEarth xml file. More... | |
| virtual void | removeMaskLayerFromFile (osgEarth::TerrainConstraintLayer *layer) |
| Removes the mask layer config from the osgEarth xml file. More... | |
logic class to drive the DtTerrainEditorWidget.
|
virtual |
DTOR.
|
private |
Private default constructor not implimented.
|
private |
Copy Constructor not implemented – Copy not allowed.
|
protected |
Protected Constructor.
Use DtOsgEarthProfileLogicCreator to create instances of this class
|
private |
Assignment Operator not implemented – Copy not allowed.
|
virtual |
Slot when toggle the check box of the terrain content tree, used to toggle the visibility of the content if applicable.
| key | The key of the terrain content item to be modified. |
| visible | The visibility of the terrain content item. |
|
virtual |
Slot when rename the item in terrain content tree through context menu.
| key | The key of the terrain content item to be modified. |
| newName | The name after rename. |
|
virtual |
Slot when the user moves up/down the terrain content item through the context menu.
| key | The key of the terrain content item to be modified. |
| up | If true, move up, otherwise move down. |
|
protectedvirtual |
Connect the signals.
|
protectedvirtual |
Disconnect the signals.
|
protectedvirtual |
Populate the terrain content tree with the contents of the currently loaded terrain.
This function is only invoked once - when the terrain editor is created. This function does not clear the terrain content tree before populating.
|
protectedvirtual |
Find the sequence/index of the top level group item in the terrain content tree depends on the existing top level items.
The sequence is Terrain/OsgEarth Terrain/Terrain Patches/Ocean Layers/Feature Layers.
|
protectedvirtual |
Finds the file name of a terrain patch.
| terrainDefinition | The terrain definition. |
|
protectedvirtual |
Determine if a terrain file is an osg earth terrain by the "earth" extension.
|
protected |
Gets the terrain content item type for the group that the osgEarth::Layer belongs in based on class name.
|
protected |
Gets the terrain content item type for the osgEarth::Layer based on class name.
|
protectedvirtual |
Gets the display name of group item/top level item of the terrain content tree.
empty string if failed.
|
protected |
Gets whether terrain content items of the provided type can have their visibility toggled.
|
protectedvirtual |
Populate the terrain patch with the given index in the terrain content tree widget.
| terrainPatchObject | The terrain patch object to display. |
| sequence | The sequence of the terrain patch in all terrain patches, -1 means inserts at last position. |
|
protectedvirtual |
Populate the feature layer with the given index in the terrain content tree widget.
| featureLayer | The feature layer to display. |
| sequence | The sequence of the feature layer in all feature layers, -1 means inserts at last position. |
|
protectedvirtual |
Populate the ocean layer with the given index in the terrain content tree widget.
| oceanLayer | The ocean layer to display. |
| sequence | The sequence of the ocean layer in all ocean layers, -1 means inserts at last position. |
|
protectedvirtual |
|
protected |
Gets all layers of the templated type from the osgEarth::Map and calls populateOsgEarthLayer on each one This function should not be used with composite layers.
|
protectedvirtual |
Uses widget interface to add an osgEarth layer to the terrain content tree.
This function should not be used with composite layers. This function relies on terrain content item types returned by getContentGroupKeyFromClassName and getContentItemKeyTypeFromClassName to determine how the terrain content tree is organized. Finally, this function relies on isTerrainContentItemVisibilityCheckboxEnabled to determine whether the terrain content item should have a checkbox to toggle visibility.
|
protectedvirtual |
Populate the contents in osgEarth terrain.
|
protectedvirtual |
Populate the external xml fragments listed in the main earth file(if any).
|
protectedvirtual |
Populate all the image layers in osgEarth terrain(if any).
|
protectedvirtual |
Populate all the elevation layers in osgEarth terrain(if any).
|
protectedvirtual |
Populate all the landCover layers in osgEarth terrain(if any).
|
protectedvirtual |
Populate the image layer with the given sequence of all image layers.
| imageLayer | The image layer to populate. |
| sequence | The sequence of the image layer of all image layers, -1 means inserts at last position. |
|
protectedvirtual |
Populate the elevation layer with the given sequence of all elevation layers.
| elevationLayer | The elevation layer to populate. |
| sequence | The sequence of the elevation layer of all elevation layers, -1 means inserts at last position. |
|
protectedvirtual |
Populate the building layer with the given sequence of all building layers.
| buildingLayer | The building layer to populate. |
| sequence | The sequence of the building layer of all building layers, -1 means inserts at last position. |
|
protectedvirtual |
Function called when an image layer is created, setup the contents in the gui, update the xml file, etc.
| imageLayer | The new created image layer. |
|
protectedvirtual |
Function called when an elevation layer is created, setup the contents in the gui, update the xml file, etc.
| elevationLayer | The new created elevation layer. |
|
protectedvirtual |
Function called when a model layer is created, setup the contents in the gui, update the xml file, etc.
| modelLayer | The new created model layer. |
|
protectedvirtual |
Function called when a mask layer is created, setup the contents in the gui, update the xml file, etc.
| maskLayer | The new created mask layer. |
|
protectedvirtual |
Synchronize the image layer option to the earth file when an image layer is added.
| imageLayer | The image layer to synchronize. |
|
protectedvirtual |
Synchronize the elevation layer option to the earth file when an elevation layer is added.
| elevationLayer | The elevation layer to synchronize. |
|
protectedvirtual |
Synchronize the model layer option to the earth file when a model layer is added.
| modelLayer | The model layer to synchronize. |
|
protectedvirtual |
Synchronize the mask layer option to the earth file when a mask layer is added.
| maskLayer | The mask layer to synchronize. |
|
protectedvirtual |
Synchronize the mask config option to the earth file.
name The name attribute of the mask. The value of "geometry" in mask layer, usually generated by DtOsgEarthBoundary class.
|
protectedvirtual |
Remove a xml element in the earth file with the given key and name attribute.
|
protectedvirtual |
|
protectedvirtual |
Slot function called when the DtTerrainPatchObjectSignaler signals that a new terrain has been added.
|
protectedvirtual |
Slot function called when the DtTerrainPatchObjectSignaler signals that a terrain about to be deleted.
|
protectedvirtual |
Slot function called when the DtTerrainSignaler signals that a new feature layer has been added.
|
protectedvirtual |
Slot function called when the DtTerrainSignaler signals that a new feature layer about to be deleted.
|
protectedvirtual |
Slot function called when the DtTerrainSignaler signals that a new ocean layer has been added.
|
protectedvirtual |
Slot function called when the DtTerrainSignaler signals that a new ocean layer about to be deleted.
|
protectedvirtual |
Slot function called when the DtTerrainSignaler signals that the terrain has been loaded.
|
protectedvirtual |
Slot function called when the DtTerrainSignaler signals that the terrain is about to be cleared.
|
protectedvirtual |
Slot function called when the DtIgCommunicatorSignaler signals that a client is about to be connected.
|
protectedvirtual |
Slot function called when the DtTerrainSignaler signals that the terrain has been cleaned.
|
protectedvirtual |
Slot when double click on the terrain content tree, used to navigate the observer to the center of content if appliable.
| key | The key of the current selected terrain content item. |
|
protectedvirtual |
Slot when the current item in the osgEarth fragment tree widget changes.
| key | The key of the fragment tree widget item, usually the url of the fragment. |
|
protectedvirtual |
Slot when user hit the commit changes button.
| key | The key of the current selected terrain content item. |
|
protectedvirtual |
Slot when user hit the revert changes button.
| key | The key of the current selected terrain content item. |
|
protectedvirtual |
Slot when the current item in the terrain property tree changed.
| key | The key of the current selected terrain content item. |
|
protectedvirtual |
Slot when user hits the commit button when the osgEarth fragment Tab is enabled.
| keys | The keys of all the terrain content items that included in the selected external fragment file. |
|
protectedvirtual |
Slot when the user clicks save on the terrain content item through the context menu(if appliable).
| key | The key of the current selected terrain content item. |
|
protectedvirtual |
Slot when the user clicks save on the terrain content item.
| key | The key of the current selected terrain content item. |
|
protectedvirtual |
Slot 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. |
| toFrontEnd | Whether or not the feature layer is applied to the front end |
| toSimEngine | Whether or not the feature layer is applied to the simulation engine |
|
protectedvirtual |
Slot when user clicks on the add ocean layer button.
| fileName | The file name of the ocean layer about to be added. |
|
protectedvirtual |
Slot when user clicks on the generate boundary button.
|
protectedvirtual |
Slot when a terrain layer(Image/Elevation) has been added through the gui.
| type | DtOsgEarthDataRequest::OsgEarthDataType enum, present the type of the layer. |
| driver | The driver used to render this layer, required. |
| url | The URI of the layer, can be a local file path or remote URI. |
| name | The name of the layer, must be unique. |
|
protectedvirtual |
Slot when a model layer has been added through the gui.
| name | The name of the layer, must be unique. |
| driver | The driver used to render this layer, required. |
| url | The URI of the layer, can be a local file path or remote URI. |
| wfsType | The wfs typename of the model layer, only appliable if the model source is wfs(OGC Web Feature Service). |
|
protectedvirtual |
Slot when receive the request to generate boundary for a given terrain patch.
| terrainPatchDefinition | The terrain definition of the terrain patch which used to generate boundary. |
| name | The name of the mask layer. |
| geocentric | If the terrain database is geocentric. |
| convexHull | Calculate a convex hull instead of a full boundary. |
|
protectedvirtual |
Slot when user clicks on the generate cache button.
|
protectedvirtual |
Slot when receive the request to save the terrain(MTF terrain) through the context menu.
|
protectedvirtual |
Slot when the application is quiting.
|
protectedvirtual |
The slot when user drag and drop data into the terrain editor.
|
protectedvirtual |
Slot when the description of the terrain has changed.
| key | The key of the current selected layer. |
| description | The description of the terrain. |
|
protectedvirtual |
Slot when the visibility of the layer has changed.
| key | The key of the current selected layer. |
| visible | The visibility of the layer. |
|
protectedvirtual |
Slot when the opacity of the layer has changed.
| key | The key of the current selected layer. |
| opacity | The opacity of the layer with values ranging [0, 1]. |
|
protectedvirtual |
Slot when the minimal visible range of the layer has changed.
| key | The key of the current selected layer. |
| minRange | The minimal visible range. |
|
protectedvirtual |
Slot when the maximum visible range of the layer has changed.
| key | The key of the current selected layer. |
| maxRange | The maximum visible range. |
|
protectedvirtual |
|
protectedvirtual |
Slot when the maximum number of paged LODs for this terrain has changed.
| key | The key of the current selected layer. |
| maxPagedLODs | The maximum number of paged LODs to keep in memory for this terrain. |
|
protectedvirtual |
Slot when the name of the ocean layer has changed.
| key | The key of the current selected layer. |
| name | The name of the ocean layer. |
|
protectedvirtual |
Slot when the height of the ocean layer has changed.
| key | The key of the current selected layer. |
| height | The height of the ocean layer. |
|
protectedvirtual |
Slot when the lod of the ocean layer has changed.
| key | The key of the current selected layer. |
| lod | The altitude at which the Ocean LOD's out. |
|
protectedvirtual |
Move the camera to the center of a bounding box and oritented it to look straight down at the center.
| geoExtent | An axis-aligned geospatial extent. If the geoExtent is invalid, it won't do anything. |
|
protectedvirtual |
Move the camera to the center of a terrain patch and oritented it to look straight down at the center.
| terrainDefinition | The terrain definition of the terrain patch. |
|
protected |
Finds the GeoExtent for a ground cover layer.
| layer | The ground cover layer. |
|
protected |
Finds the GeoExtent for a ground cover.
| cover | The ground cover. |
| groundCoverLayerId | The UID of the parent ground cover layer. |
| layer | The splat layer. |
|
protectedvirtual |
Updates the <map>, <options>, <terrain> fragments in the earth file.
| oldName | The original name of the map. |
| mapOptions | The MapOptions of the map. |
| mapNodeOptions | The MapNodeOptions of the map. |
| terrainOptions | The TerrainOptions of the map. |
|
protectedvirtual |
Updates the <image> fragment in the earth file.
| layer | The image layer. |
| options | The ImageLayerOptions provided by the gui. |
|
protectedvirtual |
Updates the <elevation> fragment in the earth file.
| layer | The elevation layer. |
| options | The ElevationLayerOptions provided by the gui. |
|
protectedvirtual |
Updates the <model> fragment in the earth file.
| layer | The model layer. |
| options | The ModelLayerOptions provided by the gui. |
|
protectedvirtual |
Updates the terrain patch record in the mtf file.
| patch | The terrain patch. |
| rec | The model definition record of the terrain patch. |
|
protectedvirtual |
Updates the featurel layer record in the mtf file.
| layer | The feature layer. |
| rec | The feature layer record of the feature layer. |
|
protectedvirtual |
Updates the ocean layer record in the mtf file.
| layer | The ocean layer. |
| rec | The ocean layer record of the ocean layer. |
|
protectedvirtual |
Gets the config for the <map> and <options> from different related options.
| mapOptions | MapOptions of the map. |
| mapNodeOptions | MapNodeOptions of the map. |
| terrainOptions | TerrainOptions of the map. |
| mapConfig | The resulting <map> config. |
| optionConfig | The resulting <options> config. |
|
protectedvirtual |
Gets the config for <image>.
| layer | The image layer. |
| options | The ImageLayerOptions provided by the gui. |
| optionConfig | The resulting <image> config. |
|
protectedvirtual |
Gets the config for <elevation>.
| layer | The elevation layer. |
| options | The ElevationLayerOptions provided by the gui. |
| optionConfig | The resulting <elevation> config. |
|
protectedvirtual |
Gets the config for <model>.
| layer | The model layer. |
| options | The ModelLayerOptions provided by the gui. |
| optionConfig | The resulting <model> config. |
|
protectedvirtual |
Gets the config for <mask>.
| layer | The mask layer. |
| options | The MaskLayerOptions provided by the gui. |
| optionConfig | The resulting <mask> config. |
|
protectedvirtual |
Sets the terrain property tree for the given terrain content item(if appliable).
| key | The key of the terrain content item. |
|
protectedvirtual |
Sets the property options of a DtOsgEarthFile.
| file | The DtOsgEarthFile to display. |
|
protectedvirtual |
Commits changes made to the options of the terrain content item.
| key | The key of the current selected terrain content item. |
|
protected |
Creates a request for adding a terrain layer(Image/Elevation layer).
| type | DtOsgEarthDataRequest::OsgEarthDataType enum, present the type of the layer. |
| driver | The driver used to render this layer, required. |
| url | The URI of the layer, can be a local file path or remote URI. |
| name | The name of the layer, must be unique. |
|
protected |
Creates a request for adding a model layer.
| name | The name of the layer, must be unique. |
| driver | The driver used to render this layer, required. |
| url | The URI of the layer, can be a local file path or remote URI. |
| wfsType | The wfs typename of the model layer, only appliable if the model source is wfs(OGC Web Feature Service). |
|
protectedvirtual |
Reloads the terrain patch, usually used after commit changes to the model layer/ terrain patches.
The terrain definition of the terrain patch that needs reload.
|
protectedvirtual |
Reload the osgEarth terrain if there is one.
|
protectedvirtual |
Finds the terrain patch with the given terrain definition.
|
protectedvirtual |
Finds the feature layer with the given name.
|
protectedvirtual |
Finds the feature layer with the given name.
|
protectedvirtual |
Check if this type of terrain content item has any property to display(Group item has no property to display).
| key | The key of the terrain content item. |
|
protectedvirtual |
Removes the template files generated during the operation.
|
protectedvirtual |
Add data into the terrain (could be file or folder).
The function will attempt to add the file as an imagery layer or an elevation layer first, prompting the user for the answer if ambiguous. If the function cannot add the file as either of these layers, then it will attempt to add the files as one or more terrain patches using the DtAddTerrainPatchManager while showing the DtAddTerrainPatch dialog.
|
protectedvirtual |
Saves the entire terrain contents as MTF(MAK Terrain Format) file.
|
protectedvirtual |
Saves all the terrain patches as a MTF(MAK Terrain Format) file.
|
protectedvirtual |
Saves all the feature layers as a MTF(MAK Terrain Format) file.
|
protectedvirtual |
Saves all the ocean layers as a MTF(MAK Terrain Format) file.
|
protectedvirtual |
Saves all the image layers as an earth file.
|
protectedvirtual |
Saves all the elevation layers as an earth file.
|
protectedvirtual |
Saves all the model layers as an earth file.
|
protectedvirtual |
Saves all the building layers as an earth file.
|
protectedvirtual |
Saves all the landCover layers as an earth file.
|
protectedvirtual |
Saves all the ground cover layers as an earth file.
|
protectedvirtual |
Saves all the road surface layers as an earth file.
|
protectedvirtual |
Saves all the splat layers as an earth file.
|
protectedvirtual |
Saves the osgEarth terrain as an earth file.
|
protectedvirtual |
Saves the terrain patch as a MTF(MAK Terrain Format) file.
| patch | The terrain patch to save out. |
|
protectedvirtual |
Saves the feature layer as a MTF(MAK Terrain Format) file.
| feature | The feature layer to save out. |
|
protectedvirtual |
Saves the ocean layer as a MTF(MAK Terrain Format) file.
| ocean | The ocean layer to save out. |
|
protectedvirtual |
Saves the image layer as an earth file.
| layer | The image layer to save out. |
|
protectedvirtual |
Saves the elevation layer as an earth file.
| layer | The elevation layer to save out. |
|
protectedvirtual |
Saves the model layer as an earth file.
| layer | The model layer to save out. |
|
protectedvirtual |
Saves the building layer as an earth file.
| layer | The building layer to save out. |
|
protectedvirtual |
Saves the land cover layer as an earth file.
| layer | The land cover layer to save out. |
|
protectedvirtual |
Saves the ground cover layer as an earth file.
| layer | The ground cover layer to save out. |
|
protectedvirtual |
Saves the road surface layer as an earth file.
| layer | The road surface layer to save out. |
|
protectedvirtual |
Saves the splat layer as an earth file.
| layer | The splat layer to save out. |
|
protectedvirtual |
|
protectedvirtual |
Removes the terrain.
|
protectedvirtual |
Removes all the terrain patches.
|
protectedvirtual |
Removes all the feature layers.
|
protectedvirtual |
Removes all the osgEarth feature layers.
|
protectedvirtual |
Removes all the ocean layers.
|
protectedvirtual |
Removes all the image layers.
|
protectedvirtual |
Removes all the elevation layers.
|
protectedvirtual |
Removes all the model layers.
|
protectedvirtual |
Removes all the building layers.
|
protectedvirtual |
Removes all the land cover layers.
|
protectedvirtual |
Removes all the ground cover layers.
|
protectedvirtual |
Removes all the road surface layers.
|
protectedvirtual |
Removes all the splat layers.
|
protectedvirtual |
Removes the osgEarth terrain.
|
protectedvirtual |
Removes the given terrain patch.
| patch | The terrain patch to remove. |
|
protectedvirtual |
Removes the given feature layer.
| feature | The feature layer to remove. |
|
protectedvirtual |
Removes the given ocean layer.
| ocean | The ocean layer to remove. |
|
protectedvirtual |
Removes the given image layer.
| layer | The image layer to remove. |
|
protectedvirtual |
Removes the given elevation layer.
| layer | The elevation layer to remove. |
|
protectedvirtual |
Removes the given model layer.
| layer | The model layer to remove. |
|
protectedvirtual |
Removes the given building layer.
| layer | The building layer to remove. |
|
protectedvirtual |
Removes the given land cover layer.
| layer | The land cover layer to remove. |
|
protectedvirtual |
Removes the given ground cover layer.
| layer | The ground cover layer to remove. |
|
protectedvirtual |
Removes the given road surface layer.
| layer | The road surface layer to remove. |
|
protectedvirtual |
Removes the given splat layer.
| layer | The splat layer to remove. |
|
protectedvirtual |
|
protectedvirtual |
Toggles the visibility of the terrain.
| visible | The visibility of the terrain. |
|
protectedvirtual |
Toggles the visibility of all the terrain patches.
| visible | The visibility of all the terrain patches. |
|
protectedvirtual |
Toggles the visibility of all the feature layers.
| visible | The visibility of all the feature layers. |
|
protectedvirtual |
Toggles the visibility of all the ocean layers.
| visible | The visibility of all the ocean layers. |
|
protectedvirtual |
Toggles the visibility of a group of image layers.
| visible | The visibility of all the image layers in the group. |
|
protected |
Toggles the visibility of osgEarth layers based on type.
| visible | The new visibility state of the layers. |
|
protectedvirtual |
Toggles the visibility of all the splat layers.
| visible | The visibility of all the splat layers. |
|
protectedvirtual |
Toggles the visibility of the given terrain patch.
| patch | The terrain patch. |
| visible | The visibility of all the terrain patch. |
|
protectedvirtual |
Toggles the visibility of the given feature layer.
| feature | The feature layer. |
| visible | The visibility of the feature layer. |
|
protectedvirtual |
Toggles the visibility of the given ocean layer.
| ocean | The ocean layer. |
| visible | The visibility of all the terrain patch. |
|
protectedvirtual |
Create a default earth terrain with the given name.
| name | The definition of the earth terrain. |
|
protectedvirtual |
Saves the osgEarth terrain as an earth file with the given name.
|
protectedvirtual |
Automatically generates a file name for a user created osgEarth terrain.
It will check if there is a file named as"NEW MAK EARTH" under users/data/terrains, if so, then try NEW MAK EARTH_1 and so on until there is no duplicated file existed.
|
protectedvirtual |
|
protectedvirtual |
Removes the image layer config from the osgEarth xml file.
|
protectedvirtual |
Removes the elevation layer config from the osgEarth xml file.
|
protectedvirtual |
Removes the model layer config from the osgEarth xml file.
|
protectedvirtual |
Removes the mask layer config from the osgEarth xml file.
|
friend |
|
friend |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
staticprotected |