[vtkusers] Place Point on Actor

alex Dowson alexdowson at hotmail.com
Tue Mar 6 23:53:46 EST 2012


Hi David

That's exactly what I am looking for. thanx for link.


Acutally I want to place point actor and then want to best fit plane of 
those place points . for best fit plane I want to use your vtkBestFitPlane 
class.


alex




-----Original Message----- 
From: David Doria
Sent: Wednesday, March 07, 2012 3:59 AM
To: alex Dowson
Cc: VTK Mailing List
Subject: Re: [vtkusers] Place Point on Actor

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