<div>win10&osg3..6.4</div><div><br></div><div>BoundingBox bb;<br></div><div>bb._min = osg::vec3d(0,0,0);</div><div>bb._max = osg::vec3d(1000,1000,1000);<br></div><div>Polytope poly;<br></div><div>poly.setToBoundingBox(bb);<br></div><div>//</div><div>osg::ref_ptr<osgUtil::PolytopeIntersector> picker = new osgUtil::PolytopeIntersector(osgUtil::Intersector::VIEW,poly);</div><div>picker->setPrecisionHint(osgUtil::Intersector::USE_DOUBLE_CALCULATIONS);</div><div>picker->setPrimitiveMask(osgUtil::PolytopeIntersector::POINT_PRIMITIVES);</div><div>picker->setIntersectionLimit(osgUtil::Intersector::NO_LIMIT);</div><div>//</div><div>osgUtil::IntersectionVisitor iv(picker);</div><div>_videoFusionNode->accept(iv);//group node of scene </div><div>if (picker->containsIntersections())</div><div>{</div><div> //Can't intersection</div><div>}</div>
<p></p>
-- <br />
You received this message because you are subscribed to the Google Groups "OpenSceneGraph Users" group.<br />
To unsubscribe from this group and stop receiving emails from it, send an email to <a href="mailto:osg-users+unsubscribe@googlegroups.com">osg-users+unsubscribe@googlegroups.com</a>.<br />
To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/osg-users/4938c97f-f77d-4747-8bba-502c8a0ff7c4n%40googlegroups.com?utm_medium=email&utm_source=footer">https://groups.google.com/d/msgid/osg-users/4938c97f-f77d-4747-8bba-502c8a0ff7c4n%40googlegroups.com</a>.<br />