Mercurial > hg > orthanc-stone
comparison Framework/Toolbox/DicomInstanceParameters.h @ 1161:19b1c8caade4 broker
fix sagittal geometry
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 19 Nov 2019 17:30:05 +0100 |
parents | acb399643945 |
children | 0ca50d275b9a |
comparison
equal
deleted
inserted
replaced
1160:59906485896f | 1161:19b1c8caade4 |
---|---|
73 | 73 |
74 void ApplyRescaleAndDoseScaling(Orthanc::ImageAccessor& image, | 74 void ApplyRescaleAndDoseScaling(Orthanc::ImageAccessor& image, |
75 bool useDouble) const; | 75 bool useDouble) const; |
76 | 76 |
77 double ApplyRescale(double value) const; | 77 double ApplyRescale(double value) const; |
78 | |
79 bool ComputeRegularSpacing(double& target) const; | |
78 }; | 80 }; |
79 | 81 |
80 | 82 |
81 Data data_; | 83 Data data_; |
82 | 84 |
207 const std::string& GetDoseUnits() const | 209 const std::string& GetDoseUnits() const |
208 { | 210 { |
209 return data_.doseUnits_; | 211 return data_.doseUnits_; |
210 } | 212 } |
211 | 213 |
214 void SetDoseGridScaling(double value) | |
215 { | |
216 data_.doseGridScaling_ = value; | |
217 } | |
218 | |
212 double GetDoseGridScaling() const | 219 double GetDoseGridScaling() const |
213 { | 220 { |
214 return data_.doseGridScaling_; | 221 return data_.doseGridScaling_; |
215 } | 222 } |
216 | 223 |
217 double ApplyRescale(double value) const | 224 double ApplyRescale(double value) const |
218 { | 225 { |
219 return data_.ApplyRescale(value); | 226 return data_.ApplyRescale(value); |
227 } | |
228 | |
229 // Required for RT-DOSE | |
230 bool ComputeRegularSpacing(double& target) const | |
231 { | |
232 return data_.ComputeRegularSpacing(target); | |
220 } | 233 } |
221 }; | 234 }; |
222 } | 235 } |