I’m a little confused. My color table data structure is [[255,125,1],[5,235,155],...]
,If I use colors[i] = i
, is it an array for each color?
I don’t know much about the class vtkColorTransferFunction. How to pass the color table to this class and then to vtkDataArray