class OSGUTIL_EXPORT osgUtil::IntersectVisitor

Basic visitor for ray based collisions of a scene

Inheritance:


Public Methods

[more] IntersectVisitor()
[more]virtual ~IntersectVisitor()
[more]void reset()
[more]void addLineSegment(osg::LineSegment* seg)
Add a line segment to use for intersection testing during scene traversal
[more]HitList& getHitList(osg::LineSegment* seg)
[more]int getNumHits(osg::LineSegment* seg)
[more]bool hits()
[more]virtual void apply(osg::Node&)
[more]virtual void apply(osg::Geode& node)
[more]virtual void apply(osg::Billboard& node)
[more]virtual void apply(osg::Group& node)
[more]virtual void apply(osg::Transform& node)
[more]virtual void apply(osg::Switch& node)
[more]virtual void apply(osg::LOD& node)

Public Members

[more]typedef std::vector<Hit> HitList
[more]typedef std::map<osg::LineSegment*,HitList > LineSegmentHitListMap

Protected Fields

[more]IntersectStateStack _intersectStateStack
[more]osg::NodePath _nodePath
[more]LineSegmentHitListMap _segHitList

Protected Methods

[more]bool intersect(osg::Drawable& gset)
[more]void pushMatrix(const osg::Matrix& matrix)
[more]void popMatrix()
[more]bool enterNode(osg::Node& node)
[more]void leaveNode()

Protected Members

class IntersectState: public osg::Referenced
\internal JAVA: SUPPRESS UNBRIDGABLE :JAVA
[more]typedef std::vector<osg::ref_ptr<IntersectState> > IntersectStateStack


Documentation

Basic visitor for ray based collisions of a scene
o IntersectVisitor()

ovirtual ~IntersectVisitor()

ovoid reset()

ovoid addLineSegment(osg::LineSegment* seg)
Add a line segment to use for intersection testing during scene traversal

otypedef std::vector<Hit> HitList

otypedef std::map<osg::LineSegment*,HitList > LineSegmentHitListMap

oHitList& getHitList(osg::LineSegment* seg)

oint getNumHits(osg::LineSegment* seg)

obool hits()

ovirtual void apply(osg::Node&)

ovirtual void apply(osg::Geode& node)

ovirtual void apply(osg::Billboard& node)

ovirtual void apply(osg::Group& node)

ovirtual void apply(osg::Transform& node)

ovirtual void apply(osg::Switch& node)

ovirtual void apply(osg::LOD& node)

obool intersect(osg::Drawable& gset)

ovoid pushMatrix(const osg::Matrix& matrix)

ovoid popMatrix()

obool enterNode(osg::Node& node)

ovoid leaveNode()

otypedef std::vector<osg::ref_ptr<IntersectState> > IntersectStateStack

oIntersectStateStack _intersectStateStack

oosg::NodePath _nodePath

oLineSegmentHitListMap _segHitList


This class has no child classes.

Alphabetic index HTML hierarchy of classes or Java



This page was generated with the help of DOC++.