VR-Forces 4.10 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Protected Member Functions | Protected Attributes | Friends
makVrv::DtCloudLayerDialogLogic Class Reference

Instances of DtCloudLayerDialogLogic control DtCloudLayerDialogInterfaces. More...

Inheritance diagram for makVrv::DtCloudLayerDialogLogic:
Inheritance graph
[legend]

Public Member Functions

virtual ~DtCloudLayerDialogLogic ()
 Destructor. More...
 
virtual void onCloudTypeChanged (DtCloudTypeMapper::CloudType type)
 Called when the user changes the cloud type. More...
 
virtual const DtCloudLayercloudLayer ()
 Get all the current settings from the dialog. More...
 
virtual void editLayer (const DtCloudLayer &layer)
 Initialize the dialog with the values in layer. More...
 
double currentLayerAltitude () const
 Returns the altitude of the current cloud layer. More...
 
virtual void setCurrentLayerAltitude (double alt)
 Changes the current layers altitude (based upon it's geodetic location). More...
 
virtual void setPositionFromDisplayUnitStrings (DtUnicode x, DtUnicode y, DtUnicode z)
 Set the position of the cloud layer from x,y,z strings. More...
 
virtual void setWidthFromDisplayUnit (double duValue)
 Set the layer width from a display unit value. More...
 
virtual void setLengthFromDisplayUnit (double duValue)
 Set the layer length from a display unit value. More...
 
virtual void setThicknessFromDisplayUnit (double duValue)
 Set the layer thickness from a display unit value. More...
 
virtual void setDensity (double value)
 Set the layer density from a value. More...
 
virtual void setInfinite (bool isInfinite)
 Set the cloud layer infinite/not infinite. More...
 
- Public Member Functions inherited from makVrv::DtVirtualBaseClass
 DtVirtualBaseClass ()
 Do nothing constructor. More...
 
virtual ~DtVirtualBaseClass ()
 Virtual do nothing destructor. More...
 

Protected Member Functions

 DtCloudLayerDialogLogic (DtDe &de, DtCloudLayerDialogInterface *iFace)
 Constructor (protected - use ::create() ) More...
 
virtual void initGui ()
 Initializes the dialog with some default cloud values. More...
 
void updateCloudLayerTypeProperties ()
 Update the cloud image, description, and default width, length, thickness, density, and altitude for the particular cloud type. More...
 
void updateCloudLayerPositionProperties ()
 Update the dialog with the new coordinate system and values. More...
 
void updateCloudLayerSizeProperties ()
 Update the dialog with the given cloud property values. More...
 

Protected Attributes

DtDemyDe
 
DtSignalConnectionManager mySignals
 
DtCloudLayerDialogInterfacemyInterface
 
DtCloudLayer myCloudLayer
 

Friends

class DtCloudLayerDialogLogicCreator
 Allow the creator to create this logic class. More...
 

Detailed Description

Instances of DtCloudLayerDialogLogic control DtCloudLayerDialogInterfaces.

The logic for controlling the DtCloudLayerDialog

Constructor & Destructor Documentation

virtual makVrv::DtCloudLayerDialogLogic::~DtCloudLayerDialogLogic ( )
virtual

Destructor.

makVrv::DtCloudLayerDialogLogic::DtCloudLayerDialogLogic ( DtDe de,
DtCloudLayerDialogInterface iFace 
)
protected

Constructor (protected - use ::create() )

Member Function Documentation

virtual void makVrv::DtCloudLayerDialogLogic::onCloudTypeChanged ( DtCloudTypeMapper::CloudType  type)
virtual

Called when the user changes the cloud type.

Calls updatePreview to do all the work

virtual const DtCloudLayer* makVrv::DtCloudLayerDialogLogic::cloudLayer ( )
virtual

Get all the current settings from the dialog.

virtual void makVrv::DtCloudLayerDialogLogic::editLayer ( const DtCloudLayer layer)
virtual

Initialize the dialog with the values in layer.

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::setPositionFromDisplayUnitStrings ( DtUnicode  x,
DtUnicode  y,
DtUnicode  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::setInfinite ( bool  isInfinite)
virtual

Set the cloud layer infinite/not infinite.

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.

Friends And Related Function Documentation

friend class DtCloudLayerDialogLogicCreator
friend

Allow the creator to create this logic class.

Member Data Documentation

DtDe& makVrv::DtCloudLayerDialogLogic::myDe
protected
DtSignalConnectionManager makVrv::DtCloudLayerDialogLogic::mySignals
protected
DtCloudLayerDialogInterface* makVrv::DtCloudLayerDialogLogic::myInterface
protected
DtCloudLayer makVrv::DtCloudLayerDialogLogic::myCloudLayer
protected

The documentation for this class was generated from the following file:

Document ID: Generated on Tue Sep 21 17:42:52 EDT 2021 from SVN revision 234861
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)