Improved the PickVisitor to make it more flexible and robust.

This commit is contained in:
Robert Osfield
2005-12-06 21:59:43 +00:00
parent a865ea7773
commit 4d658ae1ea
3 changed files with 96 additions and 152 deletions

View File

@@ -115,6 +115,8 @@ class OSGUTIL_EXPORT IntersectVisitor : public osg::NodeVisitor
HitList& getHitList(const osg::LineSegment* seg) { return _segHitList[seg]; }
int getNumHits(const osg::LineSegment* seg) { return _segHitList[seg].size(); }
LineSegmentHitListMap& getSegHitList() { return _segHitList; }
bool hits();