<p dir="ltr">Hi Marco,<br>
Thanks for the info, I think that'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, "Marco Nawijn" <<a href="mailto:nawijn@gmail.com">nawijn@gmail.com</a>> wrote:<br>
><br>
> Hi Seth,<br>
><br>
> Are you aware of the vtkProbeFilter? You could use the points of one<br>
> mesh (the input mesh) and compute the value from the other mesh <br>
> at the locations of the input mesh. See documentation string below.<br>
><br>
> Regards,<br>
><br>
> Marco<br>
><br>
><br>
> Source: Python doc-string for vtkProbeFilter<br>
><br>
> vtkProbeFilter is a filter that computes point attributes (e.g.,<br>
> scalars, vectors, etc.) at specified point positions. The filter has<br>
> two inputs: the Input and Source. The Input geometric structure is<br>
> passed through the filter. The point attributes are computed at the<br>
> Input point positions by interpolating into the source data. For<br>
> example, we can compute data values on a plane (plane specified as<br>
> Input) from a volume (Source). The cell data of the source data is<br>
> copied to the output based on in which source cell each input point<br>
> is. If an array of the same name exists both in source's point and<br>
> cell data, only the one from the point data is probed.<br>
><br>
> This filter can be used to resample data, or convert one dataset form<br>
> into another. For example, an unstructured grid (vtkUnstructuredGrid)<br>
> can be probed with a volume (three-dimensional vtkImageData), and<br>
> then volume rendering techniques can be used to visualize the<br>
> results. Another example: a line or curve can be used to probe data<br>
> to produce x-y plots along that line or curve.<br>
><br>
><br>
><br>
> On Fri, May 17, 2013 at 11:48 PM, Seth Gilchrist <<a href="mailto:seth@mech.ubc.ca">seth@mech.ubc.ca</a>> wrote:<br>
>><br>
>> Hello,<br>
>> I'm trying to compare data on two meshes that are close to matching, but don't quite match.<br>
>><br>
>> 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>
>><br>
>> I have used ICP to align the meshes, but can'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't figure that out either.<br>
>><br>
>> So that you can see what I'm working with I've uploaded the meshes in vtp format to<br>
>> <a href="https://share.cfri.ca/?u=SN7q&p=9fAJ">https://share.cfri.ca/?u=SN7q&p=9fAJ</a><br>
>><br>
>> Any ideas would be much appreciated. I want to compare the strain in the meshes on a point by point basis.<br>
>><br>
>> Thanks for your time and ideas,<br>
>> Seth<br>
>><br>
>> _______________________________________________<br>
>> Powered by <a href="http://www.kitware.com">www.kitware.com</a><br>
>><br>
>> 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>
>><br>
>> 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>
>><br>
>> Follow this link to subscribe/unsubscribe:<br>
>> <a href="http://www.vtk.org/mailman/listinfo/vtkusers">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
>><br>
><br>
</p>