[vtkusers] Place Point on Actor

David Doria daviddoria at gmail.com
Tue Mar 6 17:29:50 EST 2012


On Tue, Mar 6, 2012 at 7:28 AM, alex Dowson <alexdowson at hotmail.com> wrote:
> Hi
>
> Thank David. I will give a try this code. Actually I looked this code before
> in your github but didn't get idea.
>
> I was actually trying with vtkPolygonalSurfacePointPlacer but it seems
> something different usage .
>
> I will try and let you know.
>
> alex

Yes, the vtkPointPicker will only select points that are vertices of
the mesh. If you want to pick a point internal to one of the polygons,
you'll have to use another picker, like this one (vtkPropPicker)
http://www.vtk.org/Wiki/VTK/Examples/Cxx/Interaction/Picking

David



More information about the vtkusers mailing list