armarx::colorutils Namespace Reference

Functions

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

Function Documentation

◆ HeatMapColor()

HsvColor armarx::colorutils::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.

Definition at line 158 of file ColorUtils.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ HeatMapRGBAColor()

DrawColor armarx::colorutils::HeatMapRGBAColor ( float  percentage)

Definition at line 170 of file ColorUtils.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ HeatMapRGBColor()

DrawColor24Bit armarx::colorutils::HeatMapRGBColor ( float  percentage)

Definition at line 165 of file ColorUtils.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ HsvToRgb()

DrawColor24Bit armarx::colorutils::HsvToRgb ( const HsvColor &  in)

Definition at line 31 of file ColorUtils.h.

+ Here is the caller graph for this function:

◆ RgbToHsv()

HsvColor armarx::colorutils::RgbToHsv ( const DrawColor24Bit &  in)

Definition at line 94 of file ColorUtils.h.

+ Here is the call graph for this function: