![]() |
VR-Forces Development_Version Class Documentation
|
A drawable for drawing the cloud layer. More...

Public Member Functions | |
| DtCloudDrawable (DtSilverliningGroup *parent=0) | |
| CTOR. | |
| DtCloudDrawable (const DtCloudDrawable ©, const osg::CopyOp &op) | |
| CopyCOTR. | |
| virtual | ~DtCloudDrawable () |
| DTOR. | |
| META_Object (vrvOsg, DtCloudDrawable) void setCrepuscularRays(bool enabled) | |
| Meta Functions. | |
| void | updateCubeMaps (bool fullRegenerate) |
| Request an updated cube map with the next draw. | |
| unsigned int | getCubeMap (const osg::ref_ptr< osg::Camera > camera) const |
| Returns the latest environmental cube map for a camera, or NULL. | |
| unsigned int | getPrimaryCubeMap () const |
| Returns the latest environmental cube map for general use, or NULL. | |
| virtual void | drawImplementation (osg::RenderInfo &renderInfo) const |
| Actually do the drawing. | |
| void | setGeocentricMode (bool mode) |
| Indicate if we are in a geocentric terrain. | |
Protected Member Functions | |
| void | fadeCloudsWithAltitude (double altitudeMSL, SilverLining::Atmosphere *atm) |
| void | updateCloudAltitudes (const osg::Vec3d &localPosition, SilverLining::Atmosphere *atm) |
| void | updateShader (osg::Node *node, osg::State &state, SilverLining::Atmosphere *atm) const |
| void | updateOpenGLState (osg::State &state, SilverLining::Atmosphere *atm, osg::Camera *cam) const |
| void | setIsReflectionUniform (SilverLining::Atmosphere *atm, bool isReflection) const |
| bool | computeHeightAboveTerrain (const osg::Vec3d &localPosition, double &heightOfGround) |
| void | updateCloudLayerAltitudes (SilverLining::Atmosphere *atm) |
Protected Attributes | |
| std::vector< unsigned int > | myUserShaderVector |
| DtSilverliningGroup * | myParent |
| bool | myCrepuscularRays |
| bool | myGeocentricFlag |
| osg::Vec3d | myLastHOTUpdatePos |
| bool | myForceHOTUpdate |
| double | myHOT |
| std::map < SilverLining::CloudLayer *, double > | myOriginalAltitudesMap |
| std::map< osg::Camera *, osg::Vec3d > | myMutableLastCubeMapUpdateMap |
| std::map< const osg::ref_ptr < osg::Camera >, bool > | myMutableNeedsCubeMapFlagMap |
| std::map< const osg::ref_ptr < osg::Camera >, unsigned int > | myMutableCubeMaps |
| std::map< osg::Camera *, unsigned int > | myMutableCubeMapFaceCount |
| std::map< const osg::ref_ptr < osg::Camera >, bool > | myMutableNeedsCubeMapFullRegenerationMap |
| unsigned int | myMutableLastFrameNum |
| unsigned int | myMutablePrimaryCubeMap |
A drawable for drawing the cloud layer.
| makVrv::DtCloudDrawable::DtCloudDrawable | ( | DtSilverliningGroup * | parent = 0 | ) |
CTOR.
| makVrv::DtCloudDrawable::DtCloudDrawable | ( | const DtCloudDrawable & | copy, |
| const osg::CopyOp & | op | ||
| ) |
CopyCOTR.
|
virtual |
DTOR.
| makVrv::DtCloudDrawable::META_Object | ( | vrvOsg | , |
| DtCloudDrawable | |||
| ) |
Meta Functions.
Set whether crepuscular rays (sun rays) effects are on.
| void makVrv::DtCloudDrawable::updateCubeMaps | ( | bool | fullRegenerate | ) |
Request an updated cube map with the next draw.
| unsigned int makVrv::DtCloudDrawable::getCubeMap | ( | const osg::ref_ptr< osg::Camera > | camera | ) | const |
Returns the latest environmental cube map for a camera, or NULL.
| unsigned int makVrv::DtCloudDrawable::getPrimaryCubeMap | ( | ) | const |
Returns the latest environmental cube map for general use, or NULL.
|
virtual |
Actually do the drawing.
| void makVrv::DtCloudDrawable::setGeocentricMode | ( | bool | mode | ) |
Indicate if we are in a geocentric terrain.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
mutableprotected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
mutableprotected |
|
mutableprotected |
|
mutableprotected |
|
mutableprotected |
|
mutableprotected |
|
mutableprotected |
|
mutableprotected |