VR-Forces 5.0.3 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Public Attributes | Protected Member Functions | Protected Attributes
makVrv::DtSkyDrawable Class Reference

The sky drawable.

Inheritance diagram for makVrv::DtSkyDrawable:
Inheritance graph
[legend]

Public Member Functions

 DtSkyDrawable (const DtSkyDrawable &copy, const osg::CopyOp &copyop)
 
virtual ~DtSkyDrawable ()
 
virtual osg::Object * cloneType () const
 
virtual osg::Object * clone (const osg::CopyOp &copyop) const
 
virtual void setGeocentricMode (bool mode)
 
virtual void setLensFlare (bool enabled)
 
virtual void drawImplementation (osg::RenderInfo &renderInfo) const
 
virtual void releaseGLObjects (osg::State *state=0) const
 
virtual void setSkyBoxSize (double size)
 
virtual double getSkyBoxSize () const
 

Public Attributes

friend DtSkyDrawableCreator
 

Protected Member Functions

 DtSkyDrawable (DtDe &de, DtSilverliningGroup *parent)
 
virtual void updateSensorFXUniforms (const SilverLining::Atmosphere *atmosphere, const osg::Camera *camera, osg::State &state, SilverLining::ThreadCameraStreamData *tcsData) const
 
virtual void updateShaderSkyUserUniforms (const SilverLining::Atmosphere *atmosphere, const osg::Camera *camera, osg::State &state, SilverLining::ThreadCameraStreamData *tcsData) const
 

Protected Attributes

DtSilverliningGroupmyParent
 
bool myGeocentricFlag
 
double myBoxSize
 
bool myLensFlareFlag
 
DtDemyDe
 

Constructor & Destructor Documentation

makVrv::DtSkyDrawable::DtSkyDrawable ( const DtSkyDrawable copy,
const osg::CopyOp &  copyop 
)

Copy CTOR.

virtual makVrv::DtSkyDrawable::~DtSkyDrawable ( )
virtual

DTR.

makVrv::DtSkyDrawable::DtSkyDrawable ( DtDe de,
DtSilverliningGroup parent 
)
protected

CTOR.

Member Function Documentation

virtual osg::Object* makVrv::DtSkyDrawable::cloneType ( ) const
inlinevirtual

required functions for derriving from osg::Drawable

virtual osg::Object* makVrv::DtSkyDrawable::clone ( const osg::CopyOp &  copyop) const
inlinevirtual
virtual void makVrv::DtSkyDrawable::setGeocentricMode ( bool  mode)
virtual

Set the group to be in geocentric mode.

virtual void makVrv::DtSkyDrawable::setLensFlare ( bool  enabled)
virtual

Set whether lens flare effects are on.

virtual void makVrv::DtSkyDrawable::drawImplementation ( osg::RenderInfo &  renderInfo) const
virtual

Draw the Sky.

virtual void makVrv::DtSkyDrawable::releaseGLObjects ( osg::State *  state = 0) const
virtual

Destroy the openGL objects.

virtual void makVrv::DtSkyDrawable::setSkyBoxSize ( double  size)
virtual

Set the sky box size.

virtual double makVrv::DtSkyDrawable::getSkyBoxSize ( ) const
virtual

Get the sky box size.

virtual void makVrv::DtSkyDrawable::updateSensorFXUniforms ( const SilverLining::Atmosphere *  atmosphere,
const osg::Camera *  camera,
osg::State &  state,
SilverLining::ThreadCameraStreamData *  tcsData 
) const
protectedvirtual
virtual void makVrv::DtSkyDrawable::updateShaderSkyUserUniforms ( const SilverLining::Atmosphere *  atmosphere,
const osg::Camera *  camera,
osg::State &  state,
SilverLining::ThreadCameraStreamData *  tcsData 
) const
protectedvirtual

Update the sky shader uniforms specific the the user functions.

Member Data Documentation

friend makVrv::DtSkyDrawable::DtSkyDrawableCreator
DtSilverliningGroup* makVrv::DtSkyDrawable::myParent
protected
bool makVrv::DtSkyDrawable::myGeocentricFlag
protected
double makVrv::DtSkyDrawable::myBoxSize
protected
bool makVrv::DtSkyDrawable::myLensFlareFlag
protected
DtDe& makVrv::DtSkyDrawable::myDe
protected

The documentation for this class was generated from the following file:

Document ID: Generated on Thu Jun 1 17:58:13 EDT 2023 from SVN revision 255404
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)