13 #include <osg/Drawable>
27 class DtGroundFogGroup;
63 virtual osg::Object*
cloneType()
const {
return NULL; }
69 virtual void releaseGLObjects(osg::State* state)
const;
72 virtual void drawImplementation(osg::RenderInfo& renderInfo)
const;
80 virtual void setWind(
float windDirectionRad,
float windSpeedMps);
85 virtual bool loadShaders();
88 virtual void connectSignals();
91 virtual void disconnectSignals();
94 virtual void slot_reloadShaders();
98 virtual void setupSoftness(osg::Camera* camera)
const;
154 static const std::string& theClassName();
Virtual base class.
Definition: DtVirtualBaseClass.h:22
virtual osg::Object * cloneType() const
Definition: DtGroundFogEffectDrawable.h:63
A structure used to hold data for drawing.
Definition: DtGroundFogEffect.h:40
float myWindDirectionRad
Definition: DtGroundFogEffectDrawable.h:107
#define DT_DLL_VRVOSG
Definition: vrvOsg.h:23
virtual osg::Object * clone(const osg::CopyOp ©op) const
required functions for derriving from osg::Drawable
Definition: DtGroundFogEffectDrawable.h:62
osg::ref_ptr< osg::Uniform > myMutableIsReflectionUniform
Definition: DtGroundFogEffectDrawable.h:120
Contains makVrv::DtDe class.
creator for DtGroundFogEffectDrawable
Definition: DtGroundFogEffectDrawable.h:130
osg::ref_ptr< osg::Uniform > myMutableInvPersMatrixUniform
needed for smoothness These are mutable because they are used as part of the const drawImplementation...
Definition: DtGroundFogEffectDrawable.h:117
osg::ref_ptr< osg::Uniform > myMutablePersMatrixUniform
Definition: DtGroundFogEffectDrawable.h:118
Contains makVrv::DtOsgCullVisitor class.
osg::ref_ptr< osg::Texture > myParticleTexture
Definition: DtGroundFogEffectDrawable.h:110
Contains makVrv::DtVirtualBaseClass class.
osg::ref_ptr< osg::Uniform > myMutableViewportUniform
Definition: DtGroundFogEffectDrawable.h:119
osg::ref_ptr< osg::Uniform > myMutableSoftnessUniform
Definition: DtGroundFogEffectDrawable.h:121
A group node which serves as a root for patchy ground fog areas, and effects in addition to infinite ...
Definition: DtGroundFogGroup.h:47
float myWindSpeedMps
Definition: DtGroundFogEffectDrawable.h:108
DtDe & myDe
Definition: DtGroundFogEffectDrawable.h:157
osg::ref_ptr< osg::StateSet > myStateSet
Definition: DtGroundFogEffectDrawable.h:111
osg::ref_ptr< osg::Uniform > myMutableViewMatrixInvUniform
This is mutable because it's used as part of the const drawImplementation.
Definition: DtGroundFogEffectDrawable.h:125
DT_DLL_DEBUGDRAWRENDERER void init(makVrv::DtDe &de)
Work function for the plugin initialization.
Contains makVrv::DtGroundFogEffect class.
Contains DLL export macros.
A drawable for drawing ground fog effects.
Definition: DtGroundFogEffectDrawable.h:35
The DtDe is the core component of any VR-Vantage application.
Definition: DtDe.h:69
DtGroundFogGroup * myGroundFogGroup
Definition: DtGroundFogEffectDrawable.h:103
DtDe & myDe
Definition: DtGroundFogEffectDrawable.h:102
bool myInitialized
Definition: DtGroundFogEffectDrawable.h:105