|
openscenegraph
|
#include <IntersectionVisitor>
Public Types | |
| enum | CoordinateFrame { WINDOW , PROJECTION , VIEW , MODEL } |
| enum | IntersectionLimit { NO_LIMIT , LIMIT_ONE_PER_DRAWABLE , LIMIT_ONE , LIMIT_NEAREST } |
| enum | PrecisionHint { USE_DOUBLE_CALCULATIONS , USE_FLOAT_CALCULATIONS } |
Protected Attributes | |
| CoordinateFrame | _coordinateFrame |
| IntersectionLimit | _intersectionLimit |
| unsigned int | _disabledCount |
| PrecisionHint | _precisionHint |
| Protected Attributes inherited from osg::Referenced | |
| OpenThreads::AtomicPtr | _observerSet |
| OpenThreads::Atomic | _refCount |
Additional Inherited Members | |
| Static Public Member Functions inherited from osg::Referenced | |
| static OpenThreads::Mutex * | getGlobalReferencedMutex () |
| static void | setDeleteHandler (DeleteHandler *handler) |
| static DeleteHandler * | getDeleteHandler () |
| Protected Member Functions inherited from osg::Referenced | |
| virtual | ~Referenced () |
| void | signalObserversAndDelete (bool signalDelete, bool doDelete) const |
| void | deleteUsingDeleteHandler () const |
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.
|
inline |
References _coordinateFrame, _disabledCount, _intersectionLimit, _precisionHint, MODEL, NO_LIMIT, and USE_DOUBLE_CALCULATIONS.
Referenced by osgUtil::IntersectorGroup::addIntersector(), clone(), osgUtil::IntersectorGroup::clone(), osgUtil::LineSegmentIntersector::clone(), osgUtil::PlaneIntersector::clone(), osgUtil::PolytopeIntersector::clone(), and osgUtil::RayIntersector::clone().
|
pure virtual |
Implemented in osgUtil::IntersectorGroup, osgUtil::LineSegmentIntersector, osgUtil::PlaneIntersector, osgUtil::PolytopeIntersector, and osgUtil::RayIntersector.
References Intersector().
|
pure virtual |
Implemented in osgUtil::IntersectorGroup, osgUtil::LineSegmentIntersector, osgUtil::PlaneIntersector, osgUtil::PolytopeIntersector, and osgUtil::RayIntersector.
Referenced by reachedLimit().
|
inline |
References _disabledCount.
|
inline |
References _disabledCount.
|
pure virtual |
|
inline |
References _coordinateFrame.
|
inline |
References _intersectionLimit.
|
inline |
Get the hint to what precision should be used in the intersections calculations.
References _precisionHint.
|
inline |
References _disabledCount.
|
pure virtual |
|
pure virtual |
|
inline |
References _intersectionLimit, containsIntersections(), and LIMIT_ONE.
|
inlinevirtual |
Reimplemented in osgUtil::IntersectorGroup, osgUtil::LineSegmentIntersector, osgUtil::PlaneIntersector, osgUtil::PolytopeIntersector, and osgUtil::RayIntersector.
References _disabledCount.
|
inline |
References _coordinateFrame.
|
inline |
References _intersectionLimit.
|
inline |
Set the hint to what precision to use in the intersections calculations.
References _precisionHint.
|
protected |
Referenced by getCoordinateFrame(), Intersector(), and setCoordinateFrame().
|
protected |
Referenced by decrementDisabledCount(), disabled(), incrementDisabledCount(), Intersector(), and reset().
|
protected |
Referenced by getIntersectionLimit(), Intersector(), reachedLimit(), and setIntersectionLimit().
|
protected |
Referenced by getPrecisionHint(), Intersector(), and setPrecisionHint().