[vtkusers] find interpolated scalar at arbitrary point in unstructured volume

George Zagaris george.zagaris at kitware.com
Sun Apr 10 12:42:13 EDT 2011


Hi Liam,

VTK does provide functionality for what you describe.
You can can call FindCell on your unstructured dataset
with your point query and it will return the cell Id that
contains the point as well as the interpolation and parametric
coordinates w.r.t. the donor cell. This functionality is also wrapped
by the vtkProbeFilter.

Best Regards,
George


> ------------------------------
>
> Message: 6
> Date: Sun, 10 Apr 2011 15:47:04 +0100
> From: Liam Kurmos <quantum.leaf at gmail.com>
> Subject: [vtkusers] find interpolated scalar at arbitrary point in
>        unstructured volume
> To: vtk <vtkusers at vtk.org>
> Message-ID: <BANLkTimQRf_Nv7jOCK+pWcup3YfprakvJQ at mail.gmail.com>
> Content-Type: text/plain; charset=ISO-8859-1
>
> i have a vtkunstructuredgrid volume dataset with a scalar field
> defined at each point in the point data. What methods should i use to
> find the interpolated value at an arbitrary point in the volume?
> if this is not provided in vtk is there a way to find which cell a
> particular value is in?
>
> Liam
>
>
> ------------------------------



More information about the vtkusers mailing list