OpenSceneGraph  3.5.1
Public Member Functions | Protected Attributes | List of all members
osgSim::ElevationRange Class Reference
Inheritance diagram for osgSim::ElevationRange:
Inheritance graph
[legend]

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

osgSim::ElevationRange::ElevationRange ( )
inline

Member Function Documentation

float osgSim::ElevationRange::elevationSector ( const osg::Vec3 eyeLocal) const
inline
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 
)

Member Data Documentation

float osgSim::ElevationRange::_cosMaxElevation
protected
float osgSim::ElevationRange::_cosMaxFadeElevation
protected
float osgSim::ElevationRange::_cosMinElevation
protected
float osgSim::ElevationRange::_cosMinFadeElevation
protected

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

osg logo
Generated at Wed Nov 11 2015 22:15:09 for the OpenSceneGraph by doxygen 1.8.10.