21 #include <osg/ref_ptr>
23 #include <osg/Matrixd>
24 #include <osg/OperationThread>
27 #include <osg/RenderInfo>
31 class DtOsgWeatherEffectsObject;
67 virtual void operator () (osg::Object* sv);
70 virtual void release();
94 virtual void initializeEffects();
97 virtual void findTextureAddresses(
const osg::GraphicsContext* gc);
103 virtual void update();
106 virtual void updateChannel(
DtOsgChannel* channel, osg::Vec3d pos);
112 virtual void slot_reloadShader();
115 virtual void slot_windSpeedChanged(
float metersPerSecond);
118 virtual void slot_windDirectionChanged(
float radians);
127 virtual void releaseGLObjects(osg::State* state);
134 static const std::string& theClassName();
139 virtual void updateImGui();
142 virtual void updateUniforms();
148 virtual void flushInvalidChannels();
osg::ref_ptr< osg::CoordinateSystemNode > CoordinateSystemNodeRef
Definition: DtShaderEffectManager.h:165
float myWindDirection
Definition: DtShaderEffectManager.h:173
DtOsgWeatherEffectsObject * myWeatherEffectsObject
Definition: DtShaderEffectManager.h:168
DtIndirectLimitTextureStrategy * myNoTextureLimitStrategy
Definition: DtShaderEffectManager.h:158
The DtOsgRenderer is the component responsible for rendering 3D images onto the screen via OpenSceneG...
Definition: DtOsgRenderer.h:87
Virtual base class. Allows for RTTI and proper virtual destruction. Used by Creators, Factories, Providers, Assemblers and User Interfaces.
Definition: DtVirtualBaseClass.h:19
ShaderEffectSet myShaderEffectSet
Definition: DtShaderEffectManager.h:53
#define DT_DLL_VRVOSG
Definition: vrvOsg.h:23
Definition: featureContext.h:37
Contains the DtIndirectTextureProcessor class declaration.
DtShaderEffectManager injects custom shaders into the scenes, uses DtShaderEffect objects to add rend...
Definition: DtShaderEffectManager.h:39
This class provides the OSG-specific implementation of a DtChannel.
Definition: DtOsgChannel.h:52
osg::Vec3d myLocalPostion
Definition: DtShaderEffectManager.h:51
float myWindSpeed
Definition: DtShaderEffectManager.h:172
osg::ref_ptr< DtIndirectTextureProcessor > myTextureProcessor
Definition: DtShaderEffectManager.h:156
Contains makVrv::DtVirtualBaseClass class.
DtDe & myDe
Definition: DtShaderEffectManager.h:152
std::set< DtShaderEffect * > ShaderEffectSet
Definition: DtShaderEffectManager.h:43
CoordinateSystemNodeRef myCoordSystemNode
Definition: DtShaderEffectManager.h:166
Class to manage disconnection of boost connections on deletion.
Definition: DtSignalConnectionManager.h:20
osg::ref_ptr< TextureAddressJob > myTextureAddressJob
Definition: DtShaderEffectManager.h:170
Structure for holding per channel data for the effects.
Definition: DtShaderEffectManager.h:48
DtShaderEffectManager & myShaderEffectManager
Definition: DtShaderEffectManager.h:73
This class is passed as a pointer to DtIndirectTextureProcessor. The processor then uses this in conj...
Definition: DtIndirectLimitTextureStrategy.h:65
osg::Matrixd myLocalMatrixTranformInverse
Definition: DtShaderEffectManager.h:52
Base class to provide boost signal/slot management.
std::map< osg::observer_ptr< osg::Camera >, DtShaderEffectPerChannelData * > PerChannelDataMap
Definition: DtShaderEffectManager.h:162
DtSignalConnectionManager myConnections
Definition: DtShaderEffectManager.h:154
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:70
DtOsgRenderer & myOsgRenderer
Definition: DtShaderEffectManager.h:160
PerChannelDataMap myPerChannelDataMap
Definition: DtShaderEffectManager.h:163
An OSG implementation of the weather effects object.
Definition: DtOsgWeatherEffectsObject.h:22
Definition: DtShaderEffectManager.h:59