How do I color image data by its associated cell data?

I haven’t investigated it thoroughly. I doubt most of the VTK filters handle cell data.

Point data in vtkImageData is much more thoroughly supported in VTK, and I would recommend using it. Converting from using cell data arrays to point data arrays is fairly trivial (just modify the extent by 1).

1 Like