Hello, I checked the source code and searched for vtkColorTransferFunction. I found that the usage is to add colors on the vtkColorTransferFunction instance through the addRGBPoint
method, and then through actor.getProperty().setRGBTransferFunction(lookupTable)
to set the color.
But how to get the colors required by vtkDataArray in my requirement.