comparison 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
comparison
equal deleted inserted replaced
1162:709aa65aca17 1163:ba9db2ad317c
30 private: 30 private:
31 ImageWindowing windowing_; 31 ImageWindowing windowing_;
32 float customCenter_; 32 float customCenter_;
33 float customWidth_; 33 float customWidth_;
34 bool inverted_; 34 bool inverted_;
35 bool applyLog_;
35 36
36 public: 37 public:
37 // The pixel format must be convertible to "Float32" 38 // The pixel format must be convertible to "Float32"
38 FloatTextureSceneLayer(const Orthanc::ImageAccessor& texture); 39 FloatTextureSceneLayer(const Orthanc::ImageAccessor& texture);
39 40
58 return inverted_; 59 return inverted_;
59 } 60 }
60 61
61 void FitRange(); 62 void FitRange();
62 63
64 void SetApplyLog(bool apply);
65
66 bool IsApplyLog() const
67 {
68 return applyLog_;
69 }
70
63 virtual ISceneLayer* Clone() const; 71 virtual ISceneLayer* Clone() const;
64 72
65 virtual Type GetType() const 73 virtual Type GetType() const
66 { 74 {
67 return Type_FloatTexture; 75 return Type_FloatTexture;