<div class="gmail_quote">On Mon, Nov 28, 2011 at 9:28 AM, Adam Stylinski <span dir="ltr"><<a href="mailto:stylinae@mail.uc.edu">stylinae@mail.uc.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hello,<div><br></div><div>I'm using the QT bindings for VTK and am trying to write a callback for click events. The interaction with the RenderWindow seems to operate properly when moving the camera around, however when I use the GetMousePosition() function in my callback, it always reports the mouse position as (0,0). I'm having it draw spheres at the location in the callback, and it seems to draw it in the bottom leftmost corner of the widget each time, confirming this problem. Is there some sort of focus issue going on? How do I fix this?</div>
</blockquote></div><br><div>Oh I should probably also note that I'm using a pointpicker for the events.</div>