Mercurial > hg > orthanc-stone
comparison Framework/Radiography/RadiographyLayer.h @ 1196:a5f2a6b04a31
RadiographyScene: windowing is now only applied to the Dicom layer
author | Alain Mazy <alain@mazy.be> |
---|---|
date | Wed, 27 Nov 2019 17:51:33 +0100 |
parents | 35e798b16b65 |
children | 54cbffabdc45 69177b10e2b9 |
comparison
equal
deleted
inserted
replaced
1191:c6a36ecd641d | 1196:a5f2a6b04a31 |
---|---|
348 return prefferedPhotometricDisplayMode_; | 348 return prefferedPhotometricDisplayMode_; |
349 } | 349 } |
350 | 350 |
351 virtual void Render(Orthanc::ImageAccessor& buffer, | 351 virtual void Render(Orthanc::ImageAccessor& buffer, |
352 const AffineTransform2D& viewTransform, | 352 const AffineTransform2D& viewTransform, |
353 ImageInterpolation interpolation) const = 0; | 353 ImageInterpolation interpolation, |
354 float windowCenter, | |
355 float windowWidth, | |
356 bool applyWindowing) const = 0; | |
354 | 357 |
355 virtual bool GetRange(float& minValue, | 358 virtual bool GetRange(float& minValue, |
356 float& maxValue) const = 0; | 359 float& maxValue) const = 0; |
357 | 360 |
358 friend class RadiographyMaskLayer; // because it needs to GetTransform on the dicomLayer it relates to | 361 friend class RadiographyMaskLayer; // because it needs to GetTransform on the dicomLayer it relates to |