[vtkusers] vtkImagePlaneWidget's picking coordinate to World

Wenlong Wang scc.wwl at gmail.com
Wed Oct 26 05:45:34 EDT 2011


Maybe something is wrong in your pipeline. It happened to me before. You
should check it if there is any access violation or memory issue.

Wenlong

2011/10/26 Jothybasu Selvaraj <jothybasu at gmail.com>

> I tried
>
> this->Renderer->DisplayToWorld();
>
> But it crashes my app!
>
> Jothy
>
>
> On Wed, Oct 26, 2011 at 10:18 AM, Wenlong Wang <scc.wwl at gmail.com> wrote:
>
>> I believe it could be done via vtkRenderer. Here is a simple code clip. It
>> works in my application.
>>
>> vtkRenderer::SetDisplayPoint(pd);
>> vtkRenderer::DisplayToWorld();
>> vtkRenderer::GetWorldPoint(pw);
>>
>> Wenlong
>>
>> 2011/10/26 Jothybasu Selvaraj <jothybasu at gmail.com>
>>
>>>  Hi all,
>>>
>>> How to set the coordinates displayed in the vtkImagePlanWidget to world.
>>> By default it shows in display coordinates.
>>>
>>> Thanks
>>>
>>> Jothy
>>>
>>>
>>>
>>>
>>> _______________________________________________
>>> 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
>>>
>>>
>>
>
>
> --
> Jothybasu K Selvaraj
> PhD Student
> University of Liverpool
> Liverpool,UK
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20111026/a53071d5/attachment.htm>


More information about the vtkusers mailing list