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 | Friends
makVrv::DtWeatherLayerHail Class Reference

A hail specific weather layer uses one or more weather effects to create a top level visual. More...

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

Public Member Functions

virtual ~DtWeatherLayerHail ()
 DTOR. More...
 
 DtWeatherLayerHail ()=delete
 Default Constructor not implemented. More...
 
 DtWeatherLayerHail (const DtWeatherLayerHail &other)=delete
 Copy Constructor not implemented - Copy not allowed. More...
 
DtWeatherLayerHailoperator= (const DtWeatherLayerHail &other)=delete
 Assignment Operator not implemented - Assignment not allowed. More...
 
virtual void init (DtDe &de)
 Called after creation to initialize effects. More...
 
- Public Member Functions inherited from makVrv::DtWeatherLayer
virtual ~DtWeatherLayer ()
 DTOR. More...
 
DtUniqueID id () const
 Gets the layer unique id. More...
 
virtual void releaseGLObjects (osg::State *state) const
 Release all gl objects used by items in this layer. More...
 
virtual DtWeatherLayer::LayerType layerType () const
 Gets a type for this layer. More...
 
virtual void setIntensity (float level)
 Sets the weather intensity for this layer. More...
 
float intensity () const
 Gets the weather intensity for this layer. More...
 
virtual void setWind (float windDirectionRad, float windSpeedMps)
 Sets the current wind. More...
 
virtual void simulationUpdate (float timeStep, double currentTime, DtJobSplitter *jobSplitter)
 Run a simulation update for weather effects in this layer. More...
 
virtual void postSimulationUpdate (float timeStep, double currentTime)
 Run a post simulation update. More...
 
virtual void cullUpdate (const osg::Vec3d &camPos, const osg::Matrixd &basis, DtJobSplitter *jobSplitter)
 Prepares the layer for drawing based on the camera position. More...
 
virtual void drawWeatherEffects (DtWeatherEffect::DrawData &drawData)
 Draw all weather effects in this layer. More...
 
virtual void addWeatherEffect (DtWeatherEffect *effect)
 Adds the given weather effect to this layer. More...
 
- Public Member Functions inherited from makVrv::DtVirtualBaseClass
 DtVirtualBaseClass ()
 Do nothing constructor. More...
 
virtual ~DtVirtualBaseClass ()
 Virtual do nothing destructor. More...
 

Protected Member Functions

 DtWeatherLayerHail (DtUniqueID id)
 CTOR. More...
 
- Protected Member Functions inherited from makVrv::DtWeatherLayer
 DtWeatherLayer (DtUniqueID id)
 CTOR. More...
 
virtual void drawAreaWeatherEffectsForLayerType (DtWeatherEffect::DrawData &drawData, DtWeatherLayer::LayerType layerType)
 Draw all weather effects in areas that match the given layer type. More...
 
virtual void computeSurfaceParameters (DtWeatherEffect::DrawData &drawData, DtWeatherArea *area)
 Computes and sets up effect surface drawing parameters. More...
 

Friends

class DtWeatherLayerFactory
 

Additional Inherited Members

- Public Types inherited from makVrv::DtWeatherLayer
enum  LayerType {
  LayerTypeNone, LayerTypeBlowingDust, LayerTypeBlowingSand, LayerTypeBlowingSnow,
  LayerTypeHail
}
 brief Layer type enumerations. More...
 
- Protected Types inherited from makVrv::DtWeatherLayer
typedef std::vector
< DtWeatherEffect * > 
WeatherEffectSet
 This type defines a set of weather effects. More...
 
- Protected Attributes inherited from makVrv::DtWeatherLayer
DtUniqueID myId
 
LayerType myLayerType
 
WeatherEffectSet myWeatherEffectSet
 
float myIntensity
 

Detailed Description

A hail specific weather layer uses one or more weather effects to create a top level visual.

A hail weather layer is created using the following: DtWeatherLayerFactory::instance(myDe).create(DtWeatherLayer::LayerTypeHail)

Constructor & Destructor Documentation

virtual makVrv::DtWeatherLayerHail::~DtWeatherLayerHail ( )
virtual

DTOR.

makVrv::DtWeatherLayerHail::DtWeatherLayerHail ( )
delete

Default Constructor not implemented.

makVrv::DtWeatherLayerHail::DtWeatherLayerHail ( const DtWeatherLayerHail other)
delete

Copy Constructor not implemented - Copy not allowed.

makVrv::DtWeatherLayerHail::DtWeatherLayerHail ( DtUniqueID  id)
protected

CTOR.

Member Function Documentation

DtWeatherLayerHail& makVrv::DtWeatherLayerHail::operator= ( const DtWeatherLayerHail other)
delete

Assignment Operator not implemented - Assignment not allowed.

virtual void makVrv::DtWeatherLayerHail::init ( DtDe de)
virtual

Called after creation to initialize effects.

Reimplemented from makVrv::DtWeatherLayer.

Friends And Related Function Documentation

friend class DtWeatherLayerFactory
friend

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)