[vtkusers] vtkImageData point extraction

David Gobbi david.gobbi at gmail.com
Fri Dec 24 16:51:59 EST 2010


Hi Tom,

I think you want vtkProbeFilter.  It takes two inputs, one input for
volumetric data and another input for a set of points whose scalars
will be interpolated from the first input.

probeFilter->SetSourceConnection(<data-to-be-interpolated goes here>)
probeFilter->SetInputConnection(<point input goes here>)

Is this what you were looking for?

   David


On Thu, Dec 23, 2010 at 9:43 AM, Maxwell, Thomas P.
(GSFC-606.2)[SCIENCE APPLICATIONS INTL CORP] <thomas.maxwell at nasa.gov>
wrote:
>
> Is there a VTK filter that will take as input a vtkImageData and a list of
> (unstructured) points and then compute (as output) the image values at the
> specified point locations?
>
> Thanks,
> Tom



More information about the vtkusers mailing list