Hi all,
I've started using osgViewer, and to get intersections
I've found these functions:

bool View::computeIntersections(float x,float y, osgUtil::LineSegmentIntersector::Intersections&
intersections,osg::Node::NodeMask traversalMask)

bool View::computeIntersections(float x,float y, osg::NodePath&
nodePath, osgUtil::LineSegmentIntersector::Intersections&
intersections,osg::Node::NodeMask traversalMask)



But i need to get intersections from a given node from the scene, not
the entire graph, as I used to do with osgProducer::Viewer :

bool osgProducer::computeIntersections (float x, float y, osg::Node *node, osgUtil::IntersectVisitor::HitList &hits, osg::Node::NodeMask
traversalMask)

Is there is any way to use a similar function using
osgViewer::View ?

Thanks.


// Miguel Martinez



_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to