Mercurial > hg > orthanc-stone
comparison OrthancStone/Sources/Scene2D/FloatTextureSceneLayer.h @ 1533:82279abb92d0
GrayscaleWindowingSceneTracker
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Fri, 07 Aug 2020 15:55:59 +0200 |
parents | 244ad1e4e76a |
children | 85e117739eca |
comparison
equal
deleted
inserted
replaced
1532:c7a37c3a0b8e | 1533:82279abb92d0 |
---|---|
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 bool applyLog_; |
36 bool isRangeComputed_; | |
37 float minValue_; | |
38 float maxValue_; | |
36 | 39 |
37 public: | 40 public: |
38 // The pixel format must be convertible to "Float32" | 41 // The pixel format must be convertible to "Float32" |
39 FloatTextureSceneLayer(const Orthanc::ImageAccessor& texture); | 42 FloatTextureSceneLayer(const Orthanc::ImageAccessor& texture); |
40 | 43 |
66 bool IsApplyLog() const | 69 bool IsApplyLog() const |
67 { | 70 { |
68 return applyLog_; | 71 return applyLog_; |
69 } | 72 } |
70 | 73 |
74 void GetRange(float& minValue, | |
75 float& maxValue); | |
76 | |
71 virtual ISceneLayer* Clone() const; | 77 virtual ISceneLayer* Clone() const; |
72 | 78 |
73 virtual Type GetType() const | 79 virtual Type GetType() const |
74 { | 80 { |
75 return Type_FloatTexture; | 81 return Type_FloatTexture; |