99 void convertHSVToRGB(
float hue,
float s,
float v,
float &r,
float &g,
float &b);
void getColor(float *color, size_t bucket, GradientType gradient=GREY)
Returns three float values for the color of the given bucket.
void calcColorHot(float *color, size_t bucket)
Returns a color from a hot gradient.
void convertHSVToRGB(float hue, float s, float v, float &r, float &g, float &b)
Converts the given color in HSV space into RGB space.
void calcColorSHSV(float *color, size_t bucket)
Returns a color from a SHSV gradient.
GradientType
Identifies a color gradient.
void calcColorGrey(float *color, size_t bucket)
Returns a color from a gray gradient.
void calcColorJet(float *color, size_t bucket)
Returns a color from a Jet gradient.
void calcColorHSV(float *color, size_t bucket)
Returns a color from a HSV gradient.
size_t m_numBuckets
Number of colors in the color gradient.
ColorMap(size_t buckets)
Ctor. Constructs a color gradient with the given number of buckets.
void calcColorSimpsons(float *color, size_t bucket)
Returns a color from a Simpsons gradient.