[vtkusers] vtkImagePlaneWidget's picking coordinate to World
Jothybasu Selvaraj
jothybasu at gmail.com
Wed Oct 26 05:42:52 EDT 2011
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/1d10fcc1/attachment.htm>
More information about the vtkusers
mailing list