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

The weather effects object for passing settings from the master to the slave for weather effects. Currently only has snow on the ground parameters but will probably have water, sand or other contaminants added later.

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

Public Member Functions

 DtWeatherEffectsObject (DtDe &de, DtUniqueID id)
 
virtual ~DtWeatherEffectsObject ()
 
virtual void setGroundSnowAccumulation (float depth)
 
virtual float groundSnowAccumulation () const
 
virtual void setRoadSnowAccumulation (float depth)
 
virtual float roadSnowAccumulation () const
 
virtual void setSnowMinimumElevation (float elevation)
 
virtual float snowMinimumElevation () const
 
virtual void setSnowElevationTransition (float elevation)
 
virtual float snowElevationTransition () const
 
virtual void setGroundRainAccumulation (float depth)
 
virtual float groundRainAccumulation () const
 

Public Attributes

boost::signalslib::signal
< void(float)> 
signal_groundSnowAccumulationChanged
 
boost::signalslib::signal
< void(float)> 
signal_roadSnowAccumulationChanged
 
boost::signalslib::signal
< void(float)> 
signal_snowMinimumElevationChanged
 
boost::signalslib::signal
< void(float)> 
signal_snowElevationTransitionChanged
 
boost::signalslib::signal
< void(float)> 
signal_groundRainAccumulationChanged
 

Protected Attributes

float myGroundSnowAccumulation
 
float myRoadSnowAccumulation
 
float mySnowMinimumElevation
 
float mySnowElevationTransition
 
float myGroundRainAccumulation
 
DtDemyDe
 

Constructor & Destructor Documentation

makVrv::DtWeatherEffectsObject::DtWeatherEffectsObject ( DtDe de,
DtUniqueID  id 
)

CTOR.

virtual makVrv::DtWeatherEffectsObject::~DtWeatherEffectsObject ( )
virtual

DTOR.

Member Function Documentation

virtual void makVrv::DtWeatherEffectsObject::setGroundSnowAccumulation ( float  depth)
virtual

get/set the ground snow accumulation depth

virtual float makVrv::DtWeatherEffectsObject::groundSnowAccumulation ( ) const
virtual

get/set the ground snow accumulation depth

virtual void makVrv::DtWeatherEffectsObject::setRoadSnowAccumulation ( float  depth)
virtual

get/set the ground snow accumulation depth

virtual float makVrv::DtWeatherEffectsObject::roadSnowAccumulation ( ) const
virtual

get/set the ground snow accumulation depth

virtual void makVrv::DtWeatherEffectsObject::setSnowMinimumElevation ( float  elevation)
virtual

get/set the ground snow accumulation depth

virtual float makVrv::DtWeatherEffectsObject::snowMinimumElevation ( ) const
virtual

get/set the ground snow accumulation depth

virtual void makVrv::DtWeatherEffectsObject::setSnowElevationTransition ( float  elevation)
virtual

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

virtual float makVrv::DtWeatherEffectsObject::snowElevationTransition ( ) const
virtual

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

virtual void makVrv::DtWeatherEffectsObject::setGroundRainAccumulation ( float  depth)
virtual

get/set the ground rain accumulation depth

virtual float makVrv::DtWeatherEffectsObject::groundRainAccumulation ( ) const
virtual

get/set the ground rain accumulation depth

Member Data Documentation

boost::signalslib::signal<void(float)> makVrv::DtWeatherEffectsObject::signal_groundSnowAccumulationChanged

Signals for changed values Emitted when the ground snow accumulation depth changes.

boost::signalslib::signal<void(float)> makVrv::DtWeatherEffectsObject::signal_roadSnowAccumulationChanged

Emitted when the road snow accumulation depth changes.

boost::signalslib::signal<void(float)> makVrv::DtWeatherEffectsObject::signal_snowMinimumElevationChanged

Emitted when the snow minimum elevation changes.

boost::signalslib::signal<void(float)> makVrv::DtWeatherEffectsObject::signal_snowElevationTransitionChanged

Emitted when the snow elevation transition changes.

boost::signalslib::signal<void(float)> makVrv::DtWeatherEffectsObject::signal_groundRainAccumulationChanged

Emitted when the ground rain accumulation depth changes.

float makVrv::DtWeatherEffectsObject::myGroundSnowAccumulation
protected
float makVrv::DtWeatherEffectsObject::myRoadSnowAccumulation
protected
float makVrv::DtWeatherEffectsObject::mySnowMinimumElevation
protected
float makVrv::DtWeatherEffectsObject::mySnowElevationTransition
protected
float makVrv::DtWeatherEffectsObject::myGroundRainAccumulation
protected
DtDe& makVrv::DtWeatherEffectsObject::myDe
protected

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

Document ID: Generated on Tue Sep 24 19:28:17 EDT 2024 from SVN revision 269799
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)