16 #include <osg/Drawable>
18 namespace SilverLining
21 class ThreadCameraStreamData;
32 class DtSilverliningGroup;
64 virtual osg::Object*
cloneType()
const {
return nullptr; }
65 virtual osg::Object*
clone(
const osg::CopyOp& copyop)
const {
return new DtSkyDrawable(*
this, copyop); }
68 virtual void setGeocentricMode(
bool mode);
71 virtual void setLensFlare(
bool enabled);
74 virtual void drawImplementation(osg::RenderInfo& renderInfo)
const;
77 virtual void releaseGLObjects(osg::State* state = 0)
const;
80 virtual void setSkyBoxSize(
double size);
83 virtual double getSkyBoxSize()
const;
87 virtual void updateSensorFXUniforms(
const SilverLining::Atmosphere* atmosphere,
const osg::Camera* camera, osg::State& state, SilverLining::ThreadCameraStreamData* tcsData)
const;
90 virtual void updateShaderSkyUserUniforms(
91 const SilverLining::Atmosphere* atmosphere,
const osg::Camera* camera,
92 osg::State& state, SilverLining::ThreadCameraStreamData* tcsData)
const;
#define DT_DLL_VRVOSG
Definition: vrvOsg.h:23
virtual osg::Object * clone(const osg::CopyOp ©op) const
Definition: DtSkyDrawable.h:65
voidpf void uLong size
Definition: ioapi.h:39
virtual osg::Object * cloneType() const
required functions for derriving from osg::Drawable
Definition: DtSkyDrawable.h:64
A group node which adds a silver-lining sky and will light all Children with the proper lighting para...
Definition: DtSilverliningGroup.h:82
Variadic templated creator class for defining a DtVirtualBaseClass creator that is automatically regi...
Definition: DtVirtualBaseClassCreator.h:22
const char * creatorTypeName< DtSkyDrawable >(void)
template specialization for the creator (pass the class being created to the creatorTypeName template...
Definition: DtSkyDrawable.h:42
DtVirtualBaseClassCreator< DtSkyDrawable, DtSilverliningGroup * > DtSkyDrawableCreator
creator
Definition: DtSkyDrawable.h:35
bool myGeocentricFlag
Definition: DtSkyDrawable.h:97
The sky drawable.
Definition: DtSkyDrawable.h:46
double myBoxSize
Definition: DtSkyDrawable.h:98
DtDe & myDe
Definition: DtSkyDrawable.h:101
const char int mode
Definition: ioapi.h:38
bool myLensFlareFlag
Definition: DtSkyDrawable.h:99
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
DtSilverliningGroup * myParent
Definition: DtSkyDrawable.h:96
friend DtSkyDrawableCreator
Definition: DtSkyDrawable.h:50