Function reach::computeHeatMapColors(const ReachResult&, bool, float, float)

Function Documentation

Eigen::MatrixX3f reach::computeHeatMapColors(const ReachResult &result, bool use_full_color_range, float hue_low_score = 270.0f, float hue_high_score = 0.0f)

Computes heat map colors for the reach targets in a reach study result.

The heat map colors range from deep blue for the lowest score (i.e., coldest) to deep red for the highest score (i.e., hottest). If use_full_color_range is false (default), the individual scores are divided by the maximum score before colorization. If use_full_color_range is true, the individual scores are fully normalized on [0, 1] before colorization

Returns:

An array of RGB colors on [0, 1] for each channel