[vtkusers] Selection offset from mouse

Jeff Baumes jeff.baumes at kitware.com
Thu Dec 4 15:23:46 EST 2008


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



More information about the vtkusers mailing list