comparison 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
comparison
equal deleted inserted replaced
1259:69177b10e2b9 1272:a989c7d46b9a
78 78
79 void SetDicomTags(const OrthancPlugins::FullOrthancDataset& dataset); 79 void SetDicomTags(const OrthancPlugins::FullOrthancDataset& dataset);
80 80
81 void SetSourceImage(Orthanc::ImageAccessor* image); // Takes ownership 81 void SetSourceImage(Orthanc::ImageAccessor* image); // Takes ownership
82 82
83 void SetSourceImage(Orthanc::ImageAccessor* image, double newPixelSpacingX, double newPixelSpacingY); // Takes ownership 83 void SetSourceImage(Orthanc::ImageAccessor* image, double newPixelSpacingX, double newPixelSpacingY, bool emitLayerEditedEvent = true); // Takes ownership
84 84
85 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 85 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
86 86
87 const Deprecated::DicomFrameConverter& GetDicomFrameConverter() const {return *converter_;} // currently need this access to serialize scene in plain old data to send to a WASM worker 87 const Deprecated::DicomFrameConverter& GetDicomFrameConverter() const {return *converter_;} // currently need this access to serialize scene in plain old data to send to a WASM worker
88 88