[vtkusers] Can I disable scalar interpolation in vtkCutter?

Luca Pallozzi Lavorante lplavorante at gmail.com
Mon May 22 10:57:40 EDT 2017

Hi vtkusers,

I am using vtkCutter to generate a clipping plane from an unstructured
grid. I am using VTK 7.0. I have a vtkUnsignedShort as the unstructured
grid's data, and my scalars are codes into a geological lithology table, so
there is no interpolation among values.
I have verified thar vtkCutter's output, the vtkPolyData object I use to
display the cut, contains the same scalar data, but some of the values
generated along the cut were not inserted in  the original dataSet. For
example, the original data was {0,1 2 3 4, 10}, but I get {0, 1, 2, 3 4,
11} in the vtkPolyData attributes. I thought this might be the result of
some kind of interpolation, but I need the exact scalar values encountered
along the cut. Is there any way to obtain that using vtkCutter?

 Thanks in advance for any help

  Luca Pallozzi Lavorante
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20170522/3b98680a/attachment.html>

More information about the vtkusers mailing list