<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2600.0" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Hello all!</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>&nbsp;&nbsp;&nbsp; My goal is to get an image x,y 
coordinates by clicking on the left mouse button. I have this code for instance 
:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>int *position;</FONT></DIV>
<DIV><FONT face=Arial 
size=2>position=my_vtkRenderWindowInteractor-&gt;GetEventPosition();</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>position[0] and position[1] contain the x,y 
coordinates but, when I click using the left mouse button, the initial 
interactor make an image rotation...</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>&nbsp;&nbsp;&nbsp; How could I block this rotation 
?&nbsp;I would want that nothing happens when I click on the left mouse button. 
In this way, I can get mouse position when clicking without disturbing the 
image.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>&nbsp;&nbsp;&nbsp; And a second question : this 
method gives the real pixel coordinates of the vtkRenderWindow. Is there any 
method to get direct vtkImageData pixel coordinates (which are not the 
same&nbsp;as render window's :&nbsp;it depends on the image spacing and the 
space between the window bondaries and the renderer...&nbsp;)???</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Thanks by advance,</FONT></DIV><FONT face=Arial 
size=2>
<DIV><BR>Matei </DIV>
<DIV>&nbsp;</DIV>
<DIV></FONT>&nbsp;</DIV></BODY></HTML>