Recently when I was working on mouse click projection coordinates I noticed that behavior too . What I did was set up a ClippingRange initially . Whenever I move my camera or some such event that changes the screen, I set the ClippingRange again to the value set before . It works fine after that . <br>
<br>Having said that , the example given on the Wiki seems to work fine . I wonder where the real problem lies<br><br><div class="gmail_quote">On Tue, Apr 13, 2010 at 10:03 AM, Jothybasu K Selvaraj <span dir="ltr"><<a href="mailto:jothybasu@gmail.com">jothybasu@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div dir="ltr">Hi all,<br><br>I am using a ImageTracerWidget to draw over a vtkImageData rendered using vtkImageViewer2. I have that embeded in a MDI are of a Qt widget.When I draw in normal size of the MDI subwindow it works well, but if I maximize it and draw the the mouse cursor is shown far from the active pixel. Its same when I use vtkDistancewidget and vtkAngleWidget.<br>
<br>please see the screenshot attached.<br><br>Any hints?<br><br>Thanks,<br><br>Jothy<br></div>
<br>_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
<br></blockquote></div><br>