VR-Forces 4.1 Class Documentation
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.
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.

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.

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.

float makVrv::DtSkyDrawable::fogDensity ( ) const

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

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

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

Document ID: Generated on Tue Jan 29 18:21:16 EST 2013 from SVN revision 123193
Copyright © 2005-2013 VT MÄK Inc. All Rights Reserved (www.mak.com)