[vtkusers] get value at x y z (interpolate)
Hamilton Woods
ghw at accutrol.com
Wed Dec 29 17:48:35 EST 2010
Which post am I really replying to? Perhaps the original one. I am
working my way up to attempting to interpolate scalar values at an
arbitrary x-y-z point.
I wrote a Python script that calls the ParaView engine to interpolate
scalar values in a 3-D flowfield using a Plot Over Line filter. This
could have been done using the Probe Location filter for each point
along the line segment.
I am now being directed to convert this to C++ (actually they want
it done in MATLAB, but they may be OK with using the MEX interface
to call a C++ program), so I thought I would use VTK. I am just
learning how to use CMake, so I haven't gotten to the interpolation
part of the problem yet. I suspect that I would have tried something
like a vtkProbeFilter (Graphics folder) for each point along a line
segment. The responses that I am seeing to the original post make
me wonder if this is more challenging than I had thought.
Also, my understanding is that interpolation in VTK is available for
structured and unstructured grids.
I hope this is not beating a dead horse. Can anyone shed some
light on how to do the equivalent of the ParaView Plot Over Line or
Probe Location filter using VTK directly?
Thanks for your help,
Hamilton Woods
--
View this message in context: http://vtk.1045678.n5.nabble.com/get-value-at-x-y-z-interpolate-tp3318741p3321913.html
Sent from the VTK - Users mailing list archive at Nabble.com.
More information about the vtkusers
mailing list