OSG
3.4.0
|
#include <PlaneIntersector.h>
Classes | |
struct | Intersection |
Public Types | |
typedef std::vector< Intersection > | Intersections |
![]() | |
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 | |
PlaneIntersector * | _parent |
bool | _recordHeightsAsAttributes |
osg::ref_ptr< osg::EllipsoidModel > | _em |
osg::Plane | _plane |
osg::Polytope | _polytope |
Intersections | _intersections |
![]() | |
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 |
Concrete class for implementing polytope intersections with the scene graph. To be used in conjunction with IntersectionVisitor.
Definition at line 26 of file PlaneIntersector.h.
typedef std::vector<Intersection> osgUtil::PlaneIntersector::Intersections |
Definition at line 62 of file PlaneIntersector.h.
osgUtil::PlaneIntersector::PlaneIntersector | ( | const osg::Plane & | plane, |
const osg::Polytope & | boundingPolytope = osg::Polytope() |
||
) |
Construct a PolytopeIntersector using speified polytope in MODEL coordinates.
osgUtil::PlaneIntersector::PlaneIntersector | ( | CoordinateFrame | cf, |
const osg::Plane & | plane, | ||
const osg::Polytope & | boundingPolytope = osg::Polytope() |
||
) |
Construct a PolytopeIntersector using speified polytope in specified coordinate frame.
|
virtual |
Implements osgUtil::Intersector.
|
inlinevirtual |
Implements osgUtil::Intersector.
Definition at line 89 of file PlaneIntersector.h.
|
virtual |
Implements osgUtil::Intersector.
|
inline |
Definition at line 75 of file PlaneIntersector.h.
|
inline |
Definition at line 66 of file PlaneIntersector.h.
|
inline |
Definition at line 71 of file PlaneIntersector.h.
|
inline |
Definition at line 64 of file PlaneIntersector.h.
|
virtual |
Implements osgUtil::Intersector.
|
virtual |
Implements osgUtil::Intersector.
|
virtual |
Reimplemented from osgUtil::Intersector.
|
inline |
Definition at line 73 of file PlaneIntersector.h.
|
inline |
Definition at line 69 of file PlaneIntersector.h.
|
protected |
Definition at line 96 of file PlaneIntersector.h.
|
protected |
Definition at line 101 of file PlaneIntersector.h.
|
protected |
Definition at line 93 of file PlaneIntersector.h.
|
protected |
Definition at line 98 of file PlaneIntersector.h.
|
protected |
Definition at line 99 of file PlaneIntersector.h.
|
protected |
Definition at line 95 of file PlaneIntersector.h.