|
OpenSceneGraph
3.4.0
|
Pure virtual base class for implementing custom intersection technique. More...

Pure virtual base class for implementing custom intersection technique.
To implement a specific intersection technique on must override all the pure virtual methods, concrete examples of how to do this can be seen in the LineSegmentIntersector.
| osgUtil::Intersector::Intersector | ( | CoordinateFrame | cf = MODEL, |
| IntersectionLimit | il = NO_LIMIT |
||
| ) | [inline] |
| virtual Intersector* osgUtil::Intersector::clone | ( | osgUtil::IntersectionVisitor & | iv | ) | [pure virtual] |
| virtual bool osgUtil::Intersector::containsIntersections | ( | ) | [pure virtual] |
Implemented in osgUtil::IntersectorGroup, osgUtil::PolytopeIntersector, osgUtil::RayIntersector, osgUtil::LineSegmentIntersector, and osgUtil::PlaneIntersector.
Referenced by reachedLimit().
| void osgUtil::Intersector::decrementDisabledCount | ( | ) | [inline] |
References _disabledCount.
| bool osgUtil::Intersector::disabled | ( | ) | const [inline] |
References _disabledCount.
| virtual bool osgUtil::Intersector::enter | ( | const osg::Node & | node | ) | [pure virtual] |
| CoordinateFrame osgUtil::Intersector::getCoordinateFrame | ( | ) | const [inline] |
References _coordinateFrame.
| IntersectionLimit osgUtil::Intersector::getIntersectionLimit | ( | ) | const [inline] |
References _intersectionLimit.
| PrecisionHint osgUtil::Intersector::getPrecisionHint | ( | ) | const [inline] |
Get the hint to what precision should be used in the intersections calculations.
References _precisionHint.
| void osgUtil::Intersector::incrementDisabledCount | ( | ) | [inline] |
References _disabledCount.
| virtual void osgUtil::Intersector::intersect | ( | osgUtil::IntersectionVisitor & | iv, |
| osg::Drawable * | drawable | ||
| ) | [pure virtual] |
| virtual void osgUtil::Intersector::leave | ( | ) | [pure virtual] |
| bool osgUtil::Intersector::reachedLimit | ( | ) | [inline] |
References _intersectionLimit, containsIntersections(), and LIMIT_ONE.
| virtual void osgUtil::Intersector::reset | ( | ) | [inline, virtual] |
Reimplemented in osgUtil::IntersectorGroup, osgUtil::PolytopeIntersector, osgUtil::RayIntersector, osgUtil::LineSegmentIntersector, and osgUtil::PlaneIntersector.
References _disabledCount.
| void osgUtil::Intersector::setCoordinateFrame | ( | CoordinateFrame | cf | ) | [inline] |
References _coordinateFrame.
| void osgUtil::Intersector::setIntersectionLimit | ( | IntersectionLimit | limit | ) | [inline] |
References _intersectionLimit.
| void osgUtil::Intersector::setPrecisionHint | ( | PrecisionHint | hint | ) | [inline] |
Set the hint to what precision to use in the intersections calculations.
References _precisionHint.
Referenced by getCoordinateFrame(), and setCoordinateFrame().
unsigned int osgUtil::Intersector::_disabledCount [protected] |
Referenced by decrementDisabledCount(), disabled(), incrementDisabledCount(), and reset().
Referenced by getIntersectionLimit(), reachedLimit(), and setIntersectionLimit().
PrecisionHint osgUtil::Intersector::_precisionHint [protected] |
Referenced by getPrecisionHint(), and setPrecisionHint().
| Generated at Tue Dec 8 2015 00:16:50 for the OpenSceneGraph by doxygen 1.7.6.1. |