Mercurial > hg > orthanc-stone
comparison OrthancStone/Sources/Toolbox/DicomInstanceParameters.h @ 1677:51bab5188a13
start multiple preset windowings
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Mon, 23 Nov 2020 19:24:18 +0100 |
parents | 4e14735e98f8 |
children | 5b8b88e5bfd6 |
comparison
equal
deleted
inserted
replaced
1676:5e76d5e8167a | 1677:51bab5188a13 |
---|---|
53 CoordinateSystem3D geometry_; | 53 CoordinateSystem3D geometry_; |
54 Vector frameOffsets_; | 54 Vector frameOffsets_; |
55 bool hasRescale_; | 55 bool hasRescale_; |
56 double rescaleIntercept_; | 56 double rescaleIntercept_; |
57 double rescaleSlope_; | 57 double rescaleSlope_; |
58 bool hasDefaultWindowing_; | 58 Vector presetWindowingCenters_; |
59 float defaultWindowingCenter_; | 59 Vector presetWindowingWidths_; |
60 float defaultWindowingWidth_; | |
61 bool hasIndexInSeries_; | 60 bool hasIndexInSeries_; |
62 unsigned int indexInSeries_; | 61 unsigned int indexInSeries_; |
63 std::string doseUnits_; | 62 std::string doseUnits_; |
64 double doseGridScaling_; | 63 double doseGridScaling_; |
65 std::string frameOfReferenceUid_; | 64 std::string frameOfReferenceUid_; |
180 | 179 |
181 double GetRescaleIntercept() const; | 180 double GetRescaleIntercept() const; |
182 | 181 |
183 double GetRescaleSlope() const; | 182 double GetRescaleSlope() const; |
184 | 183 |
185 bool HasDefaultWindowing() const | 184 size_t GetPresetWindowingsCount() const; |
186 { | 185 |
187 return data_.hasDefaultWindowing_; | 186 float GetPresetWindowingCenter(size_t i) const; |
188 } | 187 |
189 | 188 float GetPresetWindowingWidth(size_t i) const; |
190 float GetDefaultWindowingCenter() const; | |
191 | |
192 float GetDefaultWindowingWidth() const; | |
193 | 189 |
194 Orthanc::PixelFormat GetExpectedPixelFormat() const; | 190 Orthanc::PixelFormat GetExpectedPixelFormat() const; |
195 | 191 |
196 Orthanc::ImageAccessor* ConvertToFloat(const Orthanc::ImageAccessor& pixelData) const; | 192 Orthanc::ImageAccessor* ConvertToFloat(const Orthanc::ImageAccessor& pixelData) const; |
197 | 193 |