From fd46167ae02db9976c45f76d71b752ee5fa3ed31 Mon Sep 17 00:00:00 2001 From: Rick Walsh Date: Tue, 18 Oct 2016 08:05:32 +1100 Subject: Heatmap: Color undersaturated values relative to inert gas pressure Color "undersaturated" values relative to inert gas pressure of gas being breathed, rather than relative to inert gas pressure of air. Also change slightly the point at which bright green (hue = 120 deg) from 10% of M value to 0% of M value (=ambient pressure). Other than the slight shift in lower bound of the green-red scale, this does not affect the colors of the tissues with inert gas pressure greater than ambient pressure, which are relative to the Buhlmann M value. Signed-off-by: Rick Walsh Signed-off-by: Dirk Hohndel --- profile-widget/diveprofileitem.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'profile-widget/diveprofileitem.h') diff --git a/profile-widget/diveprofileitem.h b/profile-widget/diveprofileitem.h index 38c489a28..a42de0442 100644 --- a/profile-widget/diveprofileitem.h +++ b/profile-widget/diveprofileitem.h @@ -133,7 +133,7 @@ public: private: QString visibilityKey; int tissueIndex; - QColor ColorScale(double value); + QColor ColorScale(double value, int inert); }; -- cgit v1.2.3-70-g09d2