14#ifndef OSGUTIL_PLANEINTERSECTOR
15#define OSGUTIL_PLANEINTERSECTOR 1
std::vector< Node * > NodePath
A vector of Nodes pointers which is used to describe the path from a root node to a descendant.
Definition Node:47
The osgUtil library provides general purpose utility classes such as update, cull and draw traverses,...
Definition NodeVisitor:25
EllipsoidModel encapsulates the ellipsoid used to model astronomical bodies, such as sun,...
Definition CoordinateSystemNode:31
Pure virtual base class for drawable geometry.
Definition Drawable:89
Base class for all internal nodes in the scene graph.
Definition Node:72
A plane class.
Definition Plane:34
A Polytope class for representing convex clipping volumes made up of a set of planes.
Definition Polytope:26
Smart pointer for handling referenced counted objects.
Definition ref_ptr:32
CoordinateFrame
Definition IntersectionVisitor:38
Intersector(CoordinateFrame cf=MODEL, IntersectionLimit il=NO_LIMIT)
Definition IntersectionVisitor:53
IntersectionVisitor is used to testing for intersections with the scene, traversing the scene using g...
Definition IntersectionVisitor:152
std::vector< Intersection > Intersections
Definition PlaneIntersector:62
PlaneIntersector(const osg::Plane &plane, const osg::Polytope &boundingPolytope=osg::Polytope())
Construct a PolytopeIntersector using speified polytope in MODEL coordinates.
bool getRecordHeightsAsAttributes() const
Definition PlaneIntersector:71
virtual bool containsIntersections()
Definition PlaneIntersector:89
const osg::EllipsoidModel * getEllipsoidModel() const
Definition PlaneIntersector:75
bool _recordHeightsAsAttributes
Definition PlaneIntersector:95
void insertIntersection(const Intersection &intersection)
Definition PlaneIntersector:64
osg::Plane _plane
Definition PlaneIntersector:98
virtual void intersect(osgUtil::IntersectionVisitor &iv, osg::Drawable *drawable)
PlaneIntersector(CoordinateFrame cf, const osg::Plane &plane, const osg::Polytope &boundingPolytope=osg::Polytope())
Construct a PolytopeIntersector using speified polytope in specified coordinate frame.
osg::ref_ptr< osg::EllipsoidModel > _em
Definition PlaneIntersector:96
virtual Intersector * clone(osgUtil::IntersectionVisitor &iv)
Intersections & getIntersections()
Definition PlaneIntersector:66
virtual bool enter(const osg::Node &node)
PlaneIntersector * _parent
Definition PlaneIntersector:93
Intersections _intersections
Definition PlaneIntersector:101
void setRecordHeightsAsAttributes(bool flag)
Definition PlaneIntersector:69
osg::Polytope _polytope
Definition PlaneIntersector:99
void setEllipsoidModel(osg::EllipsoidModel *em)
Definition PlaneIntersector:73
Definition PlaneIntersector:37
Intersection()
Definition PlaneIntersector:38
osg::NodePath nodePath
Definition PlaneIntersector:54
std::vector< osg::Vec3d > Polyline
Definition PlaneIntersector:51
Polyline polyline
Definition PlaneIntersector:57
std::vector< double > Attributes
Definition PlaneIntersector:52
Attributes attributes
Definition PlaneIntersector:58
osg::ref_ptr< osg::RefMatrix > matrix
Definition PlaneIntersector:55
osg::ref_ptr< osg::Drawable > drawable
Definition PlaneIntersector:56
#define OSGUTIL_EXPORT
Definition Export:40