Mercurial > hg > orthanc-stone
diff Framework/Radiography/RadiographyDicomLayer.h @ 553:92305ee35b1c dev
web-worker consequences: give access to lower level data
author | Alain Mazy <alain@mazy.be> |
---|---|
date | Wed, 03 Apr 2019 17:38:43 +0200 |
parents | 77e0eb83ff63 |
children | f1bfe3d1759f |
line wrap: on
line diff
--- a/Framework/Radiography/RadiographyDicomLayer.h Fri Mar 29 15:21:33 2019 +0100 +++ b/Framework/Radiography/RadiographyDicomLayer.h Wed Apr 03 17:38:43 2019 +0200 @@ -66,6 +66,11 @@ void SetSourceImage(Orthanc::ImageAccessor* image); // 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 DicomFrameConverter& GetDicomFrameConverter() const {return *converter_;} // currently need this access to serialize scene in plain old data to send to a WASM worker + void SetDicomFrameConverter(DicomFrameConverter* converter) {converter_.reset(converter);} // Takes ownership + virtual void Render(Orthanc::ImageAccessor& buffer, const AffineTransform2D& viewTransform, ImageInterpolation interpolation) const;