[vtkusers] How to use GetMousePosition??`
Amy Henderson
amy.henderson at kitware.com
Tue Mar 2 09:53:57 EST 2004
At 11:48 PM 3/1/2004, Dimitris Andritsos wrote:
>Hello All,
>
>I have been trying to use the vtkRenderWindowInteractor's
>GetMousePosition() function but I haven't succeeded in that. It seems that
>it is returning only the value 0 for both x and y. I checked previous
>postings and there were some mails about that but I couldn't find any
>answers. Is there something that I have to update?
The GetMousePosition method only works under X because its real
implementation is in vtkXRenderWindowInteractor. Try using
vtkRenderWindowInteractor::GetEventPosition() instead.
- Amy
>Thank you in advance for your help.
>Dimitris
>
>_________________________________________________________________
>STOP MORE SPAM with the new MSN 8 and get 2 months FREE*
>http://join.msn.com/?page=features/junkmail
>
>_______________________________________________
>This is the private VTK discussion list. Please keep messages on-topic.
>Check the FAQ at: <http://public.kitware.com/cgi-bin/vtkfaq>
>Follow this link to subscribe/unsubscribe:
>http://www.vtk.org/mailman/listinfo/vtkusers
More information about the vtkusers
mailing list