![]() |
VR-Forces 4.3 Class Documentation
|
Contains makVrf::DtTerrainSettingsManager class. More...

Public Member Functions | |
| DtTerrainSettingsManager (makVrv::DtDe &) | |
| virtual | ~DtTerrainSettingsManager () |
| virtual void | setUseSoundingPointData (bool b) |
| Setting for whether or not to load sounding point data. | |
| virtual bool | useSoundingPointData () const |
| virtual void | setSeaFloor (double) |
| Sets the value of the sea floor in absense of any other information. | |
| virtual double | seaFloor () const |
| virtual void | setDefaultSeaFloor (double) |
| Default sea floor value in absense of one being set – default to 500 meters. | |
| virtual double | defaultSeaFloor () const |
| virtual const makArchives::DtTerrainRecord::OptionalParameterMap & | settingsMap () const |
| Returns parameter settings map;. | |
| virtual void | setSettingsMap (const makArchives::DtTerrainRecord::OptionalParameterMap &) |
| Sets settings map. | |
Public Member Functions inherited from makVrv::DtVirtualBaseClass | |
| DtVirtualBaseClass () | |
| Do nothing constructor. | |
| virtual | ~DtVirtualBaseClass () |
| Virtual do nothing destructor. | |
Static Public Member Functions | |
| static DtTerrainSettingsManager & | instance (makVrv::DtDe &de) |
| Returns instance of the messager. | |
| static void | registerInstance (makVrv::DtDe &, DtTerrainSettingsManager *) |
Public Attributes | |
| boost::signal< void()> | signal_terrainSettingsChanged |
| Sent after anything about the terrain settings have changed. | |
Protected Member Functions | |
| virtual void | terrainRecordSet (const makArchives::DtTerrainRecord &) |
| Called when terrain is loaded from record. | |
Protected Attributes | |
| makVrv::DtDe & | myDe |
| double | myDefaultSeaFloor |
Contains makVrf::DtTerrainSettingsManager class.
These are settings that are read from/written to the mtf file when the mtf file is loaded or saved. There are no factory or appData settings for these values. In absence of values in the mtf file, they are defaulted to the values in the comments
| makVrf::DtTerrainSettingsManager::DtTerrainSettingsManager | ( | makVrv::DtDe & | ) |
|
virtual |
|
static |
Returns instance of the messager.
|
static |
|
virtual |
Setting for whether or not to load sounding point data.
Default is true. Key is DtUseSoundingPoints as defined in terrainSettingsDefines.h
|
virtual |
|
virtual |
Sets the value of the sea floor in absense of any other information.
Default is 500 meters. Key is DtSeaFloor as defined in terrainSettingsDefines.h
|
virtual |
|
virtual |
Default sea floor value in absense of one being set – default to 500 meters.
|
virtual |
|
virtual |
Returns parameter settings map;.
|
virtual |
Sets settings map.
|
protectedvirtual |
Called when terrain is loaded from record.
| boost::signal<void ()> makVrf::DtTerrainSettingsManager::signal_terrainSettingsChanged |
Sent after anything about the terrain settings have changed.
|
protected |
|
protected |