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

The sky drawable. More...

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

Public Member Functions

 DtSkyDrawable (const DtSkyDrawable &copy, const osg::CopyOp &copyop)
 Copy CTOR. More...
 
virtual ~DtSkyDrawable ()
 DTR. More...
 
void setGeocentricMode (bool mode)
 Set the group to be in geocentric mode. More...
 
void setLensFlare (bool enabled)
 Set whether lens flare effects are on. More...
 
virtual void drawImplementation (osg::RenderInfo &renderInfo) const
 Draw the Sky. More...
 
virtual void releaseGLObjects (osg::State *state=0) const
 Destroy the openGL objects. More...
 
void setSkyBoxSize (double size)
 Set the sky box size. More...
 
double getSkyBoxSize () const
 Get the sky box size. More...
 

Protected Member Functions

 DtSkyDrawable (DtSilverliningGroup *parent=0)
 CTOR. More...
 
void updateSensorFXUniforms (const SilverLining::Atmosphere *atmosphere, const osg::Camera *camera, osg::State &state) const
 

Protected Attributes

DtSilverliningGroupmyParent
 
bool myGeocentricFlag
 
osg::Vec4f myFogColor
 
float myFogDensity
 
double myBoxSize
 
bool myLensFlareFlag
 

Friends

class DtSkyDrawableCreator
 

Detailed Description

The sky drawable.

Constructor & Destructor Documentation

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

Copy CTOR.

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

DTR.

makVrv::DtSkyDrawable::DtSkyDrawable ( DtSilverliningGroup parent = 0)
protected

CTOR.

Member Function Documentation

void makVrv::DtSkyDrawable::setGeocentricMode ( bool  mode)

Set the group to be in geocentric mode.

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

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.

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

Set the sky box size.

double makVrv::DtSkyDrawable::getSkyBoxSize ( ) const

Get the sky box size.

void makVrv::DtSkyDrawable::updateSensorFXUniforms ( const SilverLining::Atmosphere *  atmosphere,
const osg::Camera *  camera,
osg::State &  state 
) const
protected

Friends And Related Function Documentation

friend class DtSkyDrawableCreator
friend

Member Data Documentation

DtSilverliningGroup* makVrv::DtSkyDrawable::myParent
protected
bool makVrv::DtSkyDrawable::myGeocentricFlag
protected
osg::Vec4f makVrv::DtSkyDrawable::myFogColor
protected
float makVrv::DtSkyDrawable::myFogDensity
protected
double makVrv::DtSkyDrawable::myBoxSize
protected
bool makVrv::DtSkyDrawable::myLensFlareFlag
protected

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

Document ID: Generated on Thu Aug 27 10:56:05 EDT 2020 from SVN revision 217100
Copyright © 2005-2020 MAK Technologies. All Rights Reserved (www.mak.com)