comparison Framework/Scene2D/GrayscaleStyleConfigurator.h @ 1221:e2435a524029

merge
author Alain Mazy <alain@mazy.be>
date Sat, 07 Dec 2019 17:47:35 +0100
parents b5dec783ba08
children ab06dfdf3b75 2d8ab34c8c91
comparison
equal deleted inserted replaced
1220:9ee6b28f53e8 1221:e2435a524029
32 class GrayscaleStyleConfigurator : public ILayerStyleConfigurator 32 class GrayscaleStyleConfigurator : public ILayerStyleConfigurator
33 { 33 {
34 private: 34 private:
35 uint64_t revision_; 35 uint64_t revision_;
36 bool linearInterpolation_; 36 bool linearInterpolation_;
37 bool hasWindowing_; 37 bool hasWindowingOverride_;
38 ImageWindowing windowing_; 38 ImageWindowing windowing_;
39 float customWindowWidth_; 39 float customWindowWidth_;
40 float customWindowCenter_; 40 float customWindowCenter_;
41 bool hasInversionOverride_;
41 bool inverted_; 42 bool inverted_;
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 hasWindowingOverride_(false),
48 customWindowWidth_(0), 49 customWindowWidth_(0),
49 customWindowCenter_(0), 50 customWindowCenter_(0),
51 hasInversionOverride_(false),
50 inverted_(false) 52 inverted_(false)
51 { 53 {
52 } 54 }
53 55
54 void SetWindowing(ImageWindowing windowing); 56 void SetWindowing(ImageWindowing windowing);