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;
155 static const std::string& theClassName();
osg::ref_ptr< osg::Uniform > myMutablePersMatrixUniform
Definition: DtGroundFogPatchDrawable.h:119
Virtual base class.
Definition: DtVirtualBaseClass.h:22
osg::ref_ptr< osg::Texture > myParticleTexture
Definition: DtGroundFogPatchDrawable.h:110
float myWindDirectionRad
Definition: DtGroundFogPatchDrawable.h:107
#define DT_DLL_VRVOSG
Definition: vrvOsg.h:23
Contains makVrv::DtGroundFogPatchArea class.
osg::ref_ptr< osg::Texture > myPatternTexture
Definition: DtGroundFogPatchDrawable.h:111
osg::ref_ptr< osg::StateSet > myStateSet
Definition: DtGroundFogPatchDrawable.h:112
Contains makVrv::DtDe class.
osg::ref_ptr< osg::Uniform > myMutableInvPersMatrixUniform
needed for smoothness These are mutable because they are used as part of the const drawImplementation...
Definition: DtGroundFogPatchDrawable.h:118
osg::ref_ptr< osg::Uniform > myMutableViewportUniform
Definition: DtGroundFogPatchDrawable.h:120
osg::ref_ptr< osg::Uniform > myMutableSoftnessUniform
Definition: DtGroundFogPatchDrawable.h:122
virtual osg::Object * clone(const osg::CopyOp ©op) const
required functions for derriving from osg::Drawable
Definition: DtGroundFogPatchDrawable.h:62
Contains makVrv::DtOsgCullVisitor class.
Contains makVrv::DtVirtualBaseClass class.
virtual osg::Object * cloneType() const
Definition: DtGroundFogPatchDrawable.h:63
DtDe & myDe
Definition: DtGroundFogPatchDrawable.h:102
bool myInitialized
Definition: DtGroundFogPatchDrawable.h:105
A group node which serves as a root for patchy ground fog areas, and effects in addition to infinite ...
Definition: DtGroundFogGroup.h:47
DtGroundFogGroup * myGroundFogGroup
Definition: DtGroundFogPatchDrawable.h:103
DtDe & myDe
Definition: DtGroundFogPatchDrawable.h:158
osg::ref_ptr< osg::Uniform > myMutableIsReflectionUniform
Definition: DtGroundFogPatchDrawable.h:121
float myWindSpeedMps
Definition: DtGroundFogPatchDrawable.h:108
DT_DLL_DEBUGDRAWRENDERER void init(makVrv::DtDe &de)
Work function for the plugin initialization.
Contains DLL export macros.
The DtDe is the core component of any VR-Vantage application.
Definition: DtDe.h:69
creator for DtGroundFogPatchDrawable
Definition: DtGroundFogPatchDrawable.h:131
A drawable used for drawing patchy ground fog objects.
Definition: DtGroundFogPatchDrawable.h:35
A structure used to hold data for drawing.
Definition: DtGroundFogPatchArea.h:69
osg::ref_ptr< osg::Uniform > myMutableViewMatrixInvUniform
This is mutable because it's used as part of the const drawImplementation.
Definition: DtGroundFogPatchDrawable.h:126