[vtkusers] Re: picking twice on imageactor? -- CORRECTION
Goodwin Lawlor
goodwin.lawlor at ucd.ie
Mon Oct 4 08:47:24 EDT 2004
Hi Maitland,
This has been a bug in the tcl bindings to vtkTk(ImageViewer/Render)Widget
for a while... see this bug report
http://www.vtk.org/Bug/bug.php?op=show&bugid=637&pos=0. The problem is that
a VTK CharEvent is being fired on each tcl KeyPress and KeyRelease event.
There is a patch in the bug report against
/vtk/wrapping/vtkinteraction/bindings.tcl that corrects the bug. It changes
the behaviour to only fire a CharEvent on a KeyPress.
hth
Goodwin
"Lederer, Maitland" <mlederer at foster-miller.com> wrote in message
news:948A5EDF684ECD4A94C5120EABD66CA903549EE8 at b1srvmail.foster-miller.com...
Hey all-
I'm a big fat liar. vtkPropPicker doesn't do anything when I try to
pick on parts of the space without Props.
My guess is that it's picking the front and back surfaces of the
ImageActor. Is there a way to keep it from doing this?
Thanks,
-m
-----Original Message-----
From: Lederer, Maitland
Sent: Friday, October 01, 2004 12:47 PM
To: vtkusers at vtk.org
Subject: [vtkusers] picking twice on imageactor?
Hey all-
I'm using a vtkPropPicker to pick on some vtkImageActors. The
interesting thing is that when I use the keypress-p to pick, it calls
the proc associated with the pick event (AddPointToPlane) twice,
apparently on two different, but close points. It does this even when I
click on parts of the space that have no props. It does *not* call the
proc twice when i use the vtkPropPicker->Pick command. And yes, I am
really really certain that I'm not hitting the 'p' key twice. :)
vtkPropPicker picker
picker AddObserver PickEvent AddPointToPlane
Any ideas?
Thanks,
-m
**************************
M. Maitland Lederer
Staff Engineer
Foster-Miller, Inc.
(781)684-4618
_______________________________________________
This is the private VTK discussion list.
Please keep messages on-topic. Check the FAQ at:
<http://public.kitware.com/cgi-bin/vtkfaq>
Follow this link to subscribe/unsubscribe:
http://www.vtk.org/mailman/listinfo/vtkusers
_______________________________________________
This is the private VTK discussion list.
Please keep messages on-topic. Check the FAQ at:
<http://public.kitware.com/cgi-bin/vtkfaq>
Follow this link to subscribe/unsubscribe:
http://www.vtk.org/mailman/listinfo/vtkusers
More information about the vtkusers
mailing list