VR-Forces 5.0.2 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Types | Public Member Functions | Static Public Attributes
makVrv::DtEnvironmentInterface Class Referenceabstract

The DtEnvironmentInterface is an interface class providing abstraction for different managers of environmental effects for a scene.

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

Public Types

enum  PrecipitationType {
  None = DtSkyObject::None, Rain = DtSkyObject::Rain, Snow = DtSkyObject::SnowWet, Hail = DtSkyObject::Hail,
  Sleet = DtSkyObject::Sleet, Drizzle = DtSkyObject::Drizzle
}
 
typedef
makArchives::VisibilityObscurant 
VisibilityObscurant
 
typedef
makArchives::DtEnvironmentRecord::DtElevationalConfigurationRecord 
DtElevationalConfigurationRecord
 
typedef
DtCloudTypeMapper::CloudType 
CloudType
 

Public Member Functions

 DtEnvironmentInterface ()
 
virtual ~DtEnvironmentInterface ()
 
virtual void getRecord (makArchives::DtEnvironmentRecord &record)=0
 
virtual void setFromRecord (const makArchives::DtEnvironmentRecord &record)=0
 
virtual void updateOrAddElevationalConfiguration (const DtElevationalConfigurationRecord &record)=0
 
virtual bool getElevationalConfiguration (float baseMSLAltitude, makArchives::DtEnvironmentRecord::DtElevationalConfigurationRecord &wRec) const =0
 
virtual void removeElevationalConfiguration (float baseMSLAltitude)=0
 
virtual void moveElevationalConfiguration (float oldBaseMSLAltitude, float newBaseMSLAltitude)=0
 
virtual void setWindSpeedAtMSLAltitude (float mslAltitude, float windSpeed)=0
 
virtual float windSpeedAtMSLAltitude (float mslAltitude) const =0
 
virtual void setWindDirectionAtMSLAltitude (float mslAltitude, float windDirection)=0
 
virtual float windDirectionAtMSLAltitude (float mslAltitude) const =0
 
virtual void setVisibilityDistanceAtMSLAltitude (float mslAltitude, float visibilityDistance)=0
 
virtual float visibilityDistanceAtMSLAltitude (float mslAltitude) const =0
 
virtual void setObscurantAtMSLAltitude (float mslAltitude, VisibilityObscurant obscurant)=0
 
virtual VisibilityObscurant obscurantAtMSLAltitude (float mslAltitude) const =0
 
virtual void setCloudTypeAtMSLAltitude (float mslAltitude, CloudType cloudType)=0
 
virtual CloudType cloudTypeAtMSLAltitude (float mslAltitude) const =0
 
virtual void setSkyCoverageAtMSLAltitude (float mslAltitude, float skyCoverage)=0
 
virtual float skyCoverageAtMSLAltitude (float mslAltitude) const =0
 
virtual void loadDefaults (bool loadOnlyFactorySettings=false)=0
 
virtual void restore ()=0
 
virtual void saveAsDefaults ()=0
 
virtual void saveEnvironment (const std::string &envName)=0
 
virtual void removeEnvironment (const std::string &envName)=0
 
virtual void renameEnvironment (const std::string &oldName, const std::string &newName)=0
 
virtual void getEnvironmentNames (std::vector< std::string > &names, bool includeLocalOnlyEnvironment=false)=0
 
virtual void setEnvironment (const std::string &envName)=0
 
virtual void setDefaultEnvironmentName (const std::string &name)=0
 
virtual std::string defaultEnvironmentName () const =0
 
virtual void setLightningPresent (bool lightningPresent)=0
 
virtual bool lightningPresent () const =0
 
virtual void setAirTurbidity (float turbidity)=0
 
virtual float airTurbidity () const =0
 
virtual void setVisibleDistance (float distance)=0
 
virtual float visibleDistance () const =0
 
virtual void setWindSpeed (float windSpeed)=0
 
virtual float windSpeed () const =0
 
virtual void setWindDirection (float direction)=0
 
virtual float windDirection () const =0
 
virtual void setPrecipitationType (PrecipitationType type)=0
 
virtual PrecipitationType precipitationType () const =0
 
virtual void setPrecipitationIntensity (float intensity)=0
 
virtual float precipitationIntensity () const =0
 
virtual void setAmbientAirTemperature (float temperature)=0
 
virtual float ambientAirTemperature () const =0
 
virtual void setAmbientAirPressure (float pressure)=0
 
virtual float ambientAirPressure () const =0
 
virtual void setAirPressureAltitude (float altitude)=0
 
virtual float airPressureAltitude () const =0
 
virtual void setAirTemperatureAltitude (float altitude)=0
 
virtual float airTemperatureAltitude () const =0
 
virtual void setAirPressureAltitudeIsSeaLevel (bool seaLevel)=0
 
virtual bool airPressureAltitudeIsSeaLevel () const =0
 
virtual void setAirTemperatureAltitudeIsSeaLevel (bool seaLevel)=0
 
virtual bool airTemperatureAltitudeIsSeaLevel () const =0
 
virtual void setSeaLevelWaterConcentration (float water)=0
 
virtual float seaLevelWaterConcentration () const =0
 
virtual void setFogHeight (float height)=0
 
virtual float fogHeight () const =0
 
virtual void setFogColor (const DtVector &color)=0
 
virtual DtVector fogColor () const =0
 
virtual void setGroundFogColor (const DtVector &color)=0
 
virtual DtVector groundFogColor () const =0
 
virtual void setSeaState (DtDouglasSeaState::Scale state)=0
 
virtual DtDouglasSeaState::Scale seaState () const =0
 
virtual void setSeaStateDirection (float dir)=0
 
virtual float seaStateDirection () const =0
 
virtual void setWindDrivenSeaState (bool enabled)=0
 
virtual bool windDrivenSeaState () const =0
 
virtual void setSwellState (DtDouglasSwellState::Scale state)=0
 
virtual DtDouglasSwellState::Scale swellState () const =0
 
virtual void setSwellStateDirection (float dir)=0
 
virtual float swellStateDirection () const =0
 
virtual void setWindFetch (float distance)=0
 
virtual float windFetch () const =0
 
virtual void setSeaChoppiness (float chop)=0
 
virtual float seaChoppiness () const =0
 
virtual void setUnderwaterVisibilityEnabled (bool enabled)=0
 
virtual bool underwaterVisibilityEnabled () const =0
 
virtual void setUnderwaterVisibility (float distance)=0
 
virtual float underwaterVisibility () const =0
 
virtual void setWaterSurfaceTransparency (float normalizedValue)=0
 
virtual float waterSurfaceTransparency () const =0
 
virtual void setSurgeDepth (float meters)=0
 
virtual float surgeDepth () const =0
 
virtual void setDepthOffset (float meters)=0
 
virtual float depthOffset () const =0
 
virtual void setAmbientWaterTemperature (float temperature)=0
 
virtual float ambientWaterTemperature () const =0
 
virtual void setWaterCurrentSpeed (float speed)=0
 
virtual float waterCurrentSpeed () const =0
 
virtual void setWaterCurrentDirection (float direction)=0
 
virtual float waterCurrentDirection () const =0
 
virtual void setTidalOffset (float meters)=0
 
virtual float tidalOffset () const =0
 
virtual void setTidalDirection (bool inOut)=0
 
virtual bool tidalDirection () const =0
 
virtual void setThermoclineDepth (unsigned int layer, float depth)=0
 
virtual float thermoclineDepth (unsigned int layer) const =0
 
virtual void setThermoclinePermeability (unsigned int layer, float permeability)=0
 
virtual float thermoclinePermeability (unsigned int layer) const =0
 
virtual void setGroundSnowAccumulation (float depth)=0
 
virtual float groundSnowAccumulation () const =0
 
virtual void setRoadSnowAccumulation (float depth)=0
 
virtual float roadSnowAccumulation () const =0
 
virtual void setSnowMinimumElevation (float elevation)=0
 
virtual float snowMinimumElevation () const =0
 
virtual void setSnowElevationTransition (float elevation)=0
 
virtual float snowElevationTransition () const =0
 
virtual void setGroundRainAccumulation (float depth)=0
 
virtual float groundRainAccumulation () const =0
 
virtual void exportSettings (const std::string &filename)=0
 
virtual void importSettings (const std::string &filename)=0
 

Static Public Attributes

static const std::string theRemoteEnvironmentName
 
static const float theMaximumVisibilityDistance
 

Protected Member Functions

virtual void slot_coordinateSystemChanged ()=0
 
virtual void slot_oceanLayerAdded (const DtOceanLayer &layer)=0
 
virtual void slot_oceanLayerToBeDeleted (const DtOceanLayer &layer)=0
 
virtual void slot_oceanLayerSeaLevelChanged (const DtOceanLayer &layer, double seaLevel)=0
 
virtual void slot_oceanLayerLodRangeChanged (const DtOceanLayer &layer, int range)=0
 
virtual void slot_surgeDepthChanged (double depth)=0
 
virtual void slot_depthOffsetChanged (double offset)=0
 

Member Typedef Documentation

Member Enumeration Documentation

Enumerator
None 
Rain 
Snow 
Hail 
Sleet 
Drizzle 

Constructor & Destructor Documentation

makVrv::DtEnvironmentInterface::DtEnvironmentInterface ( )

CTOR.

virtual makVrv::DtEnvironmentInterface::~DtEnvironmentInterface ( )
virtual

Virtual DTOR.

Member Function Documentation

virtual void makVrv::DtEnvironmentInterface::getRecord ( makArchives::DtEnvironmentRecord record)
pure virtual

Get the specified environment by record; used to serialize a scene This method throws the exception DtException if the named environment is not found.

Implemented in makVrf::DtLocalEnvironment, and makVrv::DtEnvironment.

virtual void makVrv::DtEnvironmentInterface::setFromRecord ( const makArchives::DtEnvironmentRecord record)
pure virtual

Set the startup (last current) environment from record.

Implemented in makVrf::DtLocalEnvironment, and makVrv::DtEnvironment.

virtual void makVrv::DtEnvironmentInterface::saveEnvironment ( const std::string &  envName)
pure virtual

Save the current environment with the current name. If an environment with that name does not exist, add a new environment entry.

Implemented in makVrf::DtLocalEnvironment, and makVrv::DtEnvironment.

virtual void makVrv::DtEnvironmentInterface::removeEnvironment ( const std::string &  envName)
pure virtual

Remove an environment entry.

Implemented in makVrf::DtLocalEnvironment, and makVrv::DtEnvironment.

virtual void makVrv::DtEnvironmentInterface::renameEnvironment ( const std::string &  oldName,
const std::string &  newName 
)
pure virtual

Rename an environment entry.

Implemented in makVrf::DtLocalEnvironment, and makVrv::DtEnvironment.

virtual void makVrv::DtEnvironmentInterface::getEnvironmentNames ( std::vector< std::string > &  names,
bool  includeLocalOnlyEnvironment = false 
)
pure virtual

Get the names of all the environment conditions. The includeLocalOnlyEnvironment flag is used by VR-Forces to get all the global and local environment conditions to be listed by their local weather area editor panel.

Implemented in makVrf::DtLocalEnvironment, and makVrv::DtEnvironment.

virtual void makVrv::DtEnvironmentInterface::setEnvironment ( const std::string &  envName)
pure virtual

The current environment takes on the settings of the named env.

Implemented in makVrf::DtLocalEnvironment, and makVrv::DtEnvironment.

virtual void makVrv::DtEnvironmentInterface::setDefaultEnvironmentName ( const std::string &  name)
pure virtual

Set the name of the default environment conditions.

Parameters
[in]nameis the name of the default environment.

Implemented in makVrf::DtLocalEnvironment, and makVrv::DtEnvironment.

virtual std::string makVrv::DtEnvironmentInterface::defaultEnvironmentName ( ) const
pure virtual

Get the name of the default environment conditions.

Returns
The name of the default environment.

Implemented in makVrf::DtLocalEnvironment, and makVrv::DtEnvironment.

virtual void makVrv::DtEnvironmentInterface::setLightningPresent ( bool  lightningPresent)
pure virtual

Set/Get whether or not lightning is present.

Implemented in makVrv::DtEnvironment, and makVrf::DtLocalEnvironment.

virtual bool makVrv::DtEnvironmentInterface::lightningPresent ( ) const
pure virtual

Save the current environment with the current name. If an environment with that name does not exist, add a new environment entry.

Implemented in makVrv::DtEnvironment, and makVrf::DtLocalEnvironment.

virtual void makVrv::DtEnvironmentInterface::setAirTurbidity ( float  turbidity)
pure virtual

Set/Get the air turbidity (haziness)

Implemented in makVrv::DtEnvironment, and makVrf::DtLocalEnvironment.

virtual float makVrv::DtEnvironmentInterface::airTurbidity ( ) const
pure virtual

Set/Get the air turbidity (haziness)

Implemented in makVrv::DtEnvironment, and makVrf::DtLocalEnvironment.

virtual void makVrv::DtEnvironmentInterface::setVisibleDistance ( float  distance)
pure virtual

Set / get the 'global' visible distance, in meters. This functions sets/gets the visibility distance for the elevational configuration record at base MSL altitude 0. If there are no other elevational configurations, then the visible distance specified has a global effect.

Implemented in makVrv::DtEnvironment, and makVrf::DtLocalEnvironment.

virtual float makVrv::DtEnvironmentInterface::visibleDistance ( ) const
pure virtual

Set / get the 'global' visible distance, in meters. This functions sets/gets the visibility distance for the elevational configuration record at base MSL altitude 0. If there are no other elevational configurations, then the visible distance specified has a global effect.

Implemented in makVrv::DtEnvironment, and makVrf::DtLocalEnvironment.

virtual void makVrv::DtEnvironmentInterface::setWindSpeed ( float  windSpeed)
pure virtual

Set / get the 'global' wind speed, in meters per second. These functions sets/gets the wind speed for the elevational configuration record at base MSL altitude 0. If there are no other elevational configurations, then the wind speed specified has a global effect.

Implemented in makVrv::DtEnvironment, and makVrf::DtLocalEnvironment.

virtual float makVrv::DtEnvironmentInterface::windSpeed ( ) const
pure virtual

Set / get the 'global' wind speed, in meters per second. These functions sets/gets the wind speed for the elevational configuration record at base MSL altitude 0. If there are no other elevational configurations, then the wind speed specified has a global effect.

Implemented in makVrv::DtEnvironment, and makVrf::DtLocalEnvironment.

virtual void makVrv::DtEnvironmentInterface::setWindDirection ( float  direction)
pure virtual

Set / get the 'global' wind direction, in radians. This functions sets/gets the wind direction for the elevational configuration record at base MSL altitude 0. If there are no other elevational configurations, then the wind direction specified has a global effect.

Implemented in makVrv::DtEnvironment, and makVrf::DtLocalEnvironment.

virtual float makVrv::DtEnvironmentInterface::windDirection ( ) const
pure virtual

Set / get the 'global' wind direction, in radians. This functions sets/gets the wind direction for the elevational configuration record at base MSL altitude 0. If there are no other elevational configurations, then the wind direction specified has a global effect.

Implemented in makVrv::DtEnvironment, and makVrf::DtLocalEnvironment.

virtual void makVrv::DtEnvironmentInterface::setPrecipitationType ( PrecipitationType  type)
pure virtual

Set/Get the precipitation type.

Implemented in makVrv::DtEnvironment, and makVrf::DtLocalEnvironment.

virtual PrecipitationType makVrv::DtEnvironmentInterface::precipitationType ( ) const
pure virtual

Set/Get the precipitation type.

Implemented in makVrv::DtEnvironment, and makVrf::DtLocalEnvironment.

virtual void makVrv::DtEnvironmentInterface::setPrecipitationIntensity ( float  intensity)
pure virtual

Set/Get the precipitation intensity.

Implemented in makVrv::DtEnvironment, and makVrf::DtLocalEnvironment.

virtual float makVrv::DtEnvironmentInterface::precipitationIntensity ( ) const
pure virtual

Set/Get the precipitation intensity.

Implemented in makVrv::DtEnvironment, and makVrf::DtLocalEnvironment.

virtual void makVrv::DtEnvironmentInterface::updateOrAddElevationalConfiguration ( const DtElevationalConfigurationRecord record)
pure virtual

Update an elevational configuration record which consists of 1) a base MSL altitude, in meters, 2) a wind speed, in meters per second, 3) a wind direction, in radians from True North (clockwise), 4) a visibility distance, in meters, and 5) an enumerated visibility obscurant value. If the elevational configuration record doesn't exist, add a new one with the passed in attributes. The Base MSL Altitude is used to locate the specific elevational configuration record to update, if there is one, by doing a floating point comparison (with a +/- delta of 0.001) against all the existing elevational configuration records.

Implemented in makVrv::DtEnvironment, and makVrf::DtLocalEnvironment.

virtual bool makVrv::DtEnvironmentInterface::getElevationalConfiguration ( float  baseMSLAltitude,
makArchives::DtEnvironmentRecord::DtElevationalConfigurationRecord wRec 
) const
pure virtual

Get an elevational configuration record by its base MSL altitude, in meters, and return it by reference. The function returns true if the elevational configuration record was found and returned - returning false otherwise. The Base MSL Altitude is used to locate the specific elevational configuration record to return, if there is one, by doing a floating point comparison (with a +/- delta of 0.001) against all the existing elevational configuration records.

Implemented in makVrv::DtEnvironment, and makVrf::DtLocalEnvironment.

virtual void makVrv::DtEnvironmentInterface::removeElevationalConfiguration ( float  baseMSLAltitude)
pure virtual

Remove an elevational configuration record by its MSL altitude, in meters. The Base MSL Altitude is used to locate the specific elevational configuration record to remove, if there is one, by doing a floating point comparison (with a +/- delta of 0.001) against all the existing elevational configuration records. This function emits a warning if the elevational configuration record to remove was not found.

Implemented in makVrv::DtEnvironment, and makVrf::DtLocalEnvironment.

virtual void makVrv::DtEnvironmentInterface::moveElevationalConfiguration ( float  oldBaseMSLAltitude,
float  newBaseMSLAltitude 
)
pure virtual

Move an elevational configuration record from the provided 'old' base MSL altitude to the provided 'new' base MSL altitude. This function checks to see if there is already an elevational configuration record for the passed in new base MSL altitude and, if there is, this function will emit a warning. If there is not an elevational wind for the passed in old base MSL altitude, then the function will also emit a warning. The Base MSL Altitude is used to locate the specific elevational configuration record to move, if there is one, by doing a floating point comparison (with a +/- delta of 0.001) against all the existing elevational configuration records.

Implemented in makVrv::DtEnvironment, and makVrf::DtLocalEnvironment.

virtual void makVrv::DtEnvironmentInterface::setWindSpeedAtMSLAltitude ( float  mslAltitude,
float  windSpeed 
)
pure virtual

Set the wind speed at the provided MSL altitude, in meters. This function finds the elevational configuration record with the lowest base MSL altitude that is at or below the requested altitude and sets the record's wind speed. Wind speed is expressed in meters per second.

Implemented in makVrv::DtEnvironment, and makVrf::DtLocalEnvironment.

virtual float makVrv::DtEnvironmentInterface::windSpeedAtMSLAltitude ( float  mslAltitude) const
pure virtual

Get the wind speed at the provided MSL altitude, in meters. This function finds the elevational configuration record with the lowest base MSL altitude that is at or below the requested altitude and returns the record's wind speed. Wind speed is expressed in meters per second.

Implemented in makVrv::DtEnvironment, and makVrf::DtLocalEnvironment.

virtual void makVrv::DtEnvironmentInterface::setWindDirectionAtMSLAltitude ( float  mslAltitude,
float  windDirection 
)
pure virtual

Set the wind direction at the provided MSL altitude, in meters. This function finds the elevational configuration record with the lowest base MSL altitude that is at or below the requested altitude and sets the record's wind direction. Wind direction is expressed in radians from True North (clockwise).

Implemented in makVrv::DtEnvironment, and makVrf::DtLocalEnvironment.

virtual float makVrv::DtEnvironmentInterface::windDirectionAtMSLAltitude ( float  mslAltitude) const
pure virtual

Get the wind direction at the provided MSL altitude, in meters. This function finds the elevational configuration record with the lowest base MSL altitude that is at or below the requested altitude and returns the record's wind direction. Wind direction is expressed in radians from True North (clockwise).

Implemented in makVrv::DtEnvironment, and makVrf::DtLocalEnvironment.

virtual void makVrv::DtEnvironmentInterface::setVisibilityDistanceAtMSLAltitude ( float  mslAltitude,
float  visibilityDistance 
)
pure virtual

Set the visibility distance at the provided MSL altitude, in meters. This function finds the elevational configuration record with the lowest base MSL altitude that is at or below the requested altitude and sets the record's visibility distance. Visibility distance is expressed in meters.

Implemented in makVrv::DtEnvironment, and makVrf::DtLocalEnvironment.

virtual float makVrv::DtEnvironmentInterface::visibilityDistanceAtMSLAltitude ( float  mslAltitude) const
pure virtual

Get the visibility distance at the provided MSL altitude, in meters. This function finds the elevational configuration record with the lowest base MSL altitude that is at or below the requested altitude and returns the record's visibility distance. Visibility distance is expressed in meters.

Implemented in makVrv::DtEnvironment, and makVrf::DtLocalEnvironment.

virtual void makVrv::DtEnvironmentInterface::setObscurantAtMSLAltitude ( float  mslAltitude,
VisibilityObscurant  obscurant 
)
pure virtual

Set the obscurant at the provided MSL altitude, in meters. This function finds the elevational configuration record with the lowest base MSL altitude that is at or below the requested altitude and sets the record's obscurant. Obscurant is expressed as a VisibilityObscurant enumerated value.

Implemented in makVrv::DtEnvironment, and makVrf::DtLocalEnvironment.

virtual VisibilityObscurant makVrv::DtEnvironmentInterface::obscurantAtMSLAltitude ( float  mslAltitude) const
pure virtual

Get the obscurant at the provided MSL altitude, in meters. This function finds the elevational configuration record with the lowest base MSL altitude that is at or below the requested altitude and returns the record's obscurant. Obscurant is expressed as a VisibilityObscurant enumerated value.

Implemented in makVrv::DtEnvironment, and makVrf::DtLocalEnvironment.

virtual void makVrv::DtEnvironmentInterface::setCloudTypeAtMSLAltitude ( float  mslAltitude,
CloudType  cloudType 
)
pure virtual

Set the cloud type at the provided MSL altitude, in meters. This function finds the elevational configuration record with the lowest base MSL altitude that is at or below the requested altitude and sets the record's obscurant. Cloud type is expressed as a CloudType enumerated value.

Implemented in makVrv::DtEnvironment, and makVrf::DtLocalEnvironment.

virtual CloudType makVrv::DtEnvironmentInterface::cloudTypeAtMSLAltitude ( float  mslAltitude) const
pure virtual

Get the cloud type at the provided MSL altitude, in meters. This function finds the elevational configuration record with the lowest base MSL altitude that is at or below the requested altitude and returns the record's obscurant. Cloud type is expressed as a CloudType enumerated value.

Implemented in makVrv::DtEnvironment, and makVrf::DtLocalEnvironment.

virtual void makVrv::DtEnvironmentInterface::setSkyCoverageAtMSLAltitude ( float  mslAltitude,
float  skyCoverage 
)
pure virtual

Set the sky coverage at the provided MSL altitude, in meters. This function finds the elevational configuration record with the lowest base MSL altitude that is at or below the requested altitude and sets the record's obscurant. Sky coverage is expressed in normalized Oktas [0-1].

Implemented in makVrv::DtEnvironment, and makVrf::DtLocalEnvironment.

virtual float makVrv::DtEnvironmentInterface::skyCoverageAtMSLAltitude ( float  mslAltitude) const
pure virtual

Get the sky coverage at the provided MSL altitude, in meters. This function finds the elevational configuration record with the lowest base MSL altitude that is at or below the requested altitude and returns the record's obscurant. Sky coverage is expressed in normalized Oktas [0-1].

Implemented in makVrv::DtEnvironment, and makVrf::DtLocalEnvironment.

virtual void makVrv::DtEnvironmentInterface::setAmbientAirTemperature ( float  temperature)
pure virtual

Set/Get the ambient air temperature, in Kelvins.

Implemented in makVrv::DtEnvironment, and makVrf::DtLocalEnvironment.

virtual float makVrv::DtEnvironmentInterface::ambientAirTemperature ( ) const
pure virtual

Set/Get the ambient air temperature, in Kelvins.

Implemented in makVrv::DtEnvironment, and makVrf::DtLocalEnvironment.

virtual void makVrv::DtEnvironmentInterface::setAmbientAirPressure ( float  pressure)
pure virtual

Set/Get the ambient air pressure in Pascals.

Implemented in makVrv::DtEnvironment, and makVrf::DtLocalEnvironment.

virtual float makVrv::DtEnvironmentInterface::ambientAirPressure ( ) const
pure virtual

Set/Get the ambient air pressure in Pascals.

Implemented in makVrv::DtEnvironment, and makVrf::DtLocalEnvironment.

virtual void makVrv::DtEnvironmentInterface::setAirPressureAltitude ( float  altitude)
pure virtual

Set/Get the air pressure altitude in meters.

Implemented in makVrv::DtEnvironment, and makVrf::DtLocalEnvironment.

virtual float makVrv::DtEnvironmentInterface::airPressureAltitude ( ) const
pure virtual

Set/Get the air pressure altitude in meters.

Implemented in makVrv::DtEnvironment, and makVrf::DtLocalEnvironment.

virtual void makVrv::DtEnvironmentInterface::setAirTemperatureAltitude ( float  altitude)
pure virtual

Set/Get the air temperature altitude in meters.

Implemented in makVrv::DtEnvironment, and makVrf::DtLocalEnvironment.

virtual float makVrv::DtEnvironmentInterface::airTemperatureAltitude ( ) const
pure virtual

Set/Get the air temperature altitude in meters.

Implemented in makVrv::DtEnvironment, and makVrf::DtLocalEnvironment.

virtual void makVrv::DtEnvironmentInterface::setAirPressureAltitudeIsSeaLevel ( bool  seaLevel)
pure virtual

Set/Get the air pressure altitude is sea level.

Implemented in makVrv::DtEnvironment, and makVrf::DtLocalEnvironment.

virtual bool makVrv::DtEnvironmentInterface::airPressureAltitudeIsSeaLevel ( ) const
pure virtual

Set/Get the air pressure altitude is sea level.

Implemented in makVrv::DtEnvironment, and makVrf::DtLocalEnvironment.

virtual void makVrv::DtEnvironmentInterface::setAirTemperatureAltitudeIsSeaLevel ( bool  seaLevel)
pure virtual

Set/Get the air temperature altitude is sea level.

Implemented in makVrv::DtEnvironment, and makVrf::DtLocalEnvironment.

virtual bool makVrv::DtEnvironmentInterface::airTemperatureAltitudeIsSeaLevel ( ) const
pure virtual

Set/Get the air temperature altitude is sea level.

Implemented in makVrv::DtEnvironment, and makVrf::DtLocalEnvironment.

virtual void makVrv::DtEnvironmentInterface::setSeaLevelWaterConcentration ( float  water)
pure virtual

get/set the sea level water concentration in PPMV

Implemented in makVrv::DtEnvironment, and makVrf::DtLocalEnvironment.

virtual float makVrv::DtEnvironmentInterface::seaLevelWaterConcentration ( ) const
pure virtual

get/set the sea level water concentration in PPMV

Implemented in makVrv::DtEnvironment, and makVrf::DtLocalEnvironment.

virtual void makVrv::DtEnvironmentInterface::setFogHeight ( float  height)
pure virtual

Set/Get the fog ceiling height in meters.

Implemented in makVrv::DtEnvironment, and makVrf::DtLocalEnvironment.

virtual float makVrv::DtEnvironmentInterface::fogHeight ( ) const
pure virtual

Set/Get the fog ceiling height in meters.

Implemented in makVrv::DtEnvironment, and makVrf::DtLocalEnvironment.

virtual void makVrv::DtEnvironmentInterface::setFogColor ( const DtVector color)
pure virtual

Set/Get the fog color in normalized color components.

Implemented in makVrv::DtEnvironment, and makVrf::DtLocalEnvironment.

virtual DtVector makVrv::DtEnvironmentInterface::fogColor ( ) const
pure virtual

Set/Get the fog color in normalized color components.

Implemented in makVrv::DtEnvironment, and makVrf::DtLocalEnvironment.

virtual void makVrv::DtEnvironmentInterface::setGroundFogColor ( const DtVector color)
pure virtual

Set / get the ground fog color in normalized color components.

Implemented in makVrv::DtEnvironment, and makVrf::DtLocalEnvironment.

virtual DtVector makVrv::DtEnvironmentInterface::groundFogColor ( ) const
pure virtual

Set / get the ground fog color in normalized color components.

Implemented in makVrv::DtEnvironment, and makVrf::DtLocalEnvironment.

virtual void makVrv::DtEnvironmentInterface::setSeaState ( DtDouglasSeaState::Scale  state)
pure virtual

Set/Get the sea state conditions based on the Douglas sea scale. (http://en.wikipedia.org/wiki/Douglas_Sea_Scale)

Implemented in makVrv::DtEnvironment, and makVrf::DtLocalEnvironment.

virtual DtDouglasSeaState::Scale makVrv::DtEnvironmentInterface::seaState ( ) const
pure virtual

Set/Get the sea state conditions based on the Douglas sea scale. (http://en.wikipedia.org/wiki/Douglas_Sea_Scale)

Implemented in makVrv::DtEnvironment, and makVrf::DtLocalEnvironment.

virtual void makVrv::DtEnvironmentInterface::setSeaStateDirection ( float  dir)
pure virtual

Set/Get the sea state direction in radians from True North.

Implemented in makVrv::DtEnvironment, and makVrf::DtLocalEnvironment.

virtual float makVrv::DtEnvironmentInterface::seaStateDirection ( ) const
pure virtual

Set/Get the sea state direction in radians from True North.

Implemented in makVrv::DtEnvironment, and makVrf::DtLocalEnvironment.

virtual void makVrv::DtEnvironmentInterface::setWindDrivenSeaState ( bool  enabled)
pure virtual

Set/Get if sea state is wind driven or manually driven.

Implemented in makVrv::DtEnvironment, and makVrf::DtLocalEnvironment.

virtual bool makVrv::DtEnvironmentInterface::windDrivenSeaState ( ) const
pure virtual

Set/Get if sea state is wind driven or manually driven.

Implemented in makVrv::DtEnvironment, and makVrf::DtLocalEnvironment.

virtual void makVrv::DtEnvironmentInterface::setSwellState ( DtDouglasSwellState::Scale  state)
pure virtual

Set/Get the sea swell conditions based on the Douglas sea scale. (http://en.wikipedia.org/wiki/Douglas_Sea_Scale)

Implemented in makVrv::DtEnvironment, and makVrf::DtLocalEnvironment.

virtual DtDouglasSwellState::Scale makVrv::DtEnvironmentInterface::swellState ( ) const
pure virtual

Set/Get the sea swell conditions based on the Douglas sea scale. (http://en.wikipedia.org/wiki/Douglas_Sea_Scale)

Implemented in makVrv::DtEnvironment, and makVrf::DtLocalEnvironment.

virtual void makVrv::DtEnvironmentInterface::setSwellStateDirection ( float  dir)
pure virtual

Set/Get the direction, in radians from True North, of sea swells.

Implemented in makVrv::DtEnvironment, and makVrf::DtLocalEnvironment.

virtual float makVrv::DtEnvironmentInterface::swellStateDirection ( ) const
pure virtual

Set/Get the direction, in radians from True North, of sea swells.

Implemented in makVrv::DtEnvironment, and makVrf::DtLocalEnvironment.

virtual void makVrv::DtEnvironmentInterface::setWindFetch ( float  distance)
pure virtual

Set/Get the ocean fetch.

Implemented in makVrv::DtEnvironment, and makVrf::DtLocalEnvironment.

virtual float makVrv::DtEnvironmentInterface::windFetch ( ) const
pure virtual

Set/Get the ocean fetch.

Implemented in makVrv::DtEnvironment, and makVrf::DtLocalEnvironment.

virtual void makVrv::DtEnvironmentInterface::setSeaChoppiness ( float  chop)
pure virtual

Set/Get the amount of chop on the sea.

Implemented in makVrv::DtEnvironment, and makVrf::DtLocalEnvironment.

virtual float makVrv::DtEnvironmentInterface::seaChoppiness ( ) const
pure virtual

Set/Get the amount of chop on the sea.

Implemented in makVrv::DtEnvironment, and makVrf::DtLocalEnvironment.

virtual void makVrv::DtEnvironmentInterface::setUnderwaterVisibilityEnabled ( bool  enabled)
pure virtual

Set / Get underwater visibility enabled.

Implemented in makVrv::DtEnvironment, and makVrf::DtLocalEnvironment.

virtual bool makVrv::DtEnvironmentInterface::underwaterVisibilityEnabled ( ) const
pure virtual

Set / Get underwater visibility enabled.

Implemented in makVrv::DtEnvironment, and makVrf::DtLocalEnvironment.

virtual void makVrv::DtEnvironmentInterface::setUnderwaterVisibility ( float  distance)
pure virtual

Set/Get the maximum visibility under water in meters.

Implemented in makVrv::DtEnvironment, and makVrf::DtLocalEnvironment.

virtual float makVrv::DtEnvironmentInterface::underwaterVisibility ( ) const
pure virtual

Set/Get the maximum visibility under water in meters.

Implemented in makVrv::DtEnvironment, and makVrf::DtLocalEnvironment.

virtual void makVrv::DtEnvironmentInterface::setWaterSurfaceTransparency ( float  normalizedValue)
pure virtual

Set/Get the transparency value of water surface.

Implemented in makVrv::DtEnvironment, and makVrf::DtLocalEnvironment.

virtual float makVrv::DtEnvironmentInterface::waterSurfaceTransparency ( ) const
pure virtual

Set/Get the transparency value of water surface.

Implemented in makVrv::DtEnvironment, and makVrf::DtLocalEnvironment.

virtual void makVrv::DtEnvironmentInterface::setSurgeDepth ( float  meters)
pure virtual

Set / Get the surge depth in distance.

Implemented in makVrv::DtEnvironment, and makVrf::DtLocalEnvironment.

virtual float makVrv::DtEnvironmentInterface::surgeDepth ( ) const
pure virtual

Set / Get the surge depth in distance.

Implemented in makVrv::DtEnvironment, and makVrf::DtLocalEnvironment.

virtual void makVrv::DtEnvironmentInterface::setDepthOffset ( float  meters)
pure virtual

Set / Get the depth offset in distance.

Implemented in makVrv::DtEnvironment, and makVrf::DtLocalEnvironment.

virtual float makVrv::DtEnvironmentInterface::depthOffset ( ) const
pure virtual

Set / Get the depth offset in distance.

Implemented in makVrv::DtEnvironment, and makVrf::DtLocalEnvironment.

virtual void makVrv::DtEnvironmentInterface::setAmbientWaterTemperature ( float  temperature)
pure virtual

Set/Get the ambient water temperature, in Kelvins.

Implemented in makVrv::DtEnvironment, and makVrf::DtLocalEnvironment.

virtual float makVrv::DtEnvironmentInterface::ambientWaterTemperature ( ) const
pure virtual

Set/Get the ambient water temperature, in Kelvins.

Implemented in makVrv::DtEnvironment, and makVrf::DtLocalEnvironment.

virtual void makVrv::DtEnvironmentInterface::setWaterCurrentSpeed ( float  speed)
pure virtual

Set/Get the speed of water currents in meters per second.

Implemented in makVrv::DtEnvironment, and makVrf::DtLocalEnvironment.

virtual float makVrv::DtEnvironmentInterface::waterCurrentSpeed ( ) const
pure virtual

Set/Get the speed of water currents in meters per second.

Implemented in makVrv::DtEnvironment, and makVrf::DtLocalEnvironment.

virtual void makVrv::DtEnvironmentInterface::setWaterCurrentDirection ( float  direction)
pure virtual

Set/Get the direction of water currents in radians from north (clockwise).

Implemented in makVrv::DtEnvironment, and makVrf::DtLocalEnvironment.

virtual float makVrv::DtEnvironmentInterface::waterCurrentDirection ( ) const
pure virtual

Set/Get the direction of water currents in radians from north (clockwise).

Implemented in makVrv::DtEnvironment, and makVrf::DtLocalEnvironment.

virtual void makVrv::DtEnvironmentInterface::setTidalOffset ( float  meters)
pure virtual

Set/Get the current tidal offset from mean-sea-level in meters.

Implemented in makVrv::DtEnvironment, and makVrf::DtLocalEnvironment.

virtual float makVrv::DtEnvironmentInterface::tidalOffset ( ) const
pure virtual

Set/Get the current tidal offset from mean-sea-level in meters.

Implemented in makVrv::DtEnvironment, and makVrf::DtLocalEnvironment.

virtual void makVrv::DtEnvironmentInterface::setTidalDirection ( bool  inOut)
pure virtual

Set/Get the current direction of tidal flow (0=out, 1=in).

Implemented in makVrv::DtEnvironment, and makVrf::DtLocalEnvironment.

virtual bool makVrv::DtEnvironmentInterface::tidalDirection ( ) const
pure virtual

Set/Get the current direction of tidal flow (0=out, 1=in).

Implemented in makVrv::DtEnvironment, and makVrf::DtLocalEnvironment.

virtual void makVrv::DtEnvironmentInterface::setThermoclineDepth ( unsigned int  layer,
float  depth 
)
pure virtual

Set/Get the thermocline depths.

Implemented in makVrv::DtEnvironment, and makVrf::DtLocalEnvironment.

virtual float makVrv::DtEnvironmentInterface::thermoclineDepth ( unsigned int  layer) const
pure virtual

Set/Get the thermocline depths.

Implemented in makVrv::DtEnvironment, and makVrf::DtLocalEnvironment.

virtual void makVrv::DtEnvironmentInterface::setThermoclinePermeability ( unsigned int  layer,
float  permeability 
)
pure virtual

Set/Get the thermocline permeability.

Implemented in makVrv::DtEnvironment, and makVrf::DtLocalEnvironment.

virtual float makVrv::DtEnvironmentInterface::thermoclinePermeability ( unsigned int  layer) const
pure virtual

Set/Get the thermocline permeability.

Implemented in makVrv::DtEnvironment, and makVrf::DtLocalEnvironment.

virtual void makVrv::DtEnvironmentInterface::setGroundSnowAccumulation ( float  depth)
pure virtual

Set/Get the ground snow accumulation depth.

Implemented in makVrv::DtEnvironment, and makVrf::DtLocalEnvironment.

virtual float makVrv::DtEnvironmentInterface::groundSnowAccumulation ( ) const
pure virtual

Set/Get the ground snow accumulation depth.

Implemented in makVrv::DtEnvironment, and makVrf::DtLocalEnvironment.

virtual void makVrv::DtEnvironmentInterface::setRoadSnowAccumulation ( float  depth)
pure virtual

Set/Get the road snow accumulation depth.

Implemented in makVrv::DtEnvironment, and makVrf::DtLocalEnvironment.

virtual float makVrv::DtEnvironmentInterface::roadSnowAccumulation ( ) const
pure virtual

Set/Get the road snow accumulation depth.

Implemented in makVrv::DtEnvironment, and makVrf::DtLocalEnvironment.

virtual void makVrv::DtEnvironmentInterface::setSnowMinimumElevation ( float  elevation)
pure virtual

Set/Get the snow minimum elevation.

Implemented in makVrv::DtEnvironment, and makVrf::DtLocalEnvironment.

virtual float makVrv::DtEnvironmentInterface::snowMinimumElevation ( ) const
pure virtual

Set/Get the snow minimum elevation.

Implemented in makVrv::DtEnvironment, and makVrf::DtLocalEnvironment.

virtual void makVrv::DtEnvironmentInterface::setSnowElevationTransition ( float  elevation)
pure virtual

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

Implemented in makVrv::DtEnvironment, and makVrf::DtLocalEnvironment.

virtual float makVrv::DtEnvironmentInterface::snowElevationTransition ( ) const
pure virtual

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

Implemented in makVrv::DtEnvironment, and makVrf::DtLocalEnvironment.

virtual void makVrv::DtEnvironmentInterface::setGroundRainAccumulation ( float  depth)
pure virtual

Set/Get the ground rain accumulation depth.

Implemented in makVrv::DtEnvironment, and makVrf::DtLocalEnvironment.

virtual float makVrv::DtEnvironmentInterface::groundRainAccumulation ( ) const
pure virtual

Set/Get the ground rain accumulation depth.

Implemented in makVrv::DtEnvironment, and makVrf::DtLocalEnvironment.

virtual void makVrv::DtEnvironmentInterface::loadDefaults ( bool  loadOnlyFactorySettings = false)
pure virtual
virtual void makVrv::DtEnvironmentInterface::restore ( )
pure virtual
virtual void makVrv::DtEnvironmentInterface::saveAsDefaults ( )
pure virtual
virtual void makVrv::DtEnvironmentInterface::exportSettings ( const std::string &  filename)
pure virtual

Import / export the list of named conditions.

Implemented in makVrv::DtEnvironment, and makVrf::DtLocalEnvironment.

virtual void makVrv::DtEnvironmentInterface::importSettings ( const std::string &  filename)
pure virtual

Import / export the list of named conditions.

Implemented in makVrv::DtEnvironment, and makVrf::DtLocalEnvironment.

virtual void makVrv::DtEnvironmentInterface::slot_coordinateSystemChanged ( )
protectedpure virtual

\name Slots for handling changes in the simulation.

Handle current coordinate system changes

Implemented in makVrv::DtEnvironment, and makVrf::DtLocalEnvironment.

virtual void makVrv::DtEnvironmentInterface::slot_oceanLayerAdded ( const DtOceanLayer layer)
protectedpure virtual

Handle an ocean layer being added.

Implemented in makVrv::DtEnvironment, and makVrf::DtLocalEnvironment.

virtual void makVrv::DtEnvironmentInterface::slot_oceanLayerToBeDeleted ( const DtOceanLayer layer)
protectedpure virtual

Handle an ocean layer being removed.

Implemented in makVrv::DtEnvironment, and makVrf::DtLocalEnvironment.

virtual void makVrv::DtEnvironmentInterface::slot_oceanLayerSeaLevelChanged ( const DtOceanLayer layer,
double  seaLevel 
)
protectedpure virtual

Handle a change to an ocean layer's sea level.

Implemented in makVrv::DtEnvironment, and makVrf::DtLocalEnvironment.

virtual void makVrv::DtEnvironmentInterface::slot_oceanLayerLodRangeChanged ( const DtOceanLayer layer,
int  range 
)
protectedpure virtual

Handle a change to an ocean layer's lod range.

Implemented in makVrv::DtEnvironment, and makVrf::DtLocalEnvironment.

virtual void makVrv::DtEnvironmentInterface::slot_surgeDepthChanged ( double  depth)
protectedpure virtual

Handle a change to surge depth.

Implemented in makVrv::DtEnvironment, and makVrf::DtLocalEnvironment.

virtual void makVrv::DtEnvironmentInterface::slot_depthOffsetChanged ( double  offset)
protectedpure virtual

Handle a change to depth offset.

Implemented in makVrv::DtEnvironment, and makVrf::DtLocalEnvironment.

Member Data Documentation

const std::string makVrv::DtEnvironmentInterface::theRemoteEnvironmentName
static

The Environment Name used when listening to remote environment settings.

const float makVrv::DtEnvironmentInterface::theMaximumVisibilityDistance
static

Maximum Visibility Distance.


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

Document ID: Generated on Sun Dec 4 20:22:03 EST 2022 from SVN revision 249613
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)