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 |
![]() | |
OpenThreads::AtomicPtr | _observerSet |
OpenThreads::Atomic | _refCount |
Additional Inherited Members | |
![]() | |
static OpenThreads::Mutex * | getGlobalReferencedMutex () |
static void | setDeleteHandler (DeleteHandler *handler) |
static DeleteHandler * | getDeleteHandler () |
![]() | |
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 |
|
pure virtual |
|
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(), and setCoordinateFrame().
|
protected |
Referenced by decrementDisabledCount(), disabled(), incrementDisabledCount(), and reset().
|
protected |
Referenced by getIntersectionLimit(), reachedLimit(), and setIntersectionLimit().
|
protected |
Referenced by getPrecisionHint(), and setPrecisionHint().