diff Framework/Radiography/RadiographyDicomLayer.h @ 1121:0073f95a1df1

merge
author Benjamin Golinvaux <bgo@osimis.io>
date Tue, 05 Nov 2019 16:31:08 +0100
parents 35e798b16b65
children d7e06542304c a5f2a6b04a31
line wrap: on
line diff
--- a/Framework/Radiography/RadiographyDicomLayer.h	Tue Nov 05 16:30:45 2019 +0100
+++ b/Framework/Radiography/RadiographyDicomLayer.h	Tue Nov 05 16:31:08 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