15 #include <osg/Uniform>
53 virtual bool install(osg::StateSet* stateset);
56 virtual bool uninstall(osg::StateSet* stateset);
59 virtual bool installed(
void)
const;
63 virtual void setColor(
const osg::Vec4f& fogColor);
67 virtual void setDensity(
float fDensity);
71 virtual void setHeightFogPlane(
const osg::Vec4f& fogPlane);
79 virtual void setHeightFogParams(
const osg::Vec4f& fogParams);
83 virtual void setHeightFogColor(
const osg::Vec4f& color);
86 virtual osg::Vec4f color(
void)
const;
89 virtual float density(
void)
const;
92 virtual osg::Vec4f heightFogPlane(
void)
const;
95 virtual osg::Vec4f heightFogParams(
void)
const;
98 virtual osg::Vec4f heightFogColor(
void)
const;
DT_DLL_EXAMPLESCENEROOTPLUGIN void init(DtDe &anIG)
#define DT_DLL_VRVOSG
Definition: vrvOsg.h:23
osg::ref_ptr< osg::Uniform > myFogColor
Definition: DtOsgFogComponent.h:102
bool myInstalled
Definition: DtOsgFogComponent.h:108
Variadic templated creator class for defining a DtVirtualBaseClass creator that is automatically regi...
Definition: DtVirtualBaseClassCreator.h:22
osg::ref_ptr< osg::Uniform > myFogDensity
Definition: DtOsgFogComponent.h:103
osg::ref_ptr< osg::Uniform > myHeightFogColor
Definition: DtOsgFogComponent.h:106
Contains makVrv::DtVirtualBaseClass class.
State component that injects Fog rendering capabilities into a state set.
Definition: DtOsgFogComponent.h:29
DtVirtualBaseClassCreator< DtOsgFogComponent > DtOsgFogComponentCreator
creator
Definition: DtOsgFogComponent.h:112
osg::ref_ptr< osg::Uniform > myHeightFogPlane
Definition: DtOsgFogComponent.h:104
osg::ref_ptr< osg::Uniform > myHeightFogParams
Definition: DtOsgFogComponent.h:105
Base class for components that affect the state on a subset of the scene graph, injecting state...
Definition: DtOsgStateComponent.h:34
const char * creatorTypeName< DtOsgFogComponent >(void)
template specialization for the creator
Definition: DtOsgFogComponent.h:116
The DtDe is the core component of any VR-Vantage application.
Definition: DtDe.h:69
Contains makVrv::DtOsgStateComponent class.