[vtkusers] Cursor position far from active pixel

Jothybasu K Selvaraj jothybasu at gmail.com
Wed Apr 14 06:07:03 EDT 2010


Tried this, but the problem is not solved.

Seems to be more of a Qt problem, when the widget is resized something
strange is happening.

Let me see, can I update the widget when I maximize it.

Has anyone come across such issue with MFC or any other GUIs.

Thanks,

Jothy

On Tue, Apr 13, 2010 at 11:23 PM, Darshan Pai <darshanpai at gmail.com> wrote:

> 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 .
>
> Having said that , the example given on the Wiki seems to work fine . I
> wonder where the real problem lies
>
> On Tue, Apr 13, 2010 at 10:03 AM, Jothybasu K Selvaraj <
> jothybasu at gmail.com> wrote:
>
>> Hi all,
>>
>> 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.
>>
>> please see the screenshot attached.
>>
>> Any hints?
>>
>> Thanks,
>>
>> Jothy
>>
>> _______________________________________________
>> Powered by www.kitware.com
>>
>> Visit other Kitware open-source projects at
>> http://www.kitware.com/opensource/opensource.html
>>
>> Please keep messages on-topic and check the VTK FAQ at:
>> http://www.vtk.org/Wiki/VTK_FAQ
>>
>> Follow this link to subscribe/unsubscribe:
>> http://www.vtk.org/mailman/listinfo/vtkusers
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20100414/449ae529/attachment.htm>


More information about the vtkusers mailing list