cherish
|
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. More...
#include <PolyLineIntersector.h>
Protected Member Functions | |
virtual bool | isRightPrimitive (const osg::Geometry *geometry) |
Protected Attributes | |
float | m_offset |
std::vector< unsigned int > | m_hitIndices |
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.