OpenSceneGraph 3.6.5
osgSim::ElevationRange Class Reference

#include <Sector>

Inheritance diagram for osgSim::ElevationRange:

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

Constructor & Destructor Documentation

◆ ElevationRange()

Member Function Documentation

◆ elevationSector()

float osgSim::ElevationRange::elevationSector ( const osg::Vec3 & eyeLocal) const
inline

◆ getFadeAngle()

float osgSim::ElevationRange::getFadeAngle ( ) const

◆ getMaxElevation()

float osgSim::ElevationRange::getMaxElevation ( ) const

◆ getMinElevation()

float osgSim::ElevationRange::getMinElevation ( ) const

◆ setElevationRange()

void osgSim::ElevationRange::setElevationRange ( float minElevation,
float maxElevation,
float fadeAngle = 0.0f )

Member Data Documentation

◆ _cosMaxElevation

float osgSim::ElevationRange::_cosMaxElevation
protected

Referenced by ElevationRange(), and elevationSector().

◆ _cosMaxFadeElevation

float osgSim::ElevationRange::_cosMaxFadeElevation
protected

Referenced by ElevationRange(), and elevationSector().

◆ _cosMinElevation

float osgSim::ElevationRange::_cosMinElevation
protected

Referenced by ElevationRange(), and elevationSector().

◆ _cosMinFadeElevation

float osgSim::ElevationRange::_cosMinFadeElevation
protected

Referenced by ElevationRange(), and elevationSector().


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

osg logo
Generated at Wed Jul 23 2025 00:00:00 for the OpenSceneGraph by doxygen 1.14.0.