comparison OrthancStone/Sources/Scene2D/FloatTextureSceneLayer.h @ 1571:85e117739eca

cppcheck
author Sebastien Jodogne <s.jodogne@gmail.com>
date Mon, 21 Sep 2020 17:46:39 +0200
parents 82279abb92d0
children 4fb8fdf03314
comparison
equal deleted inserted replaced
1570:9a04f42098a3 1571:85e117739eca
37 float minValue_; 37 float minValue_;
38 float maxValue_; 38 float maxValue_;
39 39
40 public: 40 public:
41 // The pixel format must be convertible to "Float32" 41 // The pixel format must be convertible to "Float32"
42 FloatTextureSceneLayer(const Orthanc::ImageAccessor& texture); 42 explicit FloatTextureSceneLayer(const Orthanc::ImageAccessor& texture);
43 43
44 void SetWindowing(ImageWindowing windowing); 44 void SetWindowing(ImageWindowing windowing);
45 45
46 void SetCustomWindowing(float customCenter, 46 void SetCustomWindowing(float customCenter,
47 float customWidth); 47 float customWidth);
72 } 72 }
73 73
74 void GetRange(float& minValue, 74 void GetRange(float& minValue,
75 float& maxValue); 75 float& maxValue);
76 76
77 virtual ISceneLayer* Clone() const; 77 virtual ISceneLayer* Clone() const ORTHANC_OVERRIDE;
78 78
79 virtual Type GetType() const 79 virtual Type GetType() const ORTHANC_OVERRIDE
80 { 80 {
81 return Type_FloatTexture; 81 return Type_FloatTexture;
82 } 82 }
83 }; 83 };
84 } 84 }