<p dir="ltr">Hi Marco,<br>
Thanks for the info, I think that&#39;s just what I need. I can exclude one of the surfaces using the linear extrusion filter to ensure overlap and probe it with the other surface.</p>
<p dir="ltr">Seth</p>
<p dir="ltr">On May 18, 2013 5:22 AM, &quot;Marco Nawijn&quot; &lt;<a href="mailto:nawijn@gmail.com">nawijn@gmail.com</a>&gt; wrote:<br>
&gt;<br>
&gt; Hi Seth,<br>
&gt;<br>
&gt; Are you aware of the vtkProbeFilter? You could use the points of one<br>
&gt; mesh (the input mesh) and compute the value from the other mesh <br>
&gt; at the locations of the input mesh. See documentation string below.<br>
&gt;<br>
&gt; Regards,<br>
&gt;<br>
&gt; Marco<br>
&gt;<br>
&gt;<br>
&gt; Source: Python doc-string for vtkProbeFilter<br>
&gt;<br>
&gt; vtkProbeFilter is a filter that computes point attributes (e.g.,<br>
&gt; scalars, vectors, etc.) at specified point positions. The filter has<br>
&gt; two inputs: the Input and Source. The Input geometric structure is<br>
&gt; passed through the filter. The point attributes are computed at the<br>
&gt; Input point positions by interpolating into the source data. For<br>
&gt; example, we can compute data values on a plane (plane specified as<br>
&gt; Input) from a volume (Source). The cell data of the source data is<br>
&gt; copied to the output based on in which source cell each input point<br>
&gt; is. If an array of the same name exists both in source&#39;s point and<br>
&gt; cell data, only the one from the point data is probed.<br>
&gt;<br>
&gt; This filter can be used to resample data, or convert one dataset form<br>
&gt; into another. For example, an unstructured grid (vtkUnstructuredGrid)<br>
&gt; can be probed with a volume (three-dimensional vtkImageData), and<br>
&gt; then volume rendering techniques can be used to visualize the<br>
&gt; results. Another example: a line or curve can be used to probe data<br>
&gt; to produce x-y plots along that line or curve.<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; On Fri, May 17, 2013 at 11:48 PM, Seth Gilchrist &lt;<a href="mailto:seth@mech.ubc.ca">seth@mech.ubc.ca</a>&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt; Hello,<br>
&gt;&gt; I&#39;m trying to compare data on two meshes that are close to matching, but don&#39;t quite match.<br>
&gt;&gt;<br>
&gt;&gt; The meshes are the surface of a bone with scalar data representing physical strain observed at a given point. The bones were measured twice under different conditions, and the two extracted surfaces are similar, but not identical.<br>

&gt;&gt;<br>
&gt;&gt; I have used ICP to align the meshes, but can&#39;t figure out a way to compare the data between the two meshes. One way would be to project the data from each mesh onto a plane image, or better to warp one mesh to the other and interpolate the data, but I can&#39;t figure that out either.<br>

&gt;&gt;<br>
&gt;&gt; So that you can see what I&#39;m working with I&#39;ve uploaded the meshes in vtp format to<br>
&gt;&gt; <a href="https://share.cfri.ca/?u=SN7q&amp;p=9fAJ">https://share.cfri.ca/?u=SN7q&amp;p=9fAJ</a><br>
&gt;&gt;<br>
&gt;&gt; Any ideas would be much appreciated. I want to compare the strain in the meshes on a point by point basis.<br>
&gt;&gt;<br>
&gt;&gt; Thanks for your time and ideas,<br>
&gt;&gt; Seth<br>
&gt;&gt;<br>
&gt;&gt; _______________________________________________<br>
&gt;&gt; Powered by <a href="http://www.kitware.com">www.kitware.com</a><br>
&gt;&gt;<br>
&gt;&gt; Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html">http://www.kitware.com/opensource/opensource.html</a><br>
&gt;&gt;<br>
&gt;&gt; Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
&gt;&gt;<br>
&gt;&gt; Follow this link to subscribe/unsubscribe:<br>
&gt;&gt; <a href="http://www.vtk.org/mailman/listinfo/vtkusers">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
&gt;&gt;<br>
&gt;<br>
</p>