comparison OrthancStone/Sources/Toolbox/DicomInstanceParameters.h @ 1821:36430d73e36c

introducing measure units in AnnotationsSceneLayer
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 26 May 2021 14:02:12 +0200
parents 9ac2a65d4172
children 0489fe25ce48
comparison
equal deleted inserted replaced
1820:5baaad557d58 1821:36430d73e36c
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_;
65 bool hasPixelSpacing_;
65 66
66 explicit Data(const Orthanc::DicomMap& dicom); 67 explicit Data(const Orthanc::DicomMap& dicom);
67 }; 68 };
68 69
69 70
227 228
228 const std::string& GetFrameOfReferenceUid() const 229 const std::string& GetFrameOfReferenceUid() const
229 { 230 {
230 return data_.frameOfReferenceUid_; 231 return data_.frameOfReferenceUid_;
231 } 232 }
233
234 bool HasPixelSpacing() const
235 {
236 return data_.hasPixelSpacing_;
237 }
232 }; 238 };
233 } 239 }