armarx::colorutils Namespace Reference

Functions

HsvColor HeatMapColor (float percentage)
 HeatMapColor calculates the color of a value between 0 and 1 on a heat map.
 
DrawColor HeatMapRGBAColor (float percentage)
 
DrawColor24Bit HeatMapRGBColor (float percentage)
 
DrawColor24Bit HsvToRgb (const HsvColor &in)
 
HsvColor RgbToHsv (const DrawColor24Bit &in)
 

Function Documentation

◆ HeatMapColor()

HsvColor HeatMapColor ( float percentage)

HeatMapColor calculates the color of a value between 0 and 1 on a heat map.

Parameters
percentagevalue between 0..1
Returns
color on a heatmap corresponding to parameter. 0 -> blue, 1 -> red. Color has full (255) saturation and value.

◆ HeatMapRGBAColor()

DrawColor HeatMapRGBAColor ( float percentage)

◆ HeatMapRGBColor()

DrawColor24Bit HeatMapRGBColor ( float percentage)

◆ HsvToRgb()

DrawColor24Bit HsvToRgb ( const HsvColor & in)

◆ RgbToHsv()

HsvColor RgbToHsv ( const DrawColor24Bit & in)