vtkPointPicker

Sarah Graham sarah at cs.jhu.edu
Tue Apr 18 13:04:18 EDT 2000


I am trying to use vtkPointPicker to select points on a given actor.  I am
confused as to what initialization steps are necessary to use
vtkPointPicker.

I do the following:
	create an instance picker of vtkPointPicker
	add picker to the renderWindowInteractor using iren->SetPicker()
	and then try to do picker->GetPointId() which returns -1.

What am I missing?  Is there some sample code somewhere to do this?

Thanks,
-Sarah

------------------------
Sarah Graham
Johns Hopkins University
sarah at cs.jhu.edu
http://www.sarahgraham.org


--------------------------------------------------------------------
This is the private VTK discussion list. Please keep messages on-topic.
Check the FAQ at: <http://public.kitware.com/cgi-bin/vtkfaq>
To UNSUBSCRIBE, send message body containing "unsubscribe vtkusers" to
<majordomo at public.kitware.com>. For help, send message body containing
"info vtkusers" to the same address.
--------------------------------------------------------------------



More information about the vtkusers mailing list