diff OrthancStone/Sources/Scene2D/FloatTextureSceneLayer.h @ 1533:82279abb92d0

GrayscaleWindowingSceneTracker
author Sebastien Jodogne <s.jodogne@gmail.com>
date Fri, 07 Aug 2020 15:55:59 +0200
parents 244ad1e4e76a
children 85e117739eca
line wrap: on
line diff
--- a/OrthancStone/Sources/Scene2D/FloatTextureSceneLayer.h	Fri Aug 07 15:00:52 2020 +0200
+++ b/OrthancStone/Sources/Scene2D/FloatTextureSceneLayer.h	Fri Aug 07 15:55:59 2020 +0200
@@ -33,6 +33,9 @@
     float            customWidth_;
     bool             inverted_;
     bool             applyLog_;
+    bool             isRangeComputed_;
+    float            minValue_;
+    float            maxValue_;
 
   public:
     // The pixel format must be convertible to "Float32"
@@ -68,6 +71,9 @@
       return applyLog_;
     }
 
+    void GetRange(float& minValue,
+                  float& maxValue);
+
     virtual ISceneLayer* Clone() const;
 
     virtual Type GetType() const