diff Framework/Scene2D/FloatTextureSceneLayer.h @ 1163:ba9db2ad317c broker

test log
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 19 Nov 2019 20:44:55 +0100
parents b8dfd966b5f4
children 0ca50d275b9a
line wrap: on
line diff
--- a/Framework/Scene2D/FloatTextureSceneLayer.h	Tue Nov 19 19:04:15 2019 +0100
+++ b/Framework/Scene2D/FloatTextureSceneLayer.h	Tue Nov 19 20:44:55 2019 +0100
@@ -32,6 +32,7 @@
     float            customCenter_;
     float            customWidth_;
     bool             inverted_;
+    bool             applyLog_;
 
   public:
     // The pixel format must be convertible to "Float32"
@@ -60,6 +61,13 @@
 
     void FitRange();
 
+    void SetApplyLog(bool apply);
+
+    bool IsApplyLog() const
+    {
+      return applyLog_;
+    }
+
     virtual ISceneLayer* Clone() const;
 
     virtual Type GetType() const