[vtkusers] picking and displaying data points

Amy Henderson amy.henderson at kitware.com
Fri Nov 2 09:11:23 EST 2001


If you use vtkPointPicker, you can call GetPointId to get the id of the 
picked point in your data set.  You can then call GetPoint on your data set 
(passing in the point id) to get the coordinates of the point you picked.

- Amy

At 07:57 AM 11/2/2001 -0600, Gopalakrishnan, Gowri wrote:
>Hi
>
>i pass (x,y,Z) coordinates and render it and then I add glyph3d to put
>points on it which correspond to
>data points. If I use vtkpointpicker->GetPosition it gives me coordiantes in
>global coord and if i use
>vtkworkpointpicker it gives me coordinates in world coord. But none of them
>are my point position
>(the world one is closer to mine)
>If i click on the glyphpoint and to get my exact data point what should i
>do?
>Thanks for any help
>
>Regards
>Gowri
>
>_______________________________________________
>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://public.kitware.com/mailman/listinfo/vtkusers




More information about the vtkusers mailing list