Inheritance diagram for osgUtil::IntersectVisitor:
Public Types | |
typedef std::vector< Hit > | HitList |
typedef std::map< osg::LineSegment *, HitList > | LineSegmentHitListMap |
Public Member Functions | |
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 Member Functions | |
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 |
Classes | |
class | IntersectState |
|
|
|
|
|
|
|
|
|
|
|
Add a line segment to use for intersection testing during scene traversal.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Method to call to reset visitor. Useful if your visitor accumulates state during a traversal, and you plan to reuse the visitor. To flush that state for the next traversal: call reset() prior to each traversal. Reimplemented from osg::NodeVisitor. |
|
|
|
Reimplemented from osg::NodeVisitor. |
|
|