diff Framework/Radiography/RadiographyDicomLayer.h @ 1118:35e798b16b65

RadiographyDicomLayer: allow replacing low res image by high res image
author Alain Mazy <alain@mazy.be>
date Mon, 04 Nov 2019 22:16:04 +0100
parents 580dd82e13f5
children d7e06542304c a5f2a6b04a31
line wrap: on
line diff
--- a/Framework/Radiography/RadiographyDicomLayer.h	Mon Nov 04 12:47:13 2019 +0100
+++ b/Framework/Radiography/RadiographyDicomLayer.h	Mon Nov 04 22:16:04 2019 +0100
@@ -80,6 +80,8 @@
 
     void SetSourceImage(Orthanc::ImageAccessor* image);   // Takes ownership
 
+    void SetSourceImage(Orthanc::ImageAccessor* image, double newPixelSpacingX, double newPixelSpacingY);   // Takes ownership
+
     const Orthanc::ImageAccessor* GetSourceImage() const {return source_.get();}  // currently need this access to serialize scene in plain old data to send to a WASM worker
 
     const Deprecated::DicomFrameConverter& GetDicomFrameConverter() const {return *converter_;} // currently need this access to serialize scene in plain old data to send to a WASM worker