[vtkusers] picking twice on imageactor? -- CORRECTION

Lederer, Maitland mlederer at foster-miller.com
Fri Oct 1 12:59:12 EDT 2004


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



More information about the vtkusers mailing list