14 #ifndef OSGUTIL_PLANEINTERSECTOR
15 #define OSGUTIL_PLANEINTERSECTOR 1
17 #include <osgUtil/IntersectionVisitor>
19 #include <osg/CoordinateSystemNode>
42 if (polyline < rhs.
polyline)
return true;
43 if (rhs.
polyline < polyline)
return false;
45 if (nodePath < rhs.
nodePath)
return true;
46 if (rhs.
nodePath < nodePath )
return false;
66 inline Intersections&
getIntersections() {
return _parent ? _parent->_intersections : _intersections; }
81 virtual bool enter(
const osg::Node& node);
osg::ref_ptr< osg::Drawable > drawable
PlaneIntersector * _parent
osg::ref_ptr< osg::RefMatrix > matrix
osg::ref_ptr< osg::EllipsoidModel > _em
void setEllipsoidModel(osg::EllipsoidModel *em)
std::vector< double > Attributes
T * clone(const T *t, const osg::CopyOp ©op=osg::CopyOp::SHALLOW_COPY)
const osg::EllipsoidModel * getEllipsoidModel() const
std::vector< Intersection > Intersections
std::vector< osg::Vec3d > Polyline
bool getRecordHeightsAsAttributes() const
bool _recordHeightsAsAttributes
void insertIntersection(const Intersection &intersection)
A plane class. It can be used to represent an infinite plane.
Intersections _intersections
virtual bool containsIntersections()
void setRecordHeightsAsAttributes(bool flag)
Intersections & getIntersections()
std::vector< Node * > NodePath
Shader generator framework.