2001-09-20 05:19:47 +08:00
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
< HTML >
< HEAD >
< TITLE > class OSGUTIL_EXPORT osgUtil::IntersectVisitor< / TITLE >
< META NAME = "GENERATOR" CONTENT = "DOC++ 3.4.8" >
< / HEAD >
< BODY BGCOLOR = "#ffffff" >
< H2 > class OSGUTIL_EXPORT < A HREF = "#DOC.DOCU" > osgUtil::IntersectVisitor< / A > < / H2 > < / H2 > < BLOCKQUOTE > Basic visitor for ray based collisions of a scene.< / BLOCKQUOTE >
< HR >
< H2 > Inheritance:< / H2 >
< APPLET CODE = "ClassGraph.class" WIDTH = 600 HEIGHT = 65 >
< param name = classes value = "Mosg::NodeVisitor,M,CIntersectVisitor,MIntersectVisitor.html" >
< param name = before value = "M,M" >
< param name = after value = "Md_,M" >
< param name = indent value = "0,1" >
< param name = arrowdir value = "down" >
< / APPLET >
< HR >
< DL >
< P > < DL >
< DT > < H3 > Public Methods< / H3 > < DD > < DT >
2001-09-22 10:42:08 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > < B > < A HREF = "#DOC.2.15.1" > IntersectVisitor< / A > < / B > ()
2001-09-20 05:19:47 +08:00
< DT >
2001-09-22 10:42:08 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > virtual < B > < A HREF = "#DOC.2.15.2" > ~IntersectVisitor< / A > < / B > ()
2001-09-20 05:19:47 +08:00
< DT >
2001-09-22 10:42:08 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > void < B > < A HREF = "#DOC.2.15.3" > reset< / A > < / B > ()
2001-09-20 05:19:47 +08:00
< DT >
2001-09-22 10:42:08 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > void < B > < A HREF = "#DOC.2.15.4" > addLineSegment< / A > < / B > (osg::LineSegment* seg)
2001-09-20 05:19:47 +08:00
< DD > < I > Add a line segment to use for intersection testing during scene traversal< / I >
< DT >
2001-09-22 10:42:08 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > void < B > < A HREF = "#DOC.2.15.6" > setHitReportingMode< / A > < / B > (<!1> < A HREF = "IntersectVisitor.html#DOC.2.15.5" > HitReportingMode< / A > hrm)
2001-09-20 05:19:47 +08:00
< DD > < I > Set the mode of how hits should reported back from a traversal< / I >
< DT >
2001-09-22 10:42:08 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > <!1> < A HREF = "IntersectVisitor.html#DOC.2.15.5" > HitReportingMode< / A > < B > < A HREF = "#DOC.2.15.7" > getHitReportingMode< / A > < / B > ()
2001-09-20 05:19:47 +08:00
< DD > < I > Get the mode of how hits should reported back from a traversal< / I >
< DT >
2001-09-22 10:42:08 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > typedef std::map< osg::LineSegment*,HitList > LineSegmentHitListMap HitList& < B > < A HREF = "#DOC.2.15.8" > getHitList< / A > < / B > (osg::LineSegment* seg)
2001-09-20 05:19:47 +08:00
< DT >
2001-09-22 10:42:08 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > int < B > < A HREF = "#DOC.2.15.9" > getNumHits< / A > < / B > (osg::LineSegment* seg)
2001-09-20 05:19:47 +08:00
< DT >
2001-09-22 10:42:08 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > bool < B > < A HREF = "#DOC.2.15.10" > hits< / A > < / B > ()
2001-09-20 05:19:47 +08:00
< DT >
2001-09-22 10:42:08 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > virtual void < B > < A HREF = "#DOC.2.15.11" > apply< / A > < / B > (osg::Node& )
2001-09-20 05:19:47 +08:00
< DT >
2001-09-22 10:42:08 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > virtual void < B > < A HREF = "#DOC.2.15.12" > apply< / A > < / B > (osg::Geode& node)
2001-09-20 05:19:47 +08:00
< DT >
2001-09-22 10:42:08 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > virtual void < B > < A HREF = "#DOC.2.15.13" > apply< / A > < / B > (osg::Billboard& node)
2001-09-20 05:19:47 +08:00
< DT >
2001-09-22 10:42:08 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > virtual void < B > < A HREF = "#DOC.2.15.14" > apply< / A > < / B > (osg::Group& node)
2001-09-20 05:19:47 +08:00
< DT >
2001-09-22 10:42:08 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > virtual void < B > < A HREF = "#DOC.2.15.15" > apply< / A > < / B > (osg::Transform& node)
2001-09-20 05:19:47 +08:00
< DT >
2001-09-22 10:42:08 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > virtual void < B > < A HREF = "#DOC.2.15.16" > apply< / A > < / B > (osg::Switch& node)
2001-09-20 05:19:47 +08:00
< DT >
2001-09-22 10:42:08 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > virtual void < B > < A HREF = "#DOC.2.15.17" > apply< / A > < / B > (osg::LOD& node)
2001-09-20 05:19:47 +08:00
< / DL > < / P >
< P > < DL >
< DT > < H3 > Public Members< / H3 > < DD > < DT >
2001-09-22 10:42:08 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > enum < B > < A HREF = "#DOC.2.15.5" > HitReportingMode< / A > < / B >
2001-09-20 05:19:47 +08:00
< DD > < I > Modes to control how IntersectVisitor reports hits.< / I >
< / DL > < / P >
< P > < DL >
< DT > < H3 > Protected Fields< / H3 > < DD > < DT >
2001-09-22 10:42:08 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > osg::NodePath < B > < A HREF = "#DOC.2.15.24" > _nodePath< / A > < / B >
2001-09-20 05:19:47 +08:00
< DT >
2001-09-22 10:42:08 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > <!1> < A HREF = "IntersectVisitor.html#DOC.2.15.5" > HitReportingMode< / A > < B > < A HREF = "#DOC.2.15.25" > _hitReportingMode< / A > < / B >
2001-09-20 05:19:47 +08:00
< DT >
2001-09-22 10:42:08 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > LineSegmentHitListMap < B > < A HREF = "#DOC.2.15.26" > _segHitList< / A > < / B >
2001-09-20 05:19:47 +08:00
< / DL > < / P >
< P > < DL >
< DT > < H3 > Protected Methods< / H3 > < DD > < DT >
2001-09-22 10:42:08 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > bool < B > < A HREF = "#DOC.2.15.18" > intersect< / A > < / B > (osg::GeoSet& gset)
2001-09-20 05:19:47 +08:00
< DT >
2001-09-22 10:42:08 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > void < B > < A HREF = "#DOC.2.15.19" > pushMatrix< / A > < / B > (const osg::Matrix& matrix)
2001-09-20 05:19:47 +08:00
< DT >
2001-09-22 10:42:08 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > void < B > < A HREF = "#DOC.2.15.20" > popMatrix< / A > < / B > ()
2001-09-20 05:19:47 +08:00
< DT >
2001-09-22 10:42:08 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > bool < B > < A HREF = "#DOC.2.15.21" > enterNode< / A > < / B > (osg::Node& node)
2001-09-20 05:19:47 +08:00
< DT >
2001-09-22 10:42:08 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > void < B > < A HREF = "#DOC.2.15.22" > leaveNode< / A > < / B > ()
2001-09-20 05:19:47 +08:00
< / DL > < / P >
< P > < DL >
< DT > < H3 > Protected Members< / H3 > < DD > < DT >
2001-09-22 10:42:08 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > typedef std::vector< osg::ref_ptr< <!1> < A HREF = "IntersectState.html" > IntersectState< / A > > > IntersectStateStack IntersectStateStack < B > < A HREF = "#DOC.2.15.23" > _intersectStateStack< / A > < / B >
2001-09-20 05:19:47 +08:00
< / DL > < / P >
< / DL >
< A NAME = "DOC.DOCU" > < / A >
< HR >
< H2 > Documentation< / H2 >
< BLOCKQUOTE > Basic visitor for ray based collisions of a scene.
Note, still in development, current version has not
pratical functionality!< / BLOCKQUOTE >
< DL >
< A NAME = "IntersectVisitor" > < / A >
2001-09-22 10:42:08 +08:00
< A NAME = "DOC.2.15.1" > < / A >
2001-09-20 05:19:47 +08:00
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > IntersectVisitor()< / B > < / TT >
< DL > < DT > < DD > < / DL > < P >
< A NAME = "~IntersectVisitor" > < / A >
2001-09-22 10:42:08 +08:00
< A NAME = "DOC.2.15.2" > < / A >
2001-09-20 05:19:47 +08:00
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > virtual ~IntersectVisitor()< / B > < / TT >
< DL > < DT > < DD > < / DL > < P >
< A NAME = "reset" > < / A >
2001-09-22 10:42:08 +08:00
< A NAME = "DOC.2.15.3" > < / A >
2001-09-20 05:19:47 +08:00
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > void reset()< / B > < / TT >
< DL > < DT > < DD > < / DL > < P >
< A NAME = "addLineSegment" > < / A >
2001-09-22 10:42:08 +08:00
< A NAME = "DOC.2.15.4" > < / A >
2001-09-20 05:19:47 +08:00
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > void addLineSegment(osg::LineSegment* seg)< / B > < / TT >
< DD > Add a line segment to use for intersection testing during scene traversal
< DL > < DT > < DD > < / DL > < P >
< A NAME = "HitReportingMode" > < / A >
2001-09-22 10:42:08 +08:00
< A NAME = "DOC.2.15.5" > < / A >
2001-09-20 05:19:47 +08:00
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > enum HitReportingMode< / B > < / TT >
< DD > Modes to control how IntersectVisitor reports hits.
< DL > < DT > < DD > < / DL > < P > < DL >
< A NAME = "ONLY_NEAREST_HIT" > < / A >
2001-09-22 10:42:08 +08:00
< A NAME = "DOC.2.15.5.1" > < / A >
2001-09-20 05:19:47 +08:00
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > ONLY_NEAREST_HIT< / B > < / TT >
< DL > < DT > < DD > < / DL > < P >
< A NAME = "ALL_HITS" > < / A >
2001-09-22 10:42:08 +08:00
< A NAME = "DOC.2.15.5.2" > < / A >
2001-09-20 05:19:47 +08:00
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > ALL_HITS< / B > < / TT >
< DL > < DT > < DD > < / DL > < P > < / DL >
< A NAME = "setHitReportingMode" > < / A >
2001-09-22 10:42:08 +08:00
< A NAME = "DOC.2.15.6" > < / A >
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > void setHitReportingMode(<!1> < A HREF = "IntersectVisitor.html#DOC.2.15.5" > HitReportingMode< / A > hrm)< / B > < / TT >
2001-09-20 05:19:47 +08:00
< DD > Set the mode of how hits should reported back from a traversal
< DL > < DT > < DD > < / DL > < P >
< A NAME = "getHitReportingMode" > < / A >
2001-09-22 10:42:08 +08:00
< A NAME = "DOC.2.15.7" > < / A >
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > <!1> < A HREF = "IntersectVisitor.html#DOC.2.15.5" > HitReportingMode< / A > getHitReportingMode()< / B > < / TT >
2001-09-20 05:19:47 +08:00
< DD > Get the mode of how hits should reported back from a traversal
< DL > < DT > < DD > < / DL > < P >
< A NAME = "getHitList" > < / A >
2001-09-22 10:42:08 +08:00
< A NAME = "DOC.2.15.8" > < / A >
2001-09-20 05:19:47 +08:00
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > typedef std::map< osg::LineSegment*,HitList > LineSegmentHitListMap HitList& getHitList(osg::LineSegment* seg)< / B > < / TT >
< DL > < DT > < DD > < / DL > < P >
< A NAME = "getNumHits" > < / A >
2001-09-22 10:42:08 +08:00
< A NAME = "DOC.2.15.9" > < / A >
2001-09-20 05:19:47 +08:00
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > int getNumHits(osg::LineSegment* seg)< / B > < / TT >
< DL > < DT > < DD > < / DL > < P >
< A NAME = "hits" > < / A >
2001-09-22 10:42:08 +08:00
< A NAME = "DOC.2.15.10" > < / A >
2001-09-20 05:19:47 +08:00
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > bool hits()< / B > < / TT >
< DL > < DT > < DD > < / DL > < P >
< A NAME = "apply" > < / A >
2001-09-22 10:42:08 +08:00
< A NAME = "DOC.2.15.11" > < / A >
2001-09-20 05:19:47 +08:00
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > virtual void apply(osg::Node& )< / B > < / TT >
< DL > < DT > < DD > < / DL > < P >
< A NAME = "apply" > < / A >
2001-09-22 10:42:08 +08:00
< A NAME = "DOC.2.15.12" > < / A >
2001-09-20 05:19:47 +08:00
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > virtual void apply(osg::Geode& node)< / B > < / TT >
< DL > < DT > < DD > < / DL > < P >
< A NAME = "apply" > < / A >
2001-09-22 10:42:08 +08:00
< A NAME = "DOC.2.15.13" > < / A >
2001-09-20 05:19:47 +08:00
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > virtual void apply(osg::Billboard& node)< / B > < / TT >
< DL > < DT > < DD > < / DL > < P >
< A NAME = "apply" > < / A >
2001-09-22 10:42:08 +08:00
< A NAME = "DOC.2.15.14" > < / A >
2001-09-20 05:19:47 +08:00
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > virtual void apply(osg::Group& node)< / B > < / TT >
< DL > < DT > < DD > < / DL > < P >
< A NAME = "apply" > < / A >
2001-09-22 10:42:08 +08:00
< A NAME = "DOC.2.15.15" > < / A >
2001-09-20 05:19:47 +08:00
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > virtual void apply(osg::Transform& node)< / B > < / TT >
< DL > < DT > < DD > < / DL > < P >
< A NAME = "apply" > < / A >
2001-09-22 10:42:08 +08:00
< A NAME = "DOC.2.15.16" > < / A >
2001-09-20 05:19:47 +08:00
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > virtual void apply(osg::Switch& node)< / B > < / TT >
< DL > < DT > < DD > < / DL > < P >
< A NAME = "apply" > < / A >
2001-09-22 10:42:08 +08:00
< A NAME = "DOC.2.15.17" > < / A >
2001-09-20 05:19:47 +08:00
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > virtual void apply(osg::LOD& node)< / B > < / TT >
< DL > < DT > < DD > < / DL > < P >
< A NAME = "intersect" > < / A >
2001-09-22 10:42:08 +08:00
< A NAME = "DOC.2.15.18" > < / A >
2001-09-20 05:19:47 +08:00
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > bool intersect(osg::GeoSet& gset)< / B > < / TT >
< DL > < DT > < DD > < / DL > < P >
< A NAME = "pushMatrix" > < / A >
2001-09-22 10:42:08 +08:00
< A NAME = "DOC.2.15.19" > < / A >
2001-09-20 05:19:47 +08:00
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > void pushMatrix(const osg::Matrix& matrix)< / B > < / TT >
< DL > < DT > < DD > < / DL > < P >
< A NAME = "popMatrix" > < / A >
2001-09-22 10:42:08 +08:00
< A NAME = "DOC.2.15.20" > < / A >
2001-09-20 05:19:47 +08:00
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > void popMatrix()< / B > < / TT >
< DL > < DT > < DD > < / DL > < P >
< A NAME = "enterNode" > < / A >
2001-09-22 10:42:08 +08:00
< A NAME = "DOC.2.15.21" > < / A >
2001-09-20 05:19:47 +08:00
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > bool enterNode(osg::Node& node)< / B > < / TT >
< DL > < DT > < DD > < / DL > < P >
< A NAME = "leaveNode" > < / A >
2001-09-22 10:42:08 +08:00
< A NAME = "DOC.2.15.22" > < / A >
2001-09-20 05:19:47 +08:00
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > void leaveNode()< / B > < / TT >
< DL > < DT > < DD > < / DL > < P >
< A NAME = "_intersectStateStack" > < / A >
2001-09-22 10:42:08 +08:00
< A NAME = "DOC.2.15.23" > < / A >
2001-09-20 05:19:47 +08:00
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > typedef std::vector< osg::ref_ptr< <!1> < A HREF = "IntersectState.html" > IntersectState< / A > > > IntersectStateStack IntersectStateStack _intersectStateStack< / B > < / TT >
< DL > < DT > < DD > < / DL > < P >
< A NAME = "_nodePath" > < / A >
2001-09-22 10:42:08 +08:00
< A NAME = "DOC.2.15.24" > < / A >
2001-09-20 05:19:47 +08:00
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > osg::NodePath _nodePath< / B > < / TT >
< DL > < DT > < DD > < / DL > < P >
< A NAME = "_hitReportingMode" > < / A >
2001-09-22 10:42:08 +08:00
< A NAME = "DOC.2.15.25" > < / A >
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > <!1> < A HREF = "IntersectVisitor.html#DOC.2.15.5" > HitReportingMode< / A > _hitReportingMode< / B > < / TT >
2001-09-20 05:19:47 +08:00
< DL > < DT > < DD > < / DL > < P >
< A NAME = "_segHitList" > < / A >
2001-09-22 10:42:08 +08:00
< A NAME = "DOC.2.15.26" > < / A >
2001-09-20 05:19:47 +08:00
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > LineSegmentHitListMap _segHitList< / B > < / TT >
< DL > < DT > < DD > < / DL > < P > < / DL >
< HR > < DL > < DT > < B > This class has no child classes.< / B > < / DL >
< DL > < DT > < DD > < / DL > < P > < P > < I > < A HREF = "index.html" > Alphabetic index< / A > < / I > < I > < A HREF = "HIER.html" > HTML hierarchy of classes< / A > or < A HREF = "HIERjava.html" > Java< / A > < / I > < / P > < HR >
< BR >
This page was generated with the help of < A HREF = "http://docpp.sourceforge.net" > DOC++< / A > .
< / BODY >
< / HTML >