How to color polydata using a vector of HSV data?

You won’t be able to color by HSV values directly, but if you can color by RGB values by calling

mapper.SetColorModeToDirectScalars()

and set your color array to the array of converted RGB values.