[Paraview] Calculating the distance between two surfaces as a function of time during large deformation process
Biddiscombe, John A.
biddisco at cscs.ch
Wed Dec 24 03:18:08 EST 2014
Cory
Thanks for pointing that out, I was not aware of that filter. (Main
difference in the approaches looks like "signed distance from each point
in the first polydata to the closest point on the second polydata” whereas
the ray method would do an intersection).
Merry Christmas
JB
On 24/12/14 04:31, "Cory Quammen" <cory.quammen at kitware.com> wrote:
>Hi Alan,
>
>There is a filter in VTK called vtkDistancePolyDataFilter. It takes
>two polydata as inputs and produces up two two outputs, each with an
>the (optionally) signed distance from each point in the first polydata
>to the closest point on the second polydata. If the polydata inputs
>overlap and the signed distance is requested, the distance may be
>negative, which means that the point at which the distance is computed
>is inside the other polydata.
>
>Attached is a ParaView 4.2 state file with a Programmable Filter that
>exposes the vtkDistancePolyDataFilter. It could also be exposed as an
>XML plugin.
>
>Cheers,
>Cory
>
>On Tue, Dec 23, 2014 at 6:20 PM, Biddiscombe, John A. <biddisco at cscs.ch>
>wrote:
>> The way I did this was to use one surface as a “source” - fire rays from
>> this surface along the surface normal until they hit the “target” and
>> return the distance. Then use the distances for every source node as a
>>new
>> field which is output. One requires ideally a source mesh with quite
>>dense
>> points to get a good sampling.
>>
>> JB
>>
>> On 23/12/14 21:02, "Scott, W Alan" <wascott at sandia.gov> wrote:
>>
>>>I have a user that asked the following question. Any ideas how to do
>>>this?
>>>
>>>Thanks,
>>>
>>>Alan
>>>
>>>
>>>Greetings,
>>>
>>>I need to quantify the distance between two curved and deforming
>>>surfaces
>>>(large deformation mechanical analysis) as a function of time in batch
>>>mode. I don't know (and don't want to know) which two node points are
>>>the
>>>closest. Could you outline how you would code up something like this ?
>>>
>>>George
>>>
>>>
>>>
>>>
>>>_______________________________________________
>>>Powered by www.kitware.com
>>>
>>>Visit other Kitware open-source projects at
>>>http://www.kitware.com/opensource/opensource.html
>>>
>>>Please keep messages on-topic and check the ParaView Wiki at:
>>>http://paraview.org/Wiki/ParaView
>>>
>>>Search the list archives at: http://markmail.org/search/?q=ParaView
>>>
>>>Follow this link to subscribe/unsubscribe:
>>>http://public.kitware.com/mailman/listinfo/paraview
>>
>> _______________________________________________
>> Powered by www.kitware.com
>>
>> Visit other Kitware open-source projects at
>>http://www.kitware.com/opensource/opensource.html
>>
>> Please keep messages on-topic and check the ParaView Wiki at:
>>http://paraview.org/Wiki/ParaView
>>
>> Search the list archives at: http://markmail.org/search/?q=ParaView
>>
>> Follow this link to subscribe/unsubscribe:
>> http://public.kitware.com/mailman/listinfo/paraview
>
>
>
>--
>Cory Quammen
>R&D Engineer
>Kitware, Inc.
More information about the ParaView
mailing list