osgSim::DirectionalSector Class Reference

Inheritance diagram for osgSim::DirectionalSector:

Inheritance graph
[legend]

List of all members.

Public Member Functions

 DirectionalSector ()
 DirectionalSector (const DirectionalSector &copy, const osg::CopyOp &copyop=osg::CopyOp::SHALLOW_COPY)
 DirectionalSector (const osg::Vec3 &direction, float horizLobeAngle, float vertLobeAngle, float lobeRollAngle, float fadeAngle=0.0f)
 META_Object (osgSim, DirectionalSector)
void setDirection (const osg::Vec3 &direction)
const osg::Vec3getDirection () const
void setHorizLobeAngle (float angle)
float getHorizLobeAngle () const
void setLobeRollAngle (float angle)
float getLobeRollAngle () const
void setVertLobeAngle (float angle)
float getVertLobeAngle () const
void setFadeAngle (float angle)
float getFadeAngle () const
virtual float operator() (const osg::Vec3 &eyeLocal) const
void computeMatrix ()

Protected Member Functions

virtual ~DirectionalSector ()

Protected Attributes

osg::Vec3 _direction
float _rollAngle
osg::Matrix _local_to_LP
float _cosHorizAngle
float _cosVertAngle
float _cosHorizFadeAngle
float _cosVertFadeAngle


Constructor & Destructor Documentation

osgSim::DirectionalSector::DirectionalSector (  )  [inline]

osgSim::DirectionalSector::DirectionalSector ( const DirectionalSector copy,
const osg::CopyOp copyop = osg::CopyOp::SHALLOW_COPY 
) [inline]

osgSim::DirectionalSector::DirectionalSector ( const osg::Vec3 direction,
float  horizLobeAngle,
float  vertLobeAngle,
float  lobeRollAngle,
float  fadeAngle = 0.0f 
)

virtual osgSim::DirectionalSector::~DirectionalSector (  )  [inline, protected, virtual]


Member Function Documentation

osgSim::DirectionalSector::META_Object ( osgSim  ,
DirectionalSector   
)

void osgSim::DirectionalSector::setDirection ( const osg::Vec3 direction  ) 

const osg::Vec3& osgSim::DirectionalSector::getDirection (  )  const

void osgSim::DirectionalSector::setHorizLobeAngle ( float  angle  ) 

float osgSim::DirectionalSector::getHorizLobeAngle (  )  const

void osgSim::DirectionalSector::setLobeRollAngle ( float  angle  ) 

float osgSim::DirectionalSector::getLobeRollAngle (  )  const

void osgSim::DirectionalSector::setVertLobeAngle ( float  angle  ) 

float osgSim::DirectionalSector::getVertLobeAngle (  )  const

void osgSim::DirectionalSector::setFadeAngle ( float  angle  ) 

float osgSim::DirectionalSector::getFadeAngle (  )  const

virtual float osgSim::DirectionalSector::operator() ( const osg::Vec3 eyeLocal  )  const [virtual]

Implements osgSim::Sector.

void osgSim::DirectionalSector::computeMatrix (  ) 


Member Data Documentation

osg::Vec3 osgSim::DirectionalSector::_direction [protected]

float osgSim::DirectionalSector::_rollAngle [protected]

osg::Matrix osgSim::DirectionalSector::_local_to_LP [protected]

float osgSim::DirectionalSector::_cosHorizAngle [protected]

float osgSim::DirectionalSector::_cosVertAngle [protected]

float osgSim::DirectionalSector::_cosHorizFadeAngle [protected]

float osgSim::DirectionalSector::_cosVertFadeAngle [protected]


The documentation for this class was generated from the following file:
Generated at Sun Oct 14 02:12:47 2007 for the OpenSceneGraph by doxygen 1.5.3.