[vtkusers] Selection offset from mouse
Eric E. Monson
emonson at cs.duke.edu
Thu Dec 4 14:28:22 EST 2008
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: SelectDrag3.jpg
Type: image/jpeg
Size: 7996 bytes
Desc: not available
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20081204/aa9d19f4/attachment.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: SelectDrag2.jpg
Type: image/jpeg
Size: 7728 bytes
Desc: not available
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20081204/aa9d19f4/attachment-0001.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: SelectDrag1.jpg
Type: image/jpeg
Size: 8330 bytes
Desc: not available
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20081204/aa9d19f4/attachment-0002.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: SelectDrag4.jpg
Type: image/jpeg
Size: 8169 bytes
Desc: not available
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20081204/aa9d19f4/attachment-0003.jpg>
-------------- next part --------------
More information about the vtkusers
mailing list