[vtkusers] vtkImagePlaneWidget's picking coordinate to World

Wenlong Wang scc.wwl at gmail.com
Wed Oct 26 05:18:17 EDT 2011


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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20111026/63b02570/attachment.htm>


More information about the vtkusers mailing list