Separate method for heatmap color scaling

I separated out the color scaling and slightly simplified the expressions.

Signed-off-by: Robert C. Helling <helling@atdotde.de>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Robert C. Helling 2016-09-13 10:59:47 +02:00 committed by Dirk Hohndel
parent 1cae1255d7
commit 1b57b6cc17
2 changed files with 24 additions and 15 deletions

View file

@ -133,6 +133,8 @@ public:
private:
QString visibilityKey;
int tissueIndex;
QColor ColorScale(double value);
};
class DiveAmbPressureItem : public AbstractProfilePolygonItem {