Public Types | Public Member Functions | Protected Attributes

osgUtil::IntersectorGroup Class Reference

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

Inheritance diagram for osgUtil::IntersectorGroup:
Inheritance graph
[legend]

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 Wed Nov 3 2010 02:40:19 for the OpenSceneGraph by doxygen 1.7.1.