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

test log
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 19 Nov 2019 20:44:55 +0100
parents eb28dfe432f7
children 177e7d431cd1
line wrap: on
line diff
--- a/Framework/Scene2D/GrayscaleStyleConfigurator.h	Tue Nov 19 19:04:15 2019 +0100
+++ b/Framework/Scene2D/GrayscaleStyleConfigurator.h	Tue Nov 19 20:44:55 2019 +0100
@@ -39,6 +39,7 @@
     float           customWindowWidth_;
     float           customWindowCenter_;
     bool            inverted_;
+    bool            applyLog_;
     
   public:
     GrayscaleStyleConfigurator() :
@@ -47,7 +48,8 @@
       hasWindowing_(false),
       customWindowWidth_(0),
       customWindowCenter_(0),
-      inverted_(false)
+      inverted_(false),
+      applyLog_(false)
     {
     }
 
@@ -66,6 +68,13 @@
       return linearInterpolation_;
     }
 
+    void SetApplyLog(bool apply);
+
+    bool IsApplyLog() const
+    {
+      return applyLog_;
+    }
+
     virtual uint64_t GetRevision() const
     {
       return revision_;