[vtkusers] How to bring an object to the coordinate's origin

David Doria daviddoria at gmail.com
Thu Mar 24 08:23:50 EDT 2011


On Thu, Mar 24, 2011 at 8:22 AM, Nuno Fernandes
<nunofernandes7 at gmail.com> wrote:
> Hi David, thank you!
> What I meant to say was that I have a polyData (input.vtk) and I want to
> translate the object in the polyData to the centre of coordinates.
> This is to  use with ICP so it can have a good initial approximation...
> Because, as the object is not centred, each time I rotate it, the rotation
> is not according to the coordinates' centre as I need.

Please keep the discussion on the mailing list so that everyone can help.

ICP has a flag SetStartByMatchingCentroids that you can use to do this
automatically. Is this what you're looking for?

David



More information about the vtkusers mailing list