![]() |
VR-Forces 4.0.4 Class Documentation
|
The sky drawable. More...

Public Member Functions | |
| DtSkyDrawable (const DtSkyDrawable ©, const osg::CopyOp ©op) | |
| 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 | |
| DtSilverliningGroup * | myParent |
| bool | myGeocentricFlag |
| osg::Vec4f | myFogColor |
| float | myFogDensity |
| double | myBoxSize |
Friends | |
| class | DtSkyDrawableCreator |
The sky drawable.
| 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.
| 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.
friend class DtSkyDrawableCreator [friend] |
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] |