1 #ifndef POINTINTERSECTOR_H 2 #define POINTINTERSECTOR_H 4 #include <osgUtil/LineSegmentIntersector> 5 #include <osg/Drawable> 7 #include "PolyLineIntersector.h" 21 PointIntersector(CoordinateFrame cf,
const osg::Vec3d& start,
const osg::Vec3d& end);
23 virtual Intersector* clone(osgUtil::IntersectionVisitor &iv);
24 virtual void intersect(osgUtil::IntersectionVisitor& iv, osg::Drawable* drawable);
27 virtual bool isRightPrimitive(
const osg::Geometry* geometry);
30 #endif // POINTINTERSECTOR_H It allows to catch intersections with point OpenGL types. It uses shortest distance between the cast ...
Definition: PointIntersector.h:15
A class that allows to catch intersections with line loops and polyline OpenGL types. It uses shortest distance between the cast ray and the geometry line which is calculated as a distance between skew lines. In addition, it filters out the geometries whose primitive sets are different than line-types.
Definition: PolyLineIntersector.h:13