14#ifndef OSGUTIL_LINESEGMENTINTERSECTOR
15#define OSGUTIL_LINESEGMENTINTERSECTOR 1
Definition IntersectionVisitor:152
Definition IntersectionVisitor:34
IntersectionLimit
Definition IntersectionVisitor:46
@ NO_LIMIT
Definition IntersectionVisitor:47
CoordinateFrame
Definition IntersectionVisitor:38
Definition LineSegmentIntersector:25
Intersections _intersections
Definition LineSegmentIntersector:120
LineSegmentIntersector * _parent
Definition LineSegmentIntersector:115
std::multiset< Intersection > Intersections
Definition LineSegmentIntersector:74
const osg::Vec3d & getStart() const
Definition LineSegmentIntersector:83
void setStart(const osg::Vec3d &start)
Definition LineSegmentIntersector:82
virtual void intersect(osgUtil::IntersectionVisitor &iv, osg::Drawable *drawable)
LineSegmentIntersector(CoordinateFrame cf, const osg::Vec3d &start, const osg::Vec3d &end, LineSegmentIntersector *parent=NULL, osgUtil::Intersector::IntersectionLimit intersectionLimit=osgUtil::Intersector::NO_LIMIT)
Intersection getFirstIntersection()
Definition LineSegmentIntersector:80
void insertIntersection(const Intersection &intersection)
Definition LineSegmentIntersector:76
bool intersects(const osg::BoundingSphere &bs)
virtual bool containsIntersections()
Definition LineSegmentIntersector:103
LineSegmentIntersector(CoordinateFrame cf, double x, double y)
virtual Intersector * clone(osgUtil::IntersectionVisitor &iv)
void setEnd(const osg::Vec3d &end)
Definition LineSegmentIntersector:85
osg::Vec3d _start
Definition LineSegmentIntersector:117
Intersections & getIntersections()
Definition LineSegmentIntersector:78
LineSegmentIntersector(const osg::Vec3d &start, const osg::Vec3d &end)
static osg::Matrix getTransformation(osgUtil::IntersectionVisitor &iv, CoordinateFrame cf)
const osg::Vec3d & getEnd() const
Definition LineSegmentIntersector:86
virtual void intersect(osgUtil::IntersectionVisitor &iv, osg::Drawable *drawable, const osg::Vec3d &s, const osg::Vec3d &e)
virtual bool enter(const osg::Node &node)
bool intersectAndClip(osg::Vec3d &s, osg::Vec3d &e, const osg::BoundingBox &bb)
osg::Vec3d _end
Definition LineSegmentIntersector:118
Definition BoundingBox:34
Definition BoundingSphere:35
static Vec3f transform3x3(const Vec3f &v, const Matrixd &m)
Definition Matrixd:665
static Matrixd inverse(const Matrixd &matrix)
Definition Matrixd:536
bool valid() const
Definition ref_ptr:120
Shader generator framework.
Definition NodeVisitor:25
std::vector< Node * > NodePath
Definition Node:47
#define OSGUTIL_EXPORT
Definition osgUtil/Export:40
#define NULL
Definition osg/Export:55
Definition LineSegmentIntersector:42
osg::Texture * getTextureLookUp(osg::Vec3 &tc) const
osg::Vec3 getWorldIntersectNormal() const
Definition LineSegmentIntersector:66
osg::ref_ptr< osg::RefMatrix > matrix
Definition LineSegmentIntersector:55
const osg::Vec3 & getLocalIntersectNormal() const
Definition LineSegmentIntersector:65
osg::Vec3d localIntersectionPoint
Definition LineSegmentIntersector:56
IndexList indexList
Definition LineSegmentIntersector:58
osg::Vec3d getWorldIntersectPoint() const
Definition LineSegmentIntersector:63
osg::ref_ptr< osg::Drawable > drawable
Definition LineSegmentIntersector:54
RatioList ratioList
Definition LineSegmentIntersector:59
unsigned int primitiveIndex
Definition LineSegmentIntersector:60
double ratio
Definition LineSegmentIntersector:52
osg::Vec3 localIntersectionNormal
Definition LineSegmentIntersector:57
const osg::Vec3d & getLocalIntersectPoint() const
Definition LineSegmentIntersector:62
Intersection()
Definition LineSegmentIntersector:43
std::vector< double > RatioList
Definition LineSegmentIntersector:50
std::vector< unsigned int > IndexList
Definition LineSegmentIntersector:49
osg::NodePath nodePath
Definition LineSegmentIntersector:53