OSG
3.4.0
|
#include <IntersectionVisitor.h>
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 | setThreadSafeReferenceCounting (bool enableThreadSafeReferenceCounting) |
static bool | getThreadSafeReferenceCounting () |
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.
Definition at line 33 of file IntersectionVisitor.h.
Enumerator | |
---|---|
WINDOW | |
PROJECTION | |
VIEW | |
MODEL |
Definition at line 37 of file IntersectionVisitor.h.
Enumerator | |
---|---|
NO_LIMIT | |
LIMIT_ONE_PER_DRAWABLE | |
LIMIT_ONE | |
LIMIT_NEAREST |
Definition at line 45 of file IntersectionVisitor.h.
Hint to precision used in the internal intersections calculations.
Enumerator | |
---|---|
USE_DOUBLE_CALCULATIONS | |
USE_FLOAT_CALCULATIONS |
Definition at line 89 of file IntersectionVisitor.h.
|
inline |
Definition at line 53 of file IntersectionVisitor.h.
|
pure virtual |
|
pure virtual |
Implemented in osgUtil::IntersectorGroup, osgUtil::PolytopeIntersector, osgUtil::RayIntersector, osgUtil::LineSegmentIntersector, and osgUtil::PlaneIntersector.
|
inline |
Definition at line 84 of file IntersectionVisitor.h.
|
inline |
Definition at line 80 of file IntersectionVisitor.h.
|
pure virtual |
|
inline |
Definition at line 62 of file IntersectionVisitor.h.
|
inline |
Definition at line 66 of file IntersectionVisitor.h.
|
inline |
Get the hint to what precision should be used in the intersections calculations.
Definition at line 99 of file IntersectionVisitor.h.
|
inline |
Definition at line 82 of file IntersectionVisitor.h.
|
pure virtual |
|
pure virtual |
|
inline |
|
inlinevirtual |
Reimplemented in osgUtil::IntersectorGroup, osgUtil::PolytopeIntersector, osgUtil::RayIntersector, osgUtil::LineSegmentIntersector, and osgUtil::PlaneIntersector.
Definition at line 76 of file IntersectionVisitor.h.
|
inline |
Definition at line 60 of file IntersectionVisitor.h.
|
inline |
Definition at line 64 of file IntersectionVisitor.h.
|
inline |
Set the hint to what precision to use in the intersections calculations.
Definition at line 96 of file IntersectionVisitor.h.
|
protected |
Definition at line 103 of file IntersectionVisitor.h.
|
protected |
Definition at line 105 of file IntersectionVisitor.h.
|
protected |
Definition at line 104 of file IntersectionVisitor.h.
|
protected |
Definition at line 106 of file IntersectionVisitor.h.