[vtkusers] picking from resliced output

Rafael rafaeldeleao at gmail.com
Tue Jun 23 12:07:53 EDT 2009


Hi
I have the same question and it works fine for me.

vtkCellPicker* picker = vtkCellPicker::New();
        picker->SetTolerance(0.005);
vtkImagePlaneWidget* planeWidgetX = vtkImagePlaneWidget::New();
        planeWidgetX->SetPicker(picker);
        ...


Rafael

On Mon, Jun 22, 2009 at 4:32 PM, Greg Book <gbook at gbook.org> wrote:

> 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.
> How can I pick 3D points from a 2D resliced image?
> -Greg
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the VTK FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>
>


-- 
Rafael de Leão Bandeira
Universidade Federal de Pelotas - UFPel
Grupo de Computação Gráfica e Processamento de Imagens - GComGPI
Bacharelado em Ciência da Computação - 5º semestre
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20090623/1900079f/attachment.htm>


More information about the vtkusers mailing list