Re: [wxVTK] screen coordinates to world coordinates
Brought to you by:
malat
From: Andres M. <mun...@gm...> - 2006-08-09 00:12:25
|
Hi Mathieu, I'm using the interactor->GetLastEventPosition(&event_x, &event_y); =20 method. event_x and event_y are both integers. Am I using the wrong method? Regards and thank you, Andr=E9s E. Mun=E1rriz Soto On 07/08/2006, at 4:56PM, Mathieu Malaterre wrote: > On 8/7/06, Andres Munarriz <mun...@gm...> wrote: >> Hi everyone, >> >> Has someone come across the need of converting screen "display" >> corrdinates (ie. wxEvent ._x, ._y) to VTK world coordinates? I've >> read about a get event method in the VTKRenderWindowInteractor but >> wxVTKRenderWindowInteractor doesn't seem to support this method. If >> someone can help it'll be greatly appreciated. > > wxVTKRenderWindowInteractor derives from vtkRenderWindowInteractor so > you should be able to achieve the exact same thing. Could indicate > which methods you are trying to use ? > > Thanks > Mathieu |