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

Record of environment/weather settings Includes precipitation, air, and clouds. More...

Classes

class  DtColorRecord
 Record of color settings. More...
 
class  DtThermoclineRecord
 Record of thermocline settings. More...
 

Public Types

typedef std::vector
< DtCloudLayerRecord
CloudLayerRecordList
 
typedef std::vector
< DtThermoclineRecord
ThermoclineRecordList
 
typedef std::map< std::string,
std::string > 
OptionalParameterMap
 

Public Member Functions

 DtEnvironmentRecord ()
 CTOR. More...
 
 DtEnvironmentRecord (const DtEnvironmentRecord &orig)
 Copy CTOR. More...
 
virtual ~DtEnvironmentRecord ()
 DTOR. More...
 
void swap (DtEnvironmentRecord &other)
 Swap data from this object with another. More...
 
DtEnvironmentRecordoperator= (DtEnvironmentRecord rhs)
 Assignment Operator. More...
 
void setEnvironmentName (const std::string &name)
 
const std::string & environmentName () const
 
void setAirTurbidity (float turbidity)
 
float airTurbidity () const
 
void setVisibleDistance (float distance)
 
float visibleDistance () const
 
void setPrecipitation (int type)
 
int precipitation () const
 
void setPrecipitationIntensity (float intensity)
 
float precipitationIntensity () const
 
CloudLayerRecordListcustomCloudLayers ()
 
const CloudLayerRecordListcustomCloudLayers () const
 
void setCloudCoverType (DtCloudCoverType cloudCoverType)
 
DtCloudCoverType cloudCoverType () const
 
void setWindSpeed (float metersPerSecond)
 
float windSpeed () const
 
void setWindDirection (float radiansFromNorth)
 
float windDirection () const
 
void setAmbientAirTemperature (float celsius)
 
float ambientAirTemperature () const
 
void setSeaState (int douglasScale)
 
int seaState () const
 
void setSeaStateDirection (float radiansFromNorth)
 
float seaStateDirection () const
 
void setWindDrivenSeaStateEnabled (bool enabled)
 
bool windDrivenSeaStateEnabled () const
 
void setSwellState (int douglasScale)
 
int swellState () const
 
void setSwellStateDirection (float radiansFromNorth)
 
float swellStateDirection () const
 
void setWindFetch (float meters)
 
float windFetch () const
 
void setSeaChoppiness (float chop)
 
float seaChoppiness () const
 
void setUnderwaterVisibilityEnabled (bool enabled)
 
bool underwaterVisibilityEnabled () const
 
void setUnderwaterVisibility (float meters)
 
float underwaterVisibility () const
 
void setSurfaceTransparency (float normalizedValue)
 
float surfaceTransparency () const
 
void setSurgeDepth (float meters)
 
float surgeDepth () const
 
void setDepthOffset (float meters)
 
float depthOffset () const
 
void setAmbientWaterTemperature (float celsius)
 
float ambientWaterTemperature () const
 
void setWaterCurrentSpeed (float metersPerSecond)
 
float waterCurrentSpeed () const
 
void setWaterCurrentDirection (float radiansFromNorth)
 
float waterCurrentDirection () const
 
void setTidalOffset (float meters)
 
float tidalOffset () const
 
void setTidalDirection (bool inOut)
 
bool tidalDirection () const
 
void setFogHeight (float meters)
 
float fogHeight () const
 
void setFogColor (const DtColorRecord &color)
 
const DtColorRecordfogColor () const
 
void setThermoclineRecord (unsigned int index, const DtThermoclineRecord &tRec)
 
DtThermoclineRecord thermoclineRecord (unsigned int index) const
 
void setThermoclineDepth (unsigned int index, float depth)
 
float thermoclineDepth (unsigned int index) const
 
void setThermoclinePermeability (unsigned int index, float permeability)
 
float thermoclinePermeability (unsigned int index) const
 
void setGroundSnowAccumulation (float depth)
 
float groundSnowAccumulation () const
 
void setRoadSnowAccumulation (float depth)
 
float roadSnowAccumulation () const
 
void setSnowMinimumElevation (float elevation)
 
float snowMinimumElevation () const
 
void setSnowElevationTransition (float elevation)
 
float snowElevationTransition () const
 
void setGroundRainAccumulation (float depth)
 
float groundRainAccumulation () const
 
virtual const std::string * findOptionalParameter (const std::string &name) const
 
virtual void setOptionalParameter (const std::string &name, const std::string &value)
 Set an optional parameter. More...
 
virtual void setOptionalParameters (const OptionalParameterMap &)
 Set an optional parameters. More...
 
virtual void removeOptionalParameter (const std::string &name)
 Remove an optional parameter. More...
 
const OptionalParameterMapoptionalParameters () const
 Get the optional parameters. More...
 

Protected Member Functions

template<class Archive >
void serialize (Archive &ar, const unsigned int version)
 When the class Archive corresponds to an output archive, the & operator is defined similar to <<. More...
 

Protected Attributes

std::string myEnvironmentName
 
float myAirTurbidity
 
float myVisibilityDistance
 
int myPrecipitation
 
float myPrecipitationIntensity
 
CloudLayerRecordList myCloudLayers
 
DtCloudCoverType myCloudCoverType
 
float myWindSpeed
 
float myWindDirection
 
float myAmbientAirTemperature
 
int mySeaState
 
float mySeaStateDirection
 
bool myWindDrivenSeaStateEnabled
 
int mySwellState
 
float mySwellStateDirection
 
float myWindFetch
 
float mySeaChoppiness
 
float myUnderwaterVisibility
 
float mySurfaceTransparency
 
float mySurgeDepth
 
float myDepthOffset
 
float myAmbientWaterTemperature
 
float myWaterCurrentSpeed
 
float myWaterCurrentDirection
 
float myTidalOffset
 
bool myTidalDirection
 
float myFogHeight
 
DtColorRecord myFogColor
 
ThermoclineRecordList myThermoclineRecordList
 
bool myUseCustomCloudCover
 
OptionalParameterMap myOptionalParameters
 
bool myPrecipitationEnabledFlag
 
std::string myPrecipitationType
 
bool myUnderwaterVisibilityEnabled
 
float myGroundSnowAccumulation
 
float myRoadSnowAccumulation
 
float mySnowMinimumElevation
 
float mySnowElevationTransition
 
float myGroundRainAccumulation
 

Friends

class boost::serialization::access
 

Detailed Description

Record of environment/weather settings Includes precipitation, air, and clouds.

Member Typedef Documentation

typedef std::map<std::string, std::string> makArchives::DtEnvironmentRecord::OptionalParameterMap

Constructor & Destructor Documentation

makArchives::DtEnvironmentRecord::DtEnvironmentRecord ( )

CTOR.

makArchives::DtEnvironmentRecord::DtEnvironmentRecord ( const DtEnvironmentRecord orig)

Copy CTOR.

virtual makArchives::DtEnvironmentRecord::~DtEnvironmentRecord ( )
virtual

DTOR.

Member Function Documentation

void makArchives::DtEnvironmentRecord::swap ( DtEnvironmentRecord other)

Swap data from this object with another.

DtEnvironmentRecord& makArchives::DtEnvironmentRecord::operator= ( DtEnvironmentRecord  rhs)

Assignment Operator.

void makArchives::DtEnvironmentRecord::setEnvironmentName ( const std::string &  name)

Set / Get the name for this environment.

const std::string& makArchives::DtEnvironmentRecord::environmentName ( ) const
void makArchives::DtEnvironmentRecord::setAirTurbidity ( float  turbidity)

Set / Get the air turbidity value

float makArchives::DtEnvironmentRecord::airTurbidity ( ) const
void makArchives::DtEnvironmentRecord::setVisibleDistance ( float  distance)

Set / Get the visible distance.

float makArchives::DtEnvironmentRecord::visibleDistance ( ) const
void makArchives::DtEnvironmentRecord::setPrecipitation ( int  type)

Set / Get the type of precipitation.

int makArchives::DtEnvironmentRecord::precipitation ( ) const
void makArchives::DtEnvironmentRecord::setPrecipitationIntensity ( float  intensity)

Set / Get intensity of precipitation in normalized values (0.0 - 1.0).

float makArchives::DtEnvironmentRecord::precipitationIntensity ( ) const
CloudLayerRecordList& makArchives::DtEnvironmentRecord::customCloudLayers ( )

Set / Get the the list of custom cloud layers. For future use...

const CloudLayerRecordList& makArchives::DtEnvironmentRecord::customCloudLayers ( ) const
void makArchives::DtEnvironmentRecord::setCloudCoverType ( DtCloudCoverType  cloudCoverType)

Set / Get the cloud cover name

DtCloudCoverType makArchives::DtEnvironmentRecord::cloudCoverType ( ) const
void makArchives::DtEnvironmentRecord::setWindSpeed ( float  metersPerSecond)

Set / Get the wind speed in meters per second.

float makArchives::DtEnvironmentRecord::windSpeed ( ) const
void makArchives::DtEnvironmentRecord::setWindDirection ( float  radiansFromNorth)

Set / Get the direction wind blows from in radians from North.

float makArchives::DtEnvironmentRecord::windDirection ( ) const
void makArchives::DtEnvironmentRecord::setAmbientAirTemperature ( float  celsius)

Set / Get the ambient air temperature in degrees celsius.

float makArchives::DtEnvironmentRecord::ambientAirTemperature ( ) const
void makArchives::DtEnvironmentRecord::setSeaState ( int  douglasScale)

Set / Get the sea-state according to the Douglas Sea Scale.

int makArchives::DtEnvironmentRecord::seaState ( ) const
void makArchives::DtEnvironmentRecord::setSeaStateDirection ( float  radiansFromNorth)

Set / Get the direction waves travel from in radians from North.

float makArchives::DtEnvironmentRecord::seaStateDirection ( ) const
void makArchives::DtEnvironmentRecord::setWindDrivenSeaStateEnabled ( bool  enabled)

Set / Get the flag for enabling sea-state to be driven by wind.

bool makArchives::DtEnvironmentRecord::windDrivenSeaStateEnabled ( ) const
void makArchives::DtEnvironmentRecord::setSwellState ( int  douglasScale)

Set / Get the sea-swell state according to the Douglas Sea Scale.

int makArchives::DtEnvironmentRecord::swellState ( ) const
void makArchives::DtEnvironmentRecord::setSwellStateDirection ( float  radiansFromNorth)

Set / Get the direction sea-swells travel from in radians from North.

float makArchives::DtEnvironmentRecord::swellStateDirection ( ) const
void makArchives::DtEnvironmentRecord::setWindFetch ( float  meters)

Set / Get the ocean fetch in distance.

float makArchives::DtEnvironmentRecord::windFetch ( ) const
void makArchives::DtEnvironmentRecord::setSeaChoppiness ( float  chop)

Set / Get the wave choppiness in normalized values (0.0 - 1.0).

float makArchives::DtEnvironmentRecord::seaChoppiness ( ) const
void makArchives::DtEnvironmentRecord::setUnderwaterVisibilityEnabled ( bool  enabled)

Set / Get underwater visibility enabled.

bool makArchives::DtEnvironmentRecord::underwaterVisibilityEnabled ( ) const
void makArchives::DtEnvironmentRecord::setUnderwaterVisibility ( float  meters)

Set / Get the underwater visibility in distance.

float makArchives::DtEnvironmentRecord::underwaterVisibility ( ) const
void makArchives::DtEnvironmentRecord::setSurfaceTransparency ( float  normalizedValue)

Set / Get the surface transparency in normalized values (0.0 - 1.0).

float makArchives::DtEnvironmentRecord::surfaceTransparency ( ) const
void makArchives::DtEnvironmentRecord::setSurgeDepth ( float  meters)

Set / Get the surge depth in distance.

float makArchives::DtEnvironmentRecord::surgeDepth ( ) const
void makArchives::DtEnvironmentRecord::setDepthOffset ( float  meters)

Set / Get the depth offset in distance.

float makArchives::DtEnvironmentRecord::depthOffset ( ) const
void makArchives::DtEnvironmentRecord::setAmbientWaterTemperature ( float  celsius)

Set / Get the ambient water temperature in degrees celsius.

float makArchives::DtEnvironmentRecord::ambientWaterTemperature ( ) const
void makArchives::DtEnvironmentRecord::setWaterCurrentSpeed ( float  metersPerSecond)

Set / Get the water-current speed in meters per second.

float makArchives::DtEnvironmentRecord::waterCurrentSpeed ( ) const
void makArchives::DtEnvironmentRecord::setWaterCurrentDirection ( float  radiansFromNorth)

Set / Get the direction of water-currents in radians from North.

float makArchives::DtEnvironmentRecord::waterCurrentDirection ( ) const
void makArchives::DtEnvironmentRecord::setTidalOffset ( float  meters)

Set / Get the tidal offset in distance.

float makArchives::DtEnvironmentRecord::tidalOffset ( ) const
void makArchives::DtEnvironmentRecord::setTidalDirection ( bool  inOut)

Set / Get the tidal direction flag

bool makArchives::DtEnvironmentRecord::tidalDirection ( ) const
void makArchives::DtEnvironmentRecord::setFogHeight ( float  meters)

Set / Get the fog height in distance.

float makArchives::DtEnvironmentRecord::fogHeight ( ) const
void makArchives::DtEnvironmentRecord::setFogColor ( const DtColorRecord color)

Set / Get the fog color. Components are normalized values (0.0 - 1.0).

const DtColorRecord& makArchives::DtEnvironmentRecord::fogColor ( ) const
void makArchives::DtEnvironmentRecord::setThermoclineRecord ( unsigned int  index,
const DtThermoclineRecord tRec 
)

Set / Get a thermocline data.

DtThermoclineRecord makArchives::DtEnvironmentRecord::thermoclineRecord ( unsigned int  index) const
void makArchives::DtEnvironmentRecord::setThermoclineDepth ( unsigned int  index,
float  depth 
)
float makArchives::DtEnvironmentRecord::thermoclineDepth ( unsigned int  index) const
void makArchives::DtEnvironmentRecord::setThermoclinePermeability ( unsigned int  index,
float  permeability 
)
float makArchives::DtEnvironmentRecord::thermoclinePermeability ( unsigned int  index) const
void makArchives::DtEnvironmentRecord::setGroundSnowAccumulation ( float  depth)

get/set the ground snow accumulation depth

float makArchives::DtEnvironmentRecord::groundSnowAccumulation ( ) const
void makArchives::DtEnvironmentRecord::setRoadSnowAccumulation ( float  depth)

get/set the road snow accumulation depth

float makArchives::DtEnvironmentRecord::roadSnowAccumulation ( ) const
void makArchives::DtEnvironmentRecord::setSnowMinimumElevation ( float  elevation)

get/set the snow minimum elevation

float makArchives::DtEnvironmentRecord::snowMinimumElevation ( ) const
void makArchives::DtEnvironmentRecord::setSnowElevationTransition ( float  elevation)

get/set the snow elevation transition which specifies how long it takes to go from no snow to the full snow depth.

float makArchives::DtEnvironmentRecord::snowElevationTransition ( ) const
void makArchives::DtEnvironmentRecord::setGroundRainAccumulation ( float  depth)

get/set the ground rain accumulation depth

float makArchives::DtEnvironmentRecord::groundRainAccumulation ( ) const
virtual const std::string* makArchives::DtEnvironmentRecord::findOptionalParameter ( const std::string &  name) const
virtual

Find an optional parameter.

virtual void makArchives::DtEnvironmentRecord::setOptionalParameter ( const std::string &  name,
const std::string &  value 
)
virtual

Set an optional parameter.

virtual void makArchives::DtEnvironmentRecord::setOptionalParameters ( const OptionalParameterMap )
virtual

Set an optional parameters.

This will overwrite any existing optional parameters.

virtual void makArchives::DtEnvironmentRecord::removeOptionalParameter ( const std::string &  name)
virtual

Remove an optional parameter.

const OptionalParameterMap& makArchives::DtEnvironmentRecord::optionalParameters ( ) const

Get the optional parameters.

template<class Archive >
void makArchives::DtEnvironmentRecord::serialize ( Archive &  ar,
const unsigned int  version 
)
inlineprotected

When the class Archive corresponds to an output archive, the & operator is defined similar to <<.

Likewise, when the class Archive is a type of input archive the & operator is defined similar to >>.

Friends And Related Function Documentation

friend class boost::serialization::access
friend

Member Data Documentation

std::string makArchives::DtEnvironmentRecord::myEnvironmentName
protected
float makArchives::DtEnvironmentRecord::myAirTurbidity
protected
float makArchives::DtEnvironmentRecord::myVisibilityDistance
protected
int makArchives::DtEnvironmentRecord::myPrecipitation
protected
float makArchives::DtEnvironmentRecord::myPrecipitationIntensity
protected
CloudLayerRecordList makArchives::DtEnvironmentRecord::myCloudLayers
protected
DtCloudCoverType makArchives::DtEnvironmentRecord::myCloudCoverType
protected
float makArchives::DtEnvironmentRecord::myWindSpeed
protected
float makArchives::DtEnvironmentRecord::myWindDirection
protected
float makArchives::DtEnvironmentRecord::myAmbientAirTemperature
protected
int makArchives::DtEnvironmentRecord::mySeaState
protected
float makArchives::DtEnvironmentRecord::mySeaStateDirection
protected
bool makArchives::DtEnvironmentRecord::myWindDrivenSeaStateEnabled
protected
int makArchives::DtEnvironmentRecord::mySwellState
protected
float makArchives::DtEnvironmentRecord::mySwellStateDirection
protected
float makArchives::DtEnvironmentRecord::myWindFetch
protected
float makArchives::DtEnvironmentRecord::mySeaChoppiness
protected
float makArchives::DtEnvironmentRecord::myUnderwaterVisibility
protected
float makArchives::DtEnvironmentRecord::mySurfaceTransparency
protected
float makArchives::DtEnvironmentRecord::mySurgeDepth
protected
float makArchives::DtEnvironmentRecord::myDepthOffset
protected
float makArchives::DtEnvironmentRecord::myAmbientWaterTemperature
protected
float makArchives::DtEnvironmentRecord::myWaterCurrentSpeed
protected
float makArchives::DtEnvironmentRecord::myWaterCurrentDirection
protected
float makArchives::DtEnvironmentRecord::myTidalOffset
protected
bool makArchives::DtEnvironmentRecord::myTidalDirection
protected
float makArchives::DtEnvironmentRecord::myFogHeight
protected
DtColorRecord makArchives::DtEnvironmentRecord::myFogColor
protected
ThermoclineRecordList makArchives::DtEnvironmentRecord::myThermoclineRecordList
protected
bool makArchives::DtEnvironmentRecord::myUseCustomCloudCover
protected
OptionalParameterMap makArchives::DtEnvironmentRecord::myOptionalParameters
protected
bool makArchives::DtEnvironmentRecord::myPrecipitationEnabledFlag
protected
std::string makArchives::DtEnvironmentRecord::myPrecipitationType
protected
bool makArchives::DtEnvironmentRecord::myUnderwaterVisibilityEnabled
protected
float makArchives::DtEnvironmentRecord::myGroundSnowAccumulation
protected
float makArchives::DtEnvironmentRecord::myRoadSnowAccumulation
protected
float makArchives::DtEnvironmentRecord::mySnowMinimumElevation
protected
float makArchives::DtEnvironmentRecord::mySnowElevationTransition
protected
float makArchives::DtEnvironmentRecord::myGroundRainAccumulation
protected

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

Document ID: Generated on Thu Aug 27 10:56:05 EDT 2020 from SVN revision 217100
Copyright © 2005-2020 MAK Technologies. All Rights Reserved (www.mak.com)