I'm able to pick from the vtkImagePlaneWidget correctly, but I'm actually creating a separate vtkImageActor in a different rendering window. I'd like to pick from the resliced output that I'm displaying in the new renderer.<br>
<br><br><div class="gmail_quote">On Tue, Jun 23, 2009 at 12:07 PM, Rafael <span dir="ltr"><<a href="mailto:rafaeldeleao@gmail.com">rafaeldeleao@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi<br>
I have the same question and it works fine for me.<br>
<br>
vtkCellPicker* picker = vtkCellPicker::New();<br>
picker->SetTolerance(0.005);<br>
vtkImagePlaneWidget* planeWidgetX = vtkImagePlaneWidget::New();<br>
planeWidgetX->SetPicker(picker);<br> ...<br><br>
<br>Rafael<br><br><div class="gmail_quote"><div><div></div><div class="h5">On Mon, Jun 22, 2009 at 4:32 PM, Greg Book <span dir="ltr"><<a href="mailto:gbook@gbook.org" target="_blank">gbook@gbook.org</a>></span> wrote:<br>
</div></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><div></div><div class="h5">
I'm manipulating a 3D volume using the vtkImagePlaneWidgets and am displaying the resliced output as a separate image. It seems if I do picking the new image, it doesn't correctly pick points based on the original 3D coordinates, instead it uses the new 2D coordinates.<br>
How can I pick 3D points from a 2D resliced image?<br><font color="#888888">-Greg<br>
</font><br></div></div>_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
<br></blockquote></div><font color="#888888"><br><br clear="all"><br>-- <br>Rafael de Leão Bandeira<br>Universidade Federal de Pelotas - UFPel<br>Grupo de Computação Gráfica e Processamento de Imagens - GComGPI<br>Bacharelado em Ciência da Computação - 5º semestre<br>
</font></blockquote></div><br>