comparison 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
comparison
equal deleted inserted replaced
1162:709aa65aca17 1163:ba9db2ad317c
37 bool hasWindowing_; 37 bool hasWindowing_;
38 ImageWindowing windowing_; 38 ImageWindowing windowing_;
39 float customWindowWidth_; 39 float customWindowWidth_;
40 float customWindowCenter_; 40 float customWindowCenter_;
41 bool inverted_; 41 bool inverted_;
42 bool applyLog_;
42 43
43 public: 44 public:
44 GrayscaleStyleConfigurator() : 45 GrayscaleStyleConfigurator() :
45 revision_(0), 46 revision_(0),
46 linearInterpolation_(false), 47 linearInterpolation_(false),
47 hasWindowing_(false), 48 hasWindowing_(false),
48 customWindowWidth_(0), 49 customWindowWidth_(0),
49 customWindowCenter_(0), 50 customWindowCenter_(0),
50 inverted_(false) 51 inverted_(false),
52 applyLog_(false)
51 { 53 {
52 } 54 }
53 55
54 void SetWindowing(ImageWindowing windowing); 56 void SetWindowing(ImageWindowing windowing);
55 57
64 bool IsLinearInterpolation() const 66 bool IsLinearInterpolation() const
65 { 67 {
66 return linearInterpolation_; 68 return linearInterpolation_;
67 } 69 }
68 70
71 void SetApplyLog(bool apply);
72
73 bool IsApplyLog() const
74 {
75 return applyLog_;
76 }
77
69 virtual uint64_t GetRevision() const 78 virtual uint64_t GetRevision() const
70 { 79 {
71 return revision_; 80 return revision_;
72 } 81 }
73 82