[vtkusers] Screen to Normalized Viewport
Karthik Krishnan
karthik.krishnan at kitware.com
Tue Oct 26 12:00:39 EDT 2010
renderer->DisplayToNormalizedDisplay(x,y);
renderer->NormalizedDisplayToViewport(x,y);
renderer->ViewportToNormalizedViewport(x,y);
On Tue, Oct 26, 2010 at 9:22 PM, Leonardo M. Ramé <l.rame at griensu.com> wrote:
> Hi, I'm drawing with QT over a QVTKWidget and would like to translate
> screen coordinates to the normalized viewport.
>
> How can I do that?
>
> --
> Leonardo M. Ramé
> http://leonardorame.blogspot.com
> _______________________________________________
> 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
>
More information about the vtkusers
mailing list