comparison Framework/Toolbox/DicomInstanceParameters.h @ 1091:5a18e6a395bc toa2019102301

Added DoseUnit tag retrieval to DicomInstanceParameters
author Benjamin Golinvaux <bgo@osimis.io>
date Wed, 23 Oct 2019 15:34:39 +0200
parents 78a516d5ead5
children 7681f3943748
comparison
equal deleted inserted replaced
1087:b8521df3944a 1091:5a18e6a395bc
57 float defaultWindowingCenter_; 57 float defaultWindowingCenter_;
58 float defaultWindowingWidth_; 58 float defaultWindowingWidth_;
59 Orthanc::PixelFormat expectedPixelFormat_; 59 Orthanc::PixelFormat expectedPixelFormat_;
60 bool hasIndexInSeries_; 60 bool hasIndexInSeries_;
61 unsigned int indexInSeries_; 61 unsigned int indexInSeries_;
62 std::string doseUnits_;
62 63
63 void ComputeDoseOffsets(const Orthanc::DicomMap& dicom); 64 void ComputeDoseOffsets(const Orthanc::DicomMap& dicom);
64 65
65 Data(const Orthanc::DicomMap& dicom); 66 Data(const Orthanc::DicomMap& dicom);
66 67
197 { 198 {
198 return data_.hasIndexInSeries_; 199 return data_.hasIndexInSeries_;
199 } 200 }
200 201
201 unsigned int GetIndexInSeries() const; 202 unsigned int GetIndexInSeries() const;
203
204 const std::string& GetDoseUnits() const
205 {
206 return data_.doseUnits_;
207 }
202 }; 208 };
203 } 209 }