Public Member Functions | |
DirectionalSector () | |
DirectionalSector (const DirectionalSector ©, const osg::CopyOp ©op=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::Vec3 & | getDirection () 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 |
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] |
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 | ( | ) |
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] |