Public Member Functions |
| | DtVrfTerrain (makVrv::DtDe &de, makVrv::DtAgentManagerInterface &sceneManagerInterface) |
| | CTOR.
|
| virtual | ~DtVrfTerrain () |
| | DTOR.
|
| virtual void | setFromRecord (const makArchives::DtTerrainRecord &r, bool clearFirst) |
| | Populate a DtTerrain from a DtTerrainRecord.
|
virtual const
makArchives::DtTerrainRecord::GenericRecords & | navigationAreas () const |
| virtual void | removeNavigationArea (const std::string &) |
| virtual void | addNavigationArea (const std::string &area) |
| virtual void | addNavigationArea (const makArchives::DtGenericTerrainRecord &record) |
| virtual void | changeNavigationAreaPath (const std::string &from, const std::string &to) |
| virtual bool | hasNavigationArea (const DtFilename &) const |
| bool | navigationAreasModified () const |
| virtual void | clearNavigationAreasModified () |
| virtual void | clearNavigationAreas () |
| virtual void | getRecord (makArchives::DtTerrainRecord &rec) |
| | Fill out a DtTerrainRecord with the current terrain info. Called by saveTerrain().
|
| virtual makVrv::DtFeatureLayer * | findFeatureLayerNoPath (const std::string &featureLayerFilename) |
| | Strips the path off the feature layers to see if the given name matches.
|
| virtual const DtFilename & | simulationTerrain () const |
| virtual bool | navigationAreasAreOnSimulationTerrain () const |
| virtual std::string | navigationAreaTerrainFilename () const |
| | Returns the filename of the terrain to use for navigation area generation.
|
| virtual void | getSimulationTerrainRecord (makArchives::DtTerrainRecord &) const |
| virtual bool | loadSimulationTerrain (const DtFilename &) |
| | Loads the simulation terrain given by the filename.
|
| virtual void | clearSimTerrain () |
| | Clears simulation terrain only. If the simulation terrain flag is not set then message will not be sent out for clearing navigation areas.
|
| virtual void | clearGuiTerrain () |
| | Clears the gui terrain. If there is no sim terrain loaded will also signal navigation areas cleared.
|
| virtual void | setSignalNewNavigationAreas (bool) |
| | When loading a terrain, whether or not to signal that the navigation areas are updated.
|
| bool | signalNewNavigationAreas () const |
virtual
makVrv::DtCoordinateSystem & | navigationAreasCoordinateSystem () const |
| | Returns the coordinate system used by the navigation area.
|
| virtual void | signalNavigationAreasUpdated () |
| | Call to signal out navigation areas set signal.
|
| | DtTerrain (DtDe &de, DtAgentManagerInterface &sceneManagerInterface) |
| | CTOR.
|
| virtual | ~DtTerrain () |
| | DTOR.
|
| void | clear (bool reload=false) |
| | Clear the terrain.
|
| bool | isPropNameUsed (const std::string &propName) const |
| | Checks whether a prop name is in use.
|
| virtual bool | getTerrainIntersection (double x, double y, double z, double upX, double upY, double upZ, double &retX, double &retY, double &retZ) |
| | Get the closest intersection to x,y,z.
|
| virtual void | clearElevationCache () |
| | If any of the terrain's patch objects is using an elevation cache, clear them (otherwise do nothing).
|
| virtual const std::string * | findOptionalParameter (const std::string &name) const |
| | Find an optional parameter.
|
| virtual void | setOptionalParameter (const std::string &name, const std::string &value) |
| | Set an optional parameter.
|
| virtual void | setOptionalParameters (const makArchives::DtTerrainRecord::OptionalParameterMap &) |
| | Set an optional parameters.
|
| virtual void | removeOptionalParameter (const std::string &name) |
| | Remove an optional parameter.
|
const
makArchives::DtTerrainRecord::OptionalParameterMap & | optionalParameters () const |
| | Get the optional parameters.
|
| virtual const std::string & | description () |
| | Get the terrains's description.
|
| virtual void | setDescription (const std::string &description) |
| | Set the terrains's description.
|
| virtual bool | useICO () const |
| | Get the UseICO flag.
|
| virtual void | setUseICO (bool flag) |
| | Set the UseICO flag.
|
| virtual unsigned int | maxPagedLODs () const |
| | Get max paged LOD target.
|
| virtual void | setMaxPagedLODs (unsigned int maxPagedLODs) |
| | Set the max paged LOD target.
|
| virtual bool | reloadingTerrain () |
| | is the terrain currently reloading
|
| bool | globalScaleTerrain () const |
| | Checks to see if the terrain is a global scale terrain.
|
| void | updateGlobalScaleTerrain () |
| | Rechecks if the terrain is of global scale.
|
| virtual void | reloadTerrain () |
| | Request that the current terrain be reloaded.
|
| virtual DtTerrainPatch & | addTerrainPatch (const makArchives::DtTerrainPatchRecord &rec) |
| | Create and add a new terrain patch driver.
|
| virtual DtTerrainPatch & | addTerrainPatch (const std::string &terrainDefinitionName) |
| | Create and add a new terrain patch driver.
|
| virtual DtTerrainPatch * | findTerrainPatch (const std::string &terrainDefinitionName) |
| | Return the DtTerrainPatchObjectAgent with the name terrainName.
|
| virtual DtTerrainPatch * | findTerrainPatch (DtUniqueID id) |
| | Return the DtTerrainPatchObjectAgent with the unique id.
|
| virtual bool | removeTerrainPatch (const std::string &terrainDefinitionName) |
| | Find and delete a terrain.
|
| const TerrainPatches & | terrainPatches () const |
| | Get the terrain drivers.
|
| TerrainPatches & | terrainPatches () |
| | Get the terrain drivers.
|
| bool | lightPointsEnabled () const |
| | Are we showing point lights on the terrain?
|
virtual const
TerrainOperationsMap & | terrainOperationsMap () const |
| virtual DtFeatureLayer & | addFeatureLayer (const makArchives::DtFeatureLayerRecord &rec, makArchives::DtTerrainOperationRecord::TargetApplication target=makArchives::DtTerrainOperationRecord::VisualizationAndSimulation) |
| | Add a feature layer.
|
| virtual DtFeatureLayer & | addFeatureLayer (const std::string &featureLayerFilename, makArchives::DtTerrainOperationRecord::TargetApplication target=makArchives::DtTerrainOperationRecord::VisualizationAndSimulation) |
| | Create and add a DtFeatureLayer.
|
| virtual void | removeFeatureLayer (const std::string &featureLayerFilename) |
| | Remove a feature layer. Emits signal_terrainPatchToBeDeleted.
|
| virtual const FeatureLayers & | featureLayers () const |
| | Accessor for FeatureLayers.
|
| virtual FeatureLayers & | featureLayers () |
| | Accessor for FeatureLayers.
|
| virtual DtFeatureLayer * | findFeatureLayer (const std::string &featureLayerFilename) |
| | Return the DtFeatureLayer with the name featureLayerFilename.
|
| virtual DtStreamedFeatureLayer & | streamedFeatureLayer () |
| | return the streamed feature layer
|
| virtual DtBuoyBeaconLayer & | buoyBeaconLayer () |
| | Return the buoy layer.
|
| virtual DtDynamicFeatureLayer & | dynamicFeatureLayer () |
| | Return the dynamic feature layer.
|
| virtual DtNavigationLightManager & | navigationLightManager () |
| | Return the nav light manager.
|
virtual
DtNavigationFeatureManager & | navigationDaymarkManager () |
| | Return the nav daymark manager.
|
virtual
DtNavigationFeatureManager & | navigationTopmarkManager () |
| | Return the nav topmark manager.
|
| virtual DtOceanLayer & | addOceanLayer (const makArchives::DtOceanLayerRecord &rec) |
| | Add an ocean layer.
|
| virtual DtOceanLayer & | addOceanLayer (const std::string &layerName) |
| | Create and add a DtOceanLayer.
|
| virtual void | removeOceanLayer (const std::string &layerName) |
| | Remove a ocean layer. Emits signal_oceanLayerToBeDeleted.
|
| virtual const OceanLayers & | oceanLayers () const |
| | Accessor for OceanLayers.
|
| virtual OceanLayers & | oceanLayers () |
| | Accessor for OceanLayers.
|
| virtual DtOceanLayer * | findOceanLayer (const std::string &layerName) |
| | Return the DtOceanLayer with the name layerName.
|
| virtual void | onOceanNodesExtracted (DtTerrainPatchObject &patchObject) |
| | Slot called when ocean nodes are extracted.
|
| std::string | generatePropName (const std::string &propType) |
| | Generate a unique name for the prop.
|
| virtual DtForest & | forest () |
| | Return the DtForestObjectDriver.
|
| virtual bool | exportTerrainAndProps (const std::string &) |
| | Saves terrain geometry and props to specified file.
|
Extension of DtVrvTerrain that sends a signal when the terrain is set from record.