13 #include <osg/Drawable>
27 class DtWeatherLayerGroup;
51 virtual void SetCameraBasis(
const osg::Matrixd& basisRot);
55 virtual void SetCulled(
bool culled);
72 virtual osg::Object*
cloneType()
const {
return NULL; }
80 virtual osg::Texture2D* getTexture(
const char* imagePath);
83 virtual void releaseGLObjects(osg::State* state)
const;
86 virtual void drawImplementation(osg::RenderInfo& renderInfo)
const;
94 virtual bool loadShaders();
97 virtual void connectSignals();
100 virtual void disconnectSignals();
103 virtual void slot_reloadShaders();
107 virtual void setupSoftness(osg::Camera* camera)
const;
111 virtual float computeNearClip(osg::Camera* camera)
const;
114 virtual void clearTextureLibrary()
const;
182 static const std::string& theClassName();
osg::ref_ptr< osg::Uniform > myMutableIsReflectionUniform
Definition: DtWeatherEffectDrawable.h:144
osg::ref_ptr< osg::Uniform > myMutablePersMatrixUniform
Definition: DtWeatherEffectDrawable.h:142
osg::ref_ptr< osg::Texture2D > myTexture
Definition: DtWeatherEffectDrawable.h:121
Virtual base class.
Definition: DtVirtualBaseClass.h:22
A group node which serves as a root for weather layers.
Definition: DtWeatherLayerGroup.h:47
#define DT_DLL_VRVOSG
Definition: vrvOsg.h:23
std::string myName
Definition: DtWeatherEffectDrawable.h:122
osg::ref_ptr< osg::Uniform > myMutableViewMatrixInvUniform
Definition: DtWeatherEffectDrawable.h:150
Contains makVrv::DtDe class.
osg::Matrixd myBasisRot
Definition: DtWeatherEffectDrawable.h:133
osg::ref_ptr< osg::Uniform > myMutableModelUpUniform
These are mutable because they are used as part of the const drawImplementation.
Definition: DtWeatherEffectDrawable.h:149
DtDe & myDe
Definition: DtWeatherEffectDrawable.h:185
virtual osg::Object * clone(const osg::CopyOp ©op) const
required functions for derriving from osg::Drawable
Definition: DtWeatherEffectDrawable.h:71
A structure used to hold data for drawing.
Definition: DtWeatherEffect.h:45
Contains makVrv::DtOsgCullVisitor class.
Contains makVrv::DtVirtualBaseClass class.
A drawable for drawing weather effects such as hail.
Definition: DtWeatherEffectDrawable.h:36
Contains makVrv::DtWeatherEffect class.
DtWeatherLayerGroup * myWeatherLayerGroup
Definition: DtWeatherEffectDrawable.h:126
osg::ref_ptr< osg::Uniform > myMutableSoftnessUniform
Definition: DtWeatherEffectDrawable.h:145
osg::ref_ptr< osg::StateSet > myStateSet
Definition: DtWeatherEffectDrawable.h:131
osg::ref_ptr< osg::Uniform > myMutableInvPersMatrixUniform
needed for smoothness These are mutable because they are used as part of the const drawImplementation...
Definition: DtWeatherEffectDrawable.h:141
virtual osg::Object * cloneType() const
Definition: DtWeatherEffectDrawable.h:72
std::vector< TextureEntry * > myTextureLibrary
This is mutable because it's used as part of the const releaseGLObjects.
Definition: DtWeatherEffectDrawable.h:153
DtDe & myDe
Definition: DtWeatherEffectDrawable.h:125
creator for DtWeatherEffectDrawable
Definition: DtWeatherEffectDrawable.h:158
DT_DLL_DEBUGDRAWRENDERER void init(makVrv::DtDe &de)
Work function for the plugin initialization.
brief A structure used to hold information about a texture.
Definition: DtWeatherEffectDrawable.h:119
osg::ref_ptr< osg::Uniform > myMutableViewportUniform
Definition: DtWeatherEffectDrawable.h:143
Contains DLL export macros.
bool myCulled
Definition: DtWeatherEffectDrawable.h:135
The DtDe is the core component of any VR-Vantage application.
Definition: DtDe.h:69
bool myInitialized
Definition: DtWeatherEffectDrawable.h:128
osg::ref_ptr< osg::Texture2D > myTexture
Definition: DtWeatherEffectDrawable.h:130