|
mc_rtc
2.14.0
|
Functions | |
| template<typename T > | |
| T | heatmap (double minimum, double maximum, double value) |
| Compute rgb heatmap colors expressed between 0 and 1. More... | |
| T mc_rtc::utils::heatmap | ( | double | minimum, |
| double | maximum, | ||
| double | value | ||
| ) |
Compute rgb heatmap colors expressed between 0 and 1.
Minimum value is represented as pure blue Maximum value is represented as pure red In-between values vary between blue and red
| minimum | Minimum value that the heatmap should represent |
| maximum | Maximum value that the heatmap should represent |
| value | Current value in [minimum, maximum] range. Values outside of this range will be displayed as either blue or red. |