[vtkusers] GetMousePosition always gives (0,0)

polys_poly at hotmail.com polys_poly at hotmail.com
Fri May 9 19:37:47 EDT 2008


Hello,

I am writing an application with MFC GUI and simply using 

vtkRenderWindowInteractor* m_pIren = vtkRenderWindowInteractor::New;

.
.
.
.

int mouseX, mouseY; 
m_pIren->GetMousePosition(&mouseX, &mouseY);

and still the coordinates i get are both 0.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20080510/59d8690f/attachment.htm>


More information about the vtkusers mailing list