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 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Implements osgSim::Sector. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|