<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7652.24">
<TITLE>Distance between polydata and a point cloud</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/plain format -->

<P><FONT SIZE=2>I'm looking to do two things; first I'd like to measure the average distance between each point in a point cloud, and the polydata surface it is registered to.&nbsp; I used the &nbsp;&nbsp;&nbsp; vtkIterativeClosestPointTransform if that helps at all.&nbsp; The second thing I would like to do is measure the distance between each point in a polydata surface and the nearest point in the point cloud.&nbsp; From reading the user's list archives, I imagine I might use vtkPointLocator or vtkCellLocator, with FindClosestPoint, but I am not sure.<BR>
I also wonder if it would be possible to use that information to color-code the polydata object's surface (like a 'hot' or 'cold' color scale) to better visualize a correlation between points and a surface.<BR>
<BR>
Jason Taclas</FONT>
</P>

</BODY>
</HTML>