14 #include <osg/Uniform>
52 virtual bool install(osg::StateSet* stateset);
55 virtual bool uninstall(osg::StateSet* stateset);
58 virtual bool installed(
void)
const;
62 virtual void setColor(
const osg::Vec4f& fogColor);
66 virtual void setDensity(
float fDensity);
70 virtual void setHeightFogPlane(
const osg::Vec4f& fogPlane);
78 virtual void setHeightFogParams(
const osg::Vec4f& fogParams);
82 virtual void setHeightFogColor(
const osg::Vec4f& color);
85 virtual osg::Vec4f color(
void)
const;
88 virtual float density(
void)
const;
91 virtual osg::Vec4f heightFogPlane(
void)
const;
94 virtual osg::Vec4f heightFogParams(
void)
const;
97 virtual osg::Vec4f heightFogColor(
void)
const;
136 static const std::string& theClassName();
DtDe & myDe
Definition: DtOsgFogComponent.h:139
creator for DtOsgFogComponent
Definition: DtOsgFogComponent.h:112
Virtual base class.
Definition: DtVirtualBaseClass.h:22
#define DT_DLL_VRVOSG
Definition: vrvOsg.h:23
osg::ref_ptr< osg::Uniform > myFogColor
Definition: DtOsgFogComponent.h:101
bool myInstalled
Definition: DtOsgFogComponent.h:107
osg::ref_ptr< osg::Uniform > myFogDensity
Definition: DtOsgFogComponent.h:102
osg::ref_ptr< osg::Uniform > myHeightFogColor
Definition: DtOsgFogComponent.h:105
Contains makVrv::DtVirtualBaseClass class.
State component that injects Fog rendering capabilities into a state set.
Definition: DtOsgFogComponent.h:28
osg::ref_ptr< osg::Uniform > myHeightFogPlane
Definition: DtOsgFogComponent.h:103
osg::ref_ptr< osg::Uniform > myHeightFogParams
Definition: DtOsgFogComponent.h:104
Base class for components that affect the state on a subset of the scene graph, injecting state...
Definition: DtOsgStateComponent.h:34
DT_DLL_DEBUGDRAWRENDERER void init(makVrv::DtDe &de)
Work function for the plugin initialization.
The DtDe is the core component of any VR-Vantage application.
Definition: DtDe.h:69
Contains the DtOsgStateComponent class.