Hi all.
I have a doubt about how to use vtkCutter in my python script.
My workflow is:
- taking an unstructured grid.
- filter it by a VtkThreshold over a scalar, named e.g. ‘A’
- then plot a slice of the filtered-by-threshold ugrid, using VtkCutter, colored by another scalar, say it ‘B’.
Everything works perfectly, but using the lookup table of the ugrid on the slice I obtain only a solid color (while in paraview gui is displaying correctly, see image attached)
How does it work vtkCutter in vtk library? Does it mantain scarlar data?
Thank you