[vtkusers] Selection offset from mouse

Jeff Baumes jeff.baumes at kitware.com
Mon Dec 8 13:03:11 EST 2008


I agree that this should be fixed. Please file a bug in the tracker at

http://public.kitware.com/Bug

Thanks,
Jeff

On Thu, Dec 4, 2008 at 3:35 PM, Eric E. Monson <emonson at cs.duke.edu> wrote:
> Hey Jeff,
>
> Yeah, I have a feeling you're right, but I was still hoping someone had some
> ideas since it's easier for me to develop algorithms within a simple Carbon
> window before moving code to a more complete app with "real" windows.
>
> Plus, if it's really something everyone else using Carbon sees, too, then it
> makes it more difficult for all of us beginners to run and play with the
> example scripts.
>
> Thanks,
> -Eric
>
>
> On Dec 4, 2008, at 3:23 PM, Jeff Baumes wrote:
>
>> This is likely a problem specific to Carbon. The issue may disappear
>> if you put the render window inside a "real" window (e.g. a Tk
>> window), instead of just showing the render window directly.
>>
>> Jeff
>>
>> On Thu, Dec 4, 2008 at 2:28 PM, Eric E. Monson <emonson at cs.duke.edu>
>> wrote:
>>>
>>> Hello,
>>>
>>> I'm noticing a strange problem where selections in a vtkRenderWindow are
>>> offset from the mouse position. (OS X 10.5.5 Carbon and CVS VTK -- don't
>>> see
>>> it with OverView or ParaView.)  I notice this most with the Infovis graph
>>> view examples because a rubber-band selection mode is part of the default
>>> interactor, but I can also see this in examples like
>>> Annotation/Tcl/annotatePick.tcl
>>>
>>> The selection is offset from the mouse by the same amount as the render
>>> window upper left corner is offset from the upper left corner of the
>>> screen
>>> area (right below the menu bar). Here are four screen shots where you
>>> can't
>>> see the cursor, but I have dragged the mouse over the _same_ are of the
>>> window -- I started my selection in the upper left corner of the render
>>> window and dragged to the black dot near the center. Notice how the
>>> selection rectangle is offset differently depending on where the window
>>> is
>>> placed before I do the selection...
>>>
>>> Anybody else ever see this? Any ideas?
>>>
>>> Thanks,
>>> -Eric
>>>
>>> ------------------------------------------------------
>>> Eric E Monson
>>> Duke Visualization Technology Group
>>>
>>>
>>>
>>>
>>> _______________________________________________
>>> This is the private VTK discussion list.
>>> Please keep messages on-topic. Check the FAQ at:
>>> http://www.vtk.org/Wiki/VTK_FAQ
>>> Follow this link to subscribe/unsubscribe:
>>> http://www.vtk.org/mailman/listinfo/vtkusers
>>>
>>>
>>
>>
>>
>> --
>> Jeff Baumes, Ph.D.
>> R&D Engineer, Kitware Inc.
>> (518) 371-3971 x132
>> jeff.baumes at kitware.com
>
>



-- 
Jeff Baumes, Ph.D.
R&D Engineer, Kitware Inc.
(518) 371-3971 x132
jeff.baumes at kitware.com



More information about the vtkusers mailing list