[vtkusers] retrieving the correct mouse position

Steffen Oeltze Steffen.Oeltze at Student.Uni-Magdeburg.DE
Fri Nov 1 09:25:00 EST 2002


Hello,

I would like to pick a point in an 256x256 image using the mouse.
I use the vtkImageMapper for displaying. I'm able to retrieve the
mouse position in display coordinates but how can I convert this
position into my 256x256 grid ? Any help will be appreciated.

Steffen




More information about the vtkusers mailing list