comparison Framework/Scene2D/GrayscaleStyleConfigurator.h @ 913:2b4b6b86520a

Re-enabled gl debug output in GuiAdapter + REMOVED GZIP ENCODING IN OrthancSeriesVolumeProgressiveLoader + added ability to use custom windowing in GrayscaleStyleConfigurator
author Benjamin Golinvaux <bgo@osimis.io>
date Fri, 19 Jul 2019 10:30:40 +0200
parents e62e7361fd60
children 4d1f57773b5b
comparison
equal deleted inserted replaced
910:a6c12fe88bcb 913:2b4b6b86520a
34 private: 34 private:
35 uint64_t revision_; 35 uint64_t revision_;
36 bool linearInterpolation_; 36 bool linearInterpolation_;
37 bool hasWindowing_; 37 bool hasWindowing_;
38 ImageWindowing windowing_; 38 ImageWindowing windowing_;
39 39 float customWindowWidth_;
40 float customWindowCenter_;
40 // TODO - Add custom windowing 41 // TODO - Add custom windowing
41 42
42 public: 43 public:
43 GrayscaleStyleConfigurator() : 44 GrayscaleStyleConfigurator() :
44 revision_(0), 45 revision_(0),
45 linearInterpolation_(false), 46 linearInterpolation_(false),
46 hasWindowing_(false) 47 hasWindowing_(false),
48 customWindowWidth_(0),
49 customWindowCenter_(0)
47 { 50 {
48 } 51 }
49 52
50 void SetWindowing(ImageWindowing windowing); 53 void SetWindowing(ImageWindowing windowing);
54
55 void SetCustomWindowing(float windowWidth, float windowCenter);
51 56
52 void SetLinearInterpolation(bool enabled); 57 void SetLinearInterpolation(bool enabled);
53 58
54 bool IsLinearInterpolation() const 59 bool IsLinearInterpolation() const
55 { 60 {