I don't see an easy way to do that. To make it happen you would have to make a change where vtkImagePlaneWidget calls this->PlanePicker->GetPath(). The change would do something like<br>call this->PlanePicker->GetActors() and GetPickedPositions() and then do something more inteligent to decide what prop is nearest for the pick.
<br><br><div><span class="gmail_quote">On 3/23/07, <b class="gmail_sendername">Mark Wyszomierski</b> <<a href="mailto:markww@gmail.com">markww@gmail.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi,<br><br>I'm using vtkImagePlaneWidget. It works great. I know this is an<br>"intended feature, and not a bug", but is there anyway to turn off the<br>feature where the back-most widget will get picked even if there are
<br>other widgets in front of them?<br><br>I have three image plane widgets, and I always end up grabbing the<br>back most one when they're all stacked on top of eachother.<br><br>Is there a way to turn that off, and just have the first one
<br>intersected be selected?<br><br>Thanks,<br>Mark<br>_______________________________________________<br>This is the private VTK discussion list.<br>Please keep messages on-topic. Check the FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ">
http://www.vtk.org/Wiki/VTK_FAQ</a><br>Follow this link to subscribe/unsubscribe:<br><a href="http://www.vtk.org/mailman/listinfo/vtkusers">http://www.vtk.org/mailman/listinfo/vtkusers</a><br></blockquote></div><br>