VR-Forces 4.0.4 Class Documentation
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]

List of all members.

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.
virtual void drawImplementation (osg::RenderInfo &renderInfo) const
 Draw the Sky.
void setFogBlend (osg::Vec4f rgbA, float density)
 Set parameters to blend with the 'automatic' fog.
const osg::Vec4f & fogColor () const
 Get the fog color.
float fogDensity () const
 Get the fog density;.
virtual void releaseGLObjects (osg::State *state=0) const
 Destroy the openGL objects.
void setSkyBoxSize (double size)
 Set the sky box size.

Protected Member Functions

 DtSkyDrawable (DtSilverliningGroup *parent=0)
 CTOR.

Protected Attributes

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

Friends

class DtSkyDrawableCreator

Detailed Description

The sky drawable.


Constructor & Destructor Documentation

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

Copy CTOR.

DTR.

CTOR.


Member Function Documentation

Set the group to be in geocentric mode.

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

Draw the Sky.

void makVrv::DtSkyDrawable::setFogBlend ( osg::Vec4f  rgbA,
float  density 
)

Set parameters to blend with the 'automatic' fog.

The the fog alpha is the blend parameter w/ 1.0 is 100% user set fog.

const osg::Vec4f& makVrv::DtSkyDrawable::fogColor ( ) const

Get the fog color.

Get the fog density;.

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.


Friends And Related Function Documentation

friend class DtSkyDrawableCreator [friend]

Member Data Documentation

osg::Vec4f makVrv::DtSkyDrawable::myFogColor [protected]

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

Document ID: Generated on Fri Jun 29 16:33:32 EDT 2012 from SVN revision 116588
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)