Use either vtkPointPicker or vtkVisibleCellSelector's new vertex selection mode to find the vertex. Then access the point and cell data arrays to get the information for that vertex.<br><br>cheers<br>Dave DeMarle<br><br>
<br><div><span class="gmail_quote">On 9/28/07, <b class="gmail_sendername">Giff</b> <<a href="mailto:zibalmail@gmail.com">zibalmail@gmail.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hello,<br><br>could you suggest the easiest way to retrieve the information about a single vertex in a vtkPolyData? I would like to be able to click close to a vertex and get as output the vertex ID and 3D position.<br><br>
Thanks a lot in advance.<br><br>
<br>_______________________________________________<br>This is the private VTK discussion list.<br>Please keep messages on-topic. Check the FAQ at: <a onclick="return top.js.OpenExtLink(window,event,this)" href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">
http://www.vtk.org/Wiki/VTK_FAQ</a><br>Follow this link to subscribe/unsubscribe:<br><a onclick="return top.js.OpenExtLink(window,event,this)" href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers
</a><br><br></blockquote></div><br>