VR-Forces 4.3 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator 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.
virtual ~DtSkyDrawable ()
 DTR.
 META_Object (vrvOsg, DtSkyDrawable) void setGeocentricMode(bool mode)
 Set the group to be in geocentric mode.
void setLensFlare (bool enabled)
 Set whether lens flare effects are on.
virtual void drawImplementation (osg::RenderInfo &renderInfo) const
 Draw the Sky.
virtual void releaseGLObjects (osg::State *state=0) const
 Destroy the openGL objects.
void setSkyBoxSize (double size)
 Set the sky box size.
double getSkyBoxSize () const
 Get the sky box size.

Protected Member Functions

 DtSkyDrawable (DtSilverliningGroup *parent=0)
 CTOR.

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

makVrv::DtSkyDrawable::META_Object ( vrvOsg  ,
DtSkyDrawable   
)

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.

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 Wed Mar 11 21:20:57 EDT 2015 from SVN revision 150940
Copyright © 2005-2014 VT MÄK. All Rights Reserved (www.mak.com)