![]() |
VR-Forces 4.0.4 Class Documentation
|
Instances of DtCloudLayerDialogLogic control DtCloudLayerDialogInterfaces. More...

Public Member Functions | |
| virtual | ~DtCloudLayerDialogLogic () |
| Destructor. | |
| virtual void | onCoordSysChanged (const QString &s) |
| Called when the user changes the coordinate system. | |
| virtual void | onCloudTypeChanged (const QString &type) |
| Called when the user changes the cloud type. | |
| virtual const makArchives::DtCloudLayerRecord * | record () |
| Get all the current settings from the dialog. | |
| virtual void | editLayer (const makArchives::DtCloudLayerRecord &rec) |
| Initialize the dialog with the values in rec. | |
| virtual void | centerOnObserver () |
| Set the coordinates to those of the observer while maintaining altitude. | |
| double | currentLayerAltitude () const |
| Returns the altitude of the current cloud layer. | |
| virtual void | setCurrentLayerAltitude (double alt) |
| Changes the current layers altitude (based upon it's geodetic location). | |
| virtual void | centerOnTerrain () |
| Set the coordinates to the center of the terrain while maintaining altitude. | |
| virtual void | setPositionFromDisplayUnitStrings (QString x, QString y, QString z) |
| Set the position of the cloud layer from x,y,z strings. | |
| virtual void | setWidthFromDisplayUnit (double duValue) |
| Set the layer width from a display unit value. | |
| virtual void | setLengthFromDisplayUnit (double duValue) |
| Set the layer length from a display unit value. | |
| virtual void | setThicknessFromDisplayUnit (double duValue) |
| Set the layer thickness from a display unit value. | |
| virtual void | setDensity (double value) |
| Set the layer density from a value. | |
Protected Member Functions | |
| DtCloudLayerDialogLogic (DtDe &de, DtCloudLayerDialogInterface *iFace) | |
| Constructor (protected - use ::create() ) | |
| virtual void | initGui () |
| Initializes the dialog with some default cloud values. | |
| void | updateCloudLayerTypeProperties () |
| Update the cloud image, description, and default width, length, thickness, density, and altitude for the particular cloud type. | |
| void | updateCloudLayerPositionProperties () |
| Update the dialog with the new coordinate system and values. | |
| void | updateCloudLayerSizeProperties () |
| Update the dialog with the given cloud property values. | |
| QString | translateCloudType (const std::string &cloudType) |
| Helper function to translate from the cloud type strings from DtEnvironment to a more user friendly type. | |
| std::string | untranslateCloudType (const QString &cloudType) |
| Helper function to translate from the user friendly cloud string to the ones DtEnvironment expects. | |
| DtVector | convertStringCoords (QString x, QString y, QString z) |
| Get the coordinates from the dialog and convert to local coordinates if necessary. | |
Protected Attributes | |
| DtDe & | myDe |
| DtSignalConnectionManager | mySignals |
| DtCloudLayerDialogInterface * | myInterface |
| makArchives::DtDisplayUnitsSettingsRecord::CoordSys | myCoordSys |
| makArchives::DtCloudLayerRecord | myCloudLayerRecord |
Friends | |
| class | DtCloudLayerDialogLogicCreator |
| Allow the creator to create this logic class. | |
Instances of DtCloudLayerDialogLogic control DtCloudLayerDialogInterfaces.
The logic for controlling the DtCloudLayerDialog
| virtual makVrv::DtCloudLayerDialogLogic::~DtCloudLayerDialogLogic | ( | ) | [virtual] |
Destructor.
| makVrv::DtCloudLayerDialogLogic::DtCloudLayerDialogLogic | ( | DtDe & | de, |
| DtCloudLayerDialogInterface * | iFace | ||
| ) | [protected] |
Constructor (protected - use ::create() )
| virtual void makVrv::DtCloudLayerDialogLogic::onCoordSysChanged | ( | const QString & | s | ) | [virtual] |
Called when the user changes the coordinate system.
Calls updateCoodinateSystem to do all the work
| virtual void makVrv::DtCloudLayerDialogLogic::onCloudTypeChanged | ( | const QString & | type | ) | [virtual] |
Called when the user changes the cloud type.
Calls updatePreview to do all the work
| virtual const makArchives::DtCloudLayerRecord* makVrv::DtCloudLayerDialogLogic::record | ( | ) | [virtual] |
Get all the current settings from the dialog.
| virtual void makVrv::DtCloudLayerDialogLogic::editLayer | ( | const makArchives::DtCloudLayerRecord & | rec | ) | [virtual] |
Initialize the dialog with the values in rec.
| virtual void makVrv::DtCloudLayerDialogLogic::centerOnObserver | ( | ) | [virtual] |
Set the coordinates to those of the observer while maintaining altitude.
| double makVrv::DtCloudLayerDialogLogic::currentLayerAltitude | ( | ) | const |
Returns the altitude of the current cloud layer.
| virtual void makVrv::DtCloudLayerDialogLogic::setCurrentLayerAltitude | ( | double | alt | ) | [virtual] |
Changes the current layers altitude (based upon it's geodetic location).
| virtual void makVrv::DtCloudLayerDialogLogic::centerOnTerrain | ( | ) | [virtual] |
Set the coordinates to the center of the terrain while maintaining altitude.
| virtual void makVrv::DtCloudLayerDialogLogic::setPositionFromDisplayUnitStrings | ( | QString | x, |
| QString | y, | ||
| QString | z | ||
| ) | [virtual] |
Set the position of the cloud layer from x,y,z strings.
| virtual void makVrv::DtCloudLayerDialogLogic::setWidthFromDisplayUnit | ( | double | duValue | ) | [virtual] |
Set the layer width from a display unit value.
| virtual void makVrv::DtCloudLayerDialogLogic::setLengthFromDisplayUnit | ( | double | duValue | ) | [virtual] |
Set the layer length from a display unit value.
| virtual void makVrv::DtCloudLayerDialogLogic::setThicknessFromDisplayUnit | ( | double | duValue | ) | [virtual] |
Set the layer thickness from a display unit value.
| virtual void makVrv::DtCloudLayerDialogLogic::setDensity | ( | double | value | ) | [virtual] |
Set the layer density from a value.
| virtual void makVrv::DtCloudLayerDialogLogic::initGui | ( | ) | [protected, virtual] |
Initializes the dialog with some default cloud values.
| void makVrv::DtCloudLayerDialogLogic::updateCloudLayerTypeProperties | ( | ) | [protected] |
Update the cloud image, description, and default width, length, thickness, density, and altitude for the particular cloud type.
| void makVrv::DtCloudLayerDialogLogic::updateCloudLayerPositionProperties | ( | ) | [protected] |
Update the dialog with the new coordinate system and values.
| void makVrv::DtCloudLayerDialogLogic::updateCloudLayerSizeProperties | ( | ) | [protected] |
Update the dialog with the given cloud property values.
| QString makVrv::DtCloudLayerDialogLogic::translateCloudType | ( | const std::string & | cloudType | ) | [protected] |
Helper function to translate from the cloud type strings from DtEnvironment to a more user friendly type.
| std::string makVrv::DtCloudLayerDialogLogic::untranslateCloudType | ( | const QString & | cloudType | ) | [protected] |
Helper function to translate from the user friendly cloud string to the ones DtEnvironment expects.
| DtVector makVrv::DtCloudLayerDialogLogic::convertStringCoords | ( | QString | x, |
| QString | y, | ||
| QString | z | ||
| ) | [protected] |
Get the coordinates from the dialog and convert to local coordinates if necessary.
friend class DtCloudLayerDialogLogicCreator [friend] |
Allow the creator to create this logic class.
DtDe& makVrv::DtCloudLayerDialogLogic::myDe [protected] |
makArchives::DtDisplayUnitsSettingsRecord::CoordSys makVrv::DtCloudLayerDialogLogic::myCoordSys [protected] |