comparison Framework/Toolbox/DicomInstanceParameters.h @ 1159:acb399643945 broker

DicomInstanceParameters::ApplyRescale()
author Sebastien Jodogne <s.jodogne@gmail.com>
date Mon, 18 Nov 2019 15:24:36 +0100
parents 7681f3943748
children 19b1c8caade4
comparison
equal deleted inserted replaced
1158:e3eaadcb314a 1159:acb399643945
69 CoordinateSystem3D GetFrameGeometry(unsigned int frame) const; 69 CoordinateSystem3D GetFrameGeometry(unsigned int frame) const;
70 70
71 bool IsPlaneWithinSlice(unsigned int frame, 71 bool IsPlaneWithinSlice(unsigned int frame,
72 const CoordinateSystem3D& plane) const; 72 const CoordinateSystem3D& plane) const;
73 73
74 void ApplyRescaleAndDoseScaling( 74 void ApplyRescaleAndDoseScaling(Orthanc::ImageAccessor& image,
75 Orthanc::ImageAccessor& image, bool useDouble) const; 75 bool useDouble) const;
76
77 double ApplyRescale(double value) const;
76 }; 78 };
77 79
78 80
79 Data data_; 81 Data data_;
80 82
209 211
210 double GetDoseGridScaling() const 212 double GetDoseGridScaling() const
211 { 213 {
212 return data_.doseGridScaling_; 214 return data_.doseGridScaling_;
213 } 215 }
216
217 double ApplyRescale(double value) const
218 {
219 return data_.ApplyRescale(value);
220 }
214 }; 221 };
215 } 222 }