OpenSceneGraph 2.8.4
Public Member Functions | Protected Member Functions | Protected Attributes
osgSim::ConeSector Class Reference
Inheritance diagram for osgSim::ConeSector:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 ConeSector ()
 ConeSector (const ConeSector &copy, const osg::CopyOp &copyop=osg::CopyOp::SHALLOW_COPY)
 ConeSector (const osg::Vec3 &axis, float angle, float fadeangle=0.0f)
 META_Object (osgSim, ConeSector)
void setAxis (const osg::Vec3 &axis)
const osg::Vec3getAxis () const
void setAngle (float angle, float fadeangle=0.0f)
float getAngle () const
float getFadeAngle () const
virtual float operator() (const osg::Vec3 &eyeLocal) const

Protected Member Functions

virtual ~ConeSector ()

Protected Attributes

osg::Vec3 _axis
float _cosAngle
float _cosAngleFade

Constructor & Destructor Documentation

osgSim::ConeSector::ConeSector ( ) [inline]
osgSim::ConeSector::ConeSector ( const ConeSector copy,
const osg::CopyOp copyop = osg::CopyOp::SHALLOW_COPY 
) [inline]
osgSim::ConeSector::ConeSector ( const osg::Vec3 axis,
float  angle,
float  fadeangle = 0.0f 
)
virtual osgSim::ConeSector::~ConeSector ( ) [inline, protected, virtual]

Member Function Documentation

float osgSim::ConeSector::getAngle ( ) const
const osg::Vec3& osgSim::ConeSector::getAxis ( ) const
float osgSim::ConeSector::getFadeAngle ( ) const
osgSim::ConeSector::META_Object ( osgSim  ,
ConeSector   
)
virtual float osgSim::ConeSector::operator() ( const osg::Vec3 eyeLocal) const [virtual]

Implements osgSim::Sector.

void osgSim::ConeSector::setAngle ( float  angle,
float  fadeangle = 0.0f 
)
void osgSim::ConeSector::setAxis ( const osg::Vec3 axis)

Member Data Documentation

float osgSim::ConeSector::_cosAngle [protected]

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

osg logo
Generated at Sun Jan 8 2012 13:16:53 for the OpenSceneGraph by doxygen 1.7.4.