have you gotten this to work? I'm having trouble on a similar project; I am also using vtkIterativeClosestPoint to register a point cloud to a surface, and I also need to make distance measurements. If it matters at all, my surface was created with vtkMarchingCubes. I used vtkMaskPoints with GenerateVerticesOn to get to vertices, is this what you did?<br>
<br><div class="gmail_quote">On Feb 15, 2008 9:21 AM, Steffen Oeltze <<a href="mailto:stoeltze@isg.cs.uni-magdeburg.de">stoeltze@isg.cs.uni-magdeburg.de</a>> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Thanks a lot for the hint! I'm using vtkCellLocator now to determine the<br>closest point on a surface for a given position in 3D.<br><br>Steffen<br><br><a href="mailto:cedric.schwartz@enst-bretagne.fr">cedric.schwartz@enst-bretagne.fr</a> schrieb:<br>
<div><div></div><div class="Wj3C7c">> Hi,<br>> As far as I know you can't have the distance information with the ICP<br>> transform. Maybe you should try vtkPointLocator or vtkKdTree in order to<br>> obtain the distance measure.<br>
> Cedric<br>><br>> _______________________________________________<br>> This is the private VTK discussion list.Please keep messages on-topic.<br>> Check the FAQ at: <a 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 href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>><br>><br><br><br>_______________________________________________<br>
This is the private VTK discussion list.<br>Please keep messages on-topic. Check the FAQ at: <a 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 href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br></div></div></blockquote></div><br>