comparison 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
comparison
equal deleted inserted replaced
1113:3924ddbbadda 1118:35e798b16b65
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
84
83 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
84 86
85 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
86 88
87 // Takes ownership 89 // Takes ownership