OpenSceneGraph 2.8.3

osgUtil::IntersectorGroup Class Reference

Concrete class for passing multiple intersectors through the scene graph. More...

Inheritance diagram for osgUtil::IntersectorGroup:

List of all members.

Public Types

typedef std::vector
< osg::ref_ptr< Intersector > > 
Intersectors

Public Member Functions

 IntersectorGroup ()
void addIntersector (Intersector *intersector)
 Add an Intersector.
IntersectorsgetIntersectors ()
 Get the list of intersector.
void clear ()
 Clear the list of intersectors.
virtual Intersectorclone (osgUtil::IntersectionVisitor &iv)
virtual bool enter (const osg::Node &node)
virtual void leave ()
virtual void intersect (osgUtil::IntersectionVisitor &iv, osg::Drawable *drawable)
virtual void reset ()
virtual bool containsIntersections ()

Protected Attributes

Intersectors _intersectors

Detailed Description

Concrete class for passing multiple intersectors through the scene graph.

To be used in conjunction with IntersectionVisitor.


Member Typedef Documentation


Constructor & Destructor Documentation

osgUtil::IntersectorGroup::IntersectorGroup ( )

Member Function Documentation

void osgUtil::IntersectorGroup::addIntersector ( Intersector intersector)

Add an Intersector.

void osgUtil::IntersectorGroup::clear ( )

Clear the list of intersectors.

virtual Intersector* osgUtil::IntersectorGroup::clone ( osgUtil::IntersectionVisitor iv) [virtual]

Implements osgUtil::Intersector.

virtual bool osgUtil::IntersectorGroup::containsIntersections ( ) [virtual]

Implements osgUtil::Intersector.

virtual bool osgUtil::IntersectorGroup::enter ( const osg::Node node) [virtual]

Implements osgUtil::Intersector.

Intersectors& osgUtil::IntersectorGroup::getIntersectors ( ) [inline]

Get the list of intersector.

virtual void osgUtil::IntersectorGroup::intersect ( osgUtil::IntersectionVisitor iv,
osg::Drawable drawable 
) [virtual]

Implements osgUtil::Intersector.

virtual void osgUtil::IntersectorGroup::leave ( ) [virtual]

Implements osgUtil::Intersector.

virtual void osgUtil::IntersectorGroup::reset ( ) [virtual]

Reimplemented from osgUtil::Intersector.


Member Data Documentation


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

osg logo
Generated at Tue Mar 22 2011 13:20:30 for the OpenSceneGraph by doxygen 1.7.3.