Antwort: vtkPointPicker
Patric.Weis at mycrona.de
Patric.Weis at mycrona.de
Wed Apr 19 05:31:55 EDT 2000
Hi Sarah,
you can find sample code in .../graphics/examplesCxx/pickCells.cxx.
Good luck!
Patric Weis
MYCRONA GmbH
- - - Original Message - - -
Sarah Graham
<sarah at cs.jhu.edu> An: vtkusers at public.kitware.com
Gesendet von: Kopie:
owner-vtkusers at public.k Thema: vtkPointPicker
itware.com
18.04.00 19:04
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.
--------------------------------------------------------------------
--------------------------------------------------------------------
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