13 #include <osg/Drawable>
28 class DtWeatherLayerGroup;
65 virtual osg::Object*
cloneType()
const {
return NULL; }
72 virtual void SetCameraBasis(
const osg::Matrixd& basisRot);
76 virtual osg::Texture2D* getTexture(
const char* imagePath);
79 virtual void releaseGLObjects(osg::State* state)
const;
82 virtual void drawImplementation(osg::RenderInfo& renderInfo)
const;
93 virtual bool loadShaders();
96 virtual void connectSignals();
99 virtual void slot_reloadShaders();
103 virtual void setupSoftness(osg::Camera* camera)
const;
107 virtual float computeNearClip(osg::Camera* camera)
const;
110 virtual void clearTextureLibrary()
const;
179 static const std::string& theClassName();
osg::ref_ptr< osg::Uniform > myMutableIsReflectionUniform
Definition: DtWeatherEffectDrawable.h:140
DT_DLL_EXAMPLESCENEROOTPLUGIN void init(DtDe &anIG)
osg::ref_ptr< osg::Uniform > myMutablePersMatrixUniform
Definition: DtWeatherEffectDrawable.h:138
osg::ref_ptr< osg::Texture2D > myTexture
Definition: DtWeatherEffectDrawable.h:117
Virtual base class. Allows for RTTI and proper virtual destruction. Used by Creators, Factories, Providers, Assemblers and User Interfaces.
Definition: DtVirtualBaseClass.h:19
A group node which serves as a root for weather layers.
Definition: DtWeatherLayerGroup.h:46
#define DT_DLL_VRVOSG
Definition: vrvOsg.h:23
DtSignalConnectionManager myConnections
Definition: DtWeatherEffectDrawable.h:131
std::string myName
Definition: DtWeatherEffectDrawable.h:118
osg::ref_ptr< osg::Uniform > myMutableViewMatrixInvUniform
Definition: DtWeatherEffectDrawable.h:147
Contains makVrv::DtDe class.
osg::Matrixd myBasisRot
Definition: DtWeatherEffectDrawable.h:129
DtDe & myDe
Definition: DtWeatherEffectDrawable.h:182
virtual osg::Object * clone(const osg::CopyOp ©op) const
required functions for derriving from osg::Drawable
Definition: DtWeatherEffectDrawable.h:64
A structure used to hold data for drawing.
Definition: DtWeatherEffect.h:72
Contains makVrv::DtOsgCullVisitor class.
osg::ref_ptr< osg::Uniform > myMutableModelAxisZUniform
Definition: DtWeatherEffectDrawable.h:146
Contains makVrv::DtVirtualBaseClass class.
A drawable for drawing weather effects such as hail. The class serves as a place to setup common stat...
Definition: DtWeatherEffectDrawable.h:37
Contains makVrv::DtWeatherEffect class.
DtWeatherLayerGroup * myWeatherLayerGroup
Definition: DtWeatherEffectDrawable.h:122
osg::ref_ptr< osg::Uniform > myMutableSoftnessUniform
Definition: DtWeatherEffectDrawable.h:141
Class to manage disconnection of boost connections on deletion.
Definition: DtSignalConnectionManager.h:20
osg::ref_ptr< osg::StateSet > myStateSet
Definition: DtWeatherEffectDrawable.h:127
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:137
virtual osg::Object * cloneType() const
Definition: DtWeatherEffectDrawable.h:65
std::vector< TextureEntry * > myTextureLibrary
This is mutable because it's used as part of the const releaseGLObjects.
Definition: DtWeatherEffectDrawable.h:150
DtDe & myDe
Definition: DtWeatherEffectDrawable.h:121
Base class to provide boost signal/slot management.
creator for DtWeatherEffectDrawable
Definition: DtWeatherEffectDrawable.h:155
brief A structure used to hold information about a texture.
Definition: DtWeatherEffectDrawable.h:115
osg::ref_ptr< osg::Uniform > myMutableViewportUniform
Definition: DtWeatherEffectDrawable.h:139
Contains DLL export macros.
The DtDe is the core component of any VR-Vantage application. It owns a DtRenderer, DtDeCommunicator, as well as a DtDisplay and other things.
Definition: DtDe.h:76
bool myInitialized
Definition: DtWeatherEffectDrawable.h:124
osg::ref_ptr< osg::Uniform > myMutableModelAxisXUniform
These are mutable because they are used as part of the const drawImplementation.
Definition: DtWeatherEffectDrawable.h:145
osg::ref_ptr< osg::Texture2D > myTexture
Definition: DtWeatherEffectDrawable.h:126