Inheritance diagram for osgUtil::IntersectVisitor:

Public Types | |
| typedef std::vector< Hit > | HitList |
| typedef std::map< osg::LineSegment *, HitList > | LineSegmentHitListMap |
Public Methods | |
| IntersectVisitor () | |
| virtual | ~IntersectVisitor () |
| void | reset () |
| Method to call to reset visitor. | |
| void | addLineSegment (osg::LineSegment *seg) |
| Add a line segment to use for intersection testing during scene traversal. | |
| HitList & | getHitList (osg::LineSegment *seg) |
| int | getNumHits (osg::LineSegment *seg) |
| bool | hits () |
| virtual void | apply (osg::Node &) |
| virtual void | apply (osg::Geode &node) |
| virtual void | apply (osg::Billboard &node) |
| virtual void | apply (osg::Group &node) |
| virtual void | apply (osg::Transform &node) |
| virtual void | apply (osg::Switch &node) |
| virtual void | apply (osg::LOD &node) |
Protected Types | |
| typedef std::vector< osg::ref_ptr< IntersectState > > | IntersectStateStack |
Protected Methods | |
| bool | intersect (osg::Drawable &gset) |
| void | pushMatrix (const osg::Matrix &matrix) |
| void | popMatrix () |
| bool | enterNode (osg::Node &node) |
| void | leaveNode () |
Protected Attributes | |
| IntersectStateStack | _intersectStateStack |
| osg::NodePath | _nodePath |
| LineSegmentHitListMap | _segHitList |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Add a line segment to use for intersection testing during scene traversal.
|
|
|
Reimplemented from osg::NodeVisitor. |
|
|
Reimplemented from osg::NodeVisitor. |
|
|
Reimplemented from osg::NodeVisitor. |
|
|
Reimplemented from osg::NodeVisitor. |
|
|
Reimplemented from osg::NodeVisitor. |
|
|
Reimplemented from osg::NodeVisitor. |
|
|
Reimplemented from osg::NodeVisitor. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Method to call to reset visitor. Useful for your visitor accumulates state during a traversal, and you plan to reuse the visitor. To flush that state for the next traversal than call reset() prior to each traversal. Reimplemented from osg::NodeVisitor. |
|
|
|
|
|
Reimplemented from osg::NodeVisitor. |
|
|
|