[vtkusers] query the coordinates of a point on a 3D surface wth mouse click

David Gobbi david.gobbi at gmail.com
Tue Jan 12 18:47:09 EST 2016


On Tue, Jan 12, 2016 at 4:24 PM, newcfd via vtkusers <vtkusers at vtk.org>
wrote:

> is it possible to get the coordinates of a point on a 3D surface with mouse
> click?
> vtkPointPicker seems to find the nearest vertex.
>

Use vtkCellPicker.  Also, since you are posting a fair bit, can you use a
name or
some kind of close-off on your messages?  So that I know who I am replying
to.

Cheers,
 - David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20160112/8c124996/attachment.html>


More information about the vtkusers mailing list