comparison OrthancStone/Sources/Toolbox/DicomInstanceParameters.h @ 1679:5b8b88e5bfd6

successfully running unit tests in WebAssembly
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 24 Nov 2020 12:59:10 +0100
parents 51bab5188a13
children 9ac2a65d4172
comparison
equal deleted inserted replaced
1678:1393e3393a0b 1679:5b8b88e5bfd6
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 Vector presetWindowingCenters_; 58 Vector windowingPresetCenters_;
59 Vector presetWindowingWidths_; 59 Vector windowingPresetWidths_;
60 bool hasIndexInSeries_; 60 bool hasIndexInSeries_;
61 unsigned int indexInSeries_; 61 unsigned int indexInSeries_;
62 std::string doseUnits_; 62 std::string doseUnits_;
63 double doseGridScaling_; 63 double doseGridScaling_;
64 std::string frameOfReferenceUid_; 64 std::string frameOfReferenceUid_;
179 179
180 double GetRescaleIntercept() const; 180 double GetRescaleIntercept() const;
181 181
182 double GetRescaleSlope() const; 182 double GetRescaleSlope() const;
183 183
184 size_t GetPresetWindowingsCount() const; 184 size_t GetWindowingPresetsCount() const;
185 185
186 float GetPresetWindowingCenter(size_t i) const; 186 float GetWindowingPresetCenter(size_t i) const;
187 187
188 float GetPresetWindowingWidth(size_t i) const; 188 float GetWindowingPresetWidth(size_t i) const;
189
190 void GetWindowingPresetsUnion(float& center,
191 float& width) const;
189 192
190 Orthanc::PixelFormat GetExpectedPixelFormat() const; 193 Orthanc::PixelFormat GetExpectedPixelFormat() const;
191 194
192 Orthanc::ImageAccessor* ConvertToFloat(const Orthanc::ImageAccessor& pixelData) const; 195 Orthanc::ImageAccessor* ConvertToFloat(const Orthanc::ImageAccessor& pixelData) const;
193 196