OSG  3.4.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Protected Attributes | List of all members
osgSim::AzimRange Class Reference

#include <Sector.h>

Inheritance diagram for osgSim::AzimRange:
Inheritance graph
[legend]

Public Member Functions

 AzimRange ()
 
void setAzimuthRange (float minAzimuth, float maxAzimuth, float fadeAngle=0.0f)
 
void getAzimuthRange (float &minAzimuth, float &maxAzimuth, float &fadeAngle) const
 
float azimSector (const osg::Vec3 &eyeLocal) const
 

Protected Attributes

float _cosAzim
 
float _sinAzim
 
float _cosAngle
 
float _cosFadeAngle
 

Detailed Description

Definition at line 48 of file Sector.h.

Constructor & Destructor Documentation

osgSim::AzimRange::AzimRange ( )
inline

Definition at line 52 of file Sector.h.

Member Function Documentation

float osgSim::AzimRange::azimSector ( const osg::Vec3 eyeLocal) const
inline

Definition at line 62 of file Sector.h.

Here is the call graph for this function:

void osgSim::AzimRange::getAzimuthRange ( float &  minAzimuth,
float &  maxAzimuth,
float &  fadeAngle 
) const
void osgSim::AzimRange::setAzimuthRange ( float  minAzimuth,
float  maxAzimuth,
float  fadeAngle = 0.0f 
)

Member Data Documentation

float osgSim::AzimRange::_cosAngle
protected

Definition at line 75 of file Sector.h.

float osgSim::AzimRange::_cosAzim
protected

Definition at line 73 of file Sector.h.

float osgSim::AzimRange::_cosFadeAngle
protected

Definition at line 76 of file Sector.h.

float osgSim::AzimRange::_sinAzim
protected

Definition at line 74 of file Sector.h.


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