[vtkusers] How to pick the real coords of an image

Sylvie RIGOT beromuald at wanadoo.fr
Fri Apr 25 06:38:36 EDT 2008


Hi all,

I have to display an image with vtk and when the user click on this image,
I have to pick the coordinate of the click.
But when the image is displayed, its size is modified by a reduction factor to fit in the window (same problem with zoom).
Have you any idea how I can pick the real coordinates of the click on the image?

Thanks for answers,
Bye
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20080425/42b1023d/attachment.htm>


More information about the vtkusers mailing list