14#ifndef OSGUTIL_RAYINTERSECTOR
15#define OSGUTIL_RAYINTERSECTOR 1
Definition IntersectionVisitor:152
Definition IntersectionVisitor:34
IntersectionLimit
Definition IntersectionVisitor:46
@ NO_LIMIT
Definition IntersectionVisitor:47
CoordinateFrame
Definition IntersectionVisitor:38
Definition RayIntersector:33
RayIntersector(const osg::Vec3d &start, const osg::Vec3d &direction)
virtual void setStart(const osg::Vec3d &start)
Definition RayIntersector:92
virtual bool enter(const osg::Node &node)
bool intersectAndClip(osg::Vec3d &s, const osg::Vec3d &d, osg::Vec3d &e, const osg::BoundingBox &bb)
const osg::Vec3d & getDirection() const
Definition RayIntersector:96
osg::Vec3d _start
Definition RayIntersector:119
Intersection getFirstIntersection()
Definition RayIntersector:90
osg::Vec3d _direction
Definition RayIntersector:120
virtual void setDirection(const osg::Vec3d &dir)
Definition RayIntersector:95
Intersections _intersections
Definition RayIntersector:122
RayIntersector * _parent
Definition RayIntersector:117
void insertIntersection(const Intersection &intersection)
Definition RayIntersector:88
RayIntersector(CoordinateFrame cf, double x, double y)
RayIntersector(CoordinateFrame cf=MODEL, RayIntersector *parent=NULL, osgUtil::Intersector::IntersectionLimit intersectionLimit=osgUtil::Intersector::NO_LIMIT)
RayIntersector(CoordinateFrame cf, const osg::Vec3d &start, const osg::Vec3d &direction, RayIntersector *parent=NULL, osgUtil::Intersector::IntersectionLimit intersectionLimit=osgUtil::Intersector::NO_LIMIT)
std::multiset< Intersection > Intersections
Definition RayIntersector:86
virtual Intersector * clone(osgUtil::IntersectionVisitor &iv)
virtual void intersect(osgUtil::IntersectionVisitor &iv, osg::Drawable *drawable)
Intersections & getIntersections()
Definition RayIntersector:89
virtual bool containsIntersections()
Definition RayIntersector:110
virtual bool intersects(const osg::BoundingSphere &bs)
const osg::Vec3d & getStart() const
Definition RayIntersector:93
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 RayIntersector:56
osg::ref_ptr< osg::RefMatrix > matrix
Definition RayIntersector:67
osg::Vec3d getWorldIntersectPoint() const
Definition RayIntersector:75
std::vector< double > RatioList
Definition RayIntersector:62
double distance
Definition RayIntersector:64
osg::Vec3d localIntersectionPoint
Definition RayIntersector:68
RatioList ratioList
Definition RayIntersector:71
osg::NodePath nodePath
Definition RayIntersector:65
const osg::Vec3 & getLocalIntersectNormal() const
Definition RayIntersector:77
IndexList indexList
Definition RayIntersector:70
osg::Texture * getTextureLookUp(osg::Vec3 &tc) const
osg::ref_ptr< osg::Drawable > drawable
Definition RayIntersector:66
osg::Vec3 getWorldIntersectNormal() const
Definition RayIntersector:78
const osg::Vec3d & getLocalIntersectPoint() const
Definition RayIntersector:74
std::vector< unsigned int > IndexList
Definition RayIntersector:61
unsigned int primitiveIndex
Definition RayIntersector:72
osg::Vec3 localIntersectionNormal
Definition RayIntersector:69
Intersection()
Definition RayIntersector:57