To be used in conjunction with IntersectionVisitor.
typedef std::vector<Intersection> osgUtil::PlaneIntersector::Intersections |
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.
void osgUtil::PlaneIntersector::insertIntersection | ( | const Intersection & | intersection | ) | [inline] |
Intersections& osgUtil::PlaneIntersector::getIntersections | ( | ) | [inline] |
void osgUtil::PlaneIntersector::setRecordHeightsAsAttributes | ( | bool | flag | ) | [inline] |
bool osgUtil::PlaneIntersector::getRecordHeightsAsAttributes | ( | ) | const [inline] |
void osgUtil::PlaneIntersector::setEllipsoidModel | ( | osg::EllipsoidModel * | em | ) | [inline] |
const osg::EllipsoidModel* osgUtil::PlaneIntersector::getEllipsoidModel | ( | ) | const [inline] |
virtual Intersector* osgUtil::PlaneIntersector::clone | ( | osgUtil::IntersectionVisitor & | iv | ) | [virtual] |
Implements osgUtil::Intersector.
virtual bool osgUtil::PlaneIntersector::enter | ( | const osg::Node & | node | ) | [virtual] |
Implements osgUtil::Intersector.
virtual void osgUtil::PlaneIntersector::leave | ( | ) | [virtual] |
Implements osgUtil::Intersector.
virtual void osgUtil::PlaneIntersector::intersect | ( | osgUtil::IntersectionVisitor & | iv, | |
osg::Drawable * | drawable | |||
) | [virtual] |
Implements osgUtil::Intersector.
virtual void osgUtil::PlaneIntersector::reset | ( | ) | [virtual] |
Reimplemented from osgUtil::Intersector.
virtual bool osgUtil::PlaneIntersector::containsIntersections | ( | ) | [inline, virtual] |
Implements osgUtil::Intersector.
PlaneIntersector* osgUtil::PlaneIntersector::_parent [protected] |
bool osgUtil::PlaneIntersector::_recordHeightsAsAttributes [protected] |
osg::Plane osgUtil::PlaneIntersector::_plane [protected] |
osg::Polytope osgUtil::PlaneIntersector::_polytope [protected] |