![]() |
VR-Forces Developer's Guide
|
Logic for the terrain profile settings page.
Public Member Functions | |
| DtTerrainProfileSettingsLogic (makVrv::DtDe &de, DtTerrainProfileSettingsWidget &iFace, makVrv::DtPersistenceControlsInterface &toolbar) | |
| virtual | ~DtTerrainProfileSettingsLogic () |
| virtual void | setupFromOptions (const DtTerrainProfileSettingsRecord &rec) |
| virtual void | on_import () |
| virtual void | on_export () |
| virtual void | on_importFilePathChosen (const std::string &filePath) |
| virtual void | on_exportFilePathChosen (const std::string &filePath) |
Protected Member Functions | |
| virtual void | onOptionChanged (int type, bool editing, bool value) |
| virtual void | slot_onUnitChanged (const makVrv::DtUnicode &category, const makVrv::DtUnicode &type, int) |
| virtual void | onShowObjectsWithinRangeChanged (double) |
| virtual void | onSamplingRateValueChanged (double) |
| virtual void | onMaximumPointsPerLineValueChanged (int) |
| makVrf::DtTerrainProfileSettingsLogic::DtTerrainProfileSettingsLogic | ( | makVrv::DtDe & | de, |
| DtTerrainProfileSettingsWidget & | iFace, | ||
| makVrv::DtPersistenceControlsInterface & | toolbar | ||
| ) |
CTOR.
|
virtual |
virtual DTOR
|
virtual |
Sets up gui with initial values.
|
virtual |
Persistence slots:
|
virtual |
|
virtual |
|
virtual |
|
protectedvirtual |
Called when an option has changed. Set record appropriately.
|
protectedvirtual |
Called when units changed, see if need to change value of near line.
|
protectedvirtual |
Called when show objects within range changes.
|
protectedvirtual |
Called when sampling rate changes.
|
protectedvirtual |
Called when maximum points per line value changes.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
Current units for distance and altitude. Used to check to see if units need to be changed.