Instances of DtCloudLayerDialogLogic control DtCloudLayerDialogInterfaces.
More...
Detailed Description
Instances of DtCloudLayerDialogLogic control DtCloudLayerDialogInterfaces.
The logic for controlling the DtCloudLayerDialog
Constructor & Destructor Documentation
| virtual makVrv::DtCloudLayerDialogLogic::~DtCloudLayerDialogLogic |
( |
| ) |
|
|
virtual |
Constructor (protected - use ::create() )
Member Function Documentation
| 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
Get all the current settings from the dialog.
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 |
( |
| ) |
|
|
protectedvirtual |
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.
Friends And Related Function Documentation
Allow the creator to create this logic class.
Member Data Documentation
| DtDe& makVrv::DtCloudLayerDialogLogic::myDe |
|
protected |
The documentation for this class was generated from the following file: