OpenSceneGraph
3.0.1
|
Public Member Functions | |
ElevationRange () | |
void | setElevationRange (float minElevation, float maxElevation, float fadeAngle=0.0f) |
float | getMinElevation () const |
float | getMaxElevation () const |
float | getFadeAngle () const |
float | elevationSector (const osg::Vec3 &eyeLocal) const |
Protected Attributes | |
float | _cosMinElevation |
float | _cosMinFadeElevation |
float | _cosMaxElevation |
float | _cosMaxFadeElevation |
osgSim::ElevationRange::ElevationRange | ( | ) | [inline] |
float osgSim::ElevationRange::elevationSector | ( | const osg::Vec3 & | eyeLocal | ) | const [inline] |
References osg::Vec3f::z(), and osg::Vec3f::length().
float osgSim::ElevationRange::getFadeAngle | ( | ) | const |
float osgSim::ElevationRange::getMaxElevation | ( | ) | const |
float osgSim::ElevationRange::getMinElevation | ( | ) | const |
void osgSim::ElevationRange::setElevationRange | ( | float | minElevation, |
float | maxElevation, | ||
float | fadeAngle = 0.0f |
||
) |
float osgSim::ElevationRange::_cosMaxElevation [protected] |
float osgSim::ElevationRange::_cosMaxFadeElevation [protected] |
float osgSim::ElevationRange::_cosMinElevation [protected] |
float osgSim::ElevationRange::_cosMinFadeElevation [protected] |
![]() | Generated at Mon Oct 3 2011 12:39:49 for the OpenSceneGraph by doxygen 1.7.5. |