[vtkusers] picking from resliced output

Greg Book gbook at gbook.org
Thu Jun 25 14:39:29 EDT 2009


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.


On Tue, Jun 23, 2009 at 12:07 PM, Rafael <rafaeldeleao at gmail.com> wrote:

> 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/20090625/25fd4ab6/attachment.htm>


More information about the vtkusers mailing list