
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] |
| void osgSim::ElevationRange::setElevationRange | ( | float | minElevation, | |
| float | maxElevation, | |||
| float | fadeAngle = 0.0f | |||
| ) |
| float osgSim::ElevationRange::getMinElevation | ( | ) | const |
| float osgSim::ElevationRange::getMaxElevation | ( | ) | const |
| float osgSim::ElevationRange::getFadeAngle | ( | ) | const |
| float osgSim::ElevationRange::elevationSector | ( | const osg::Vec3 & | eyeLocal | ) | const [inline] |
float osgSim::ElevationRange::_cosMinElevation [protected] |
Reimplemented in osgSim::ElevationSector.
float osgSim::ElevationRange::_cosMinFadeElevation [protected] |
Reimplemented in osgSim::ElevationSector.
float osgSim::ElevationRange::_cosMaxElevation [protected] |
Reimplemented in osgSim::ElevationSector.
float osgSim::ElevationRange::_cosMaxFadeElevation [protected] |
Reimplemented in osgSim::ElevationSector.