diff Framework/Radiography/RadiographyDicomLayer.h @ 1272:a989c7d46b9a

options to avoid multiple LayerEditedMessage
author Alain Mazy <alain@mazy.be>
date Mon, 03 Feb 2020 14:56:56 +0100
parents a5f2a6b04a31
children 7ec8fea061b9 1c7ae79c426d
line wrap: on
line diff
--- a/Framework/Radiography/RadiographyDicomLayer.h	Tue Jan 21 16:52:37 2020 +0100
+++ b/Framework/Radiography/RadiographyDicomLayer.h	Mon Feb 03 14:56:56 2020 +0100
@@ -80,7 +80,7 @@
 
     void SetSourceImage(Orthanc::ImageAccessor* image);   // Takes ownership
 
-    void SetSourceImage(Orthanc::ImageAccessor* image, double newPixelSpacingX, double newPixelSpacingY);   // Takes ownership
+    void SetSourceImage(Orthanc::ImageAccessor* image, double newPixelSpacingX, double newPixelSpacingY, bool emitLayerEditedEvent = true);   // 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