Mercurial > hg > orthanc-stone
diff Framework/Radiography/RadiographyScene.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 | 848170ca4351 |
line wrap: on
line diff
--- a/Framework/Radiography/RadiographyScene.h Fri Mar 29 15:21:33 2019 +0100 +++ b/Framework/Radiography/RadiographyScene.h Wed Apr 03 17:38:43 2019 +0200 @@ -30,6 +30,7 @@ namespace OrthancStone { class RadiographyDicomLayer; + class DicomFrameConverter; class RadiographyScene : public IObserver, @@ -194,6 +195,13 @@ RadiographyLayer& LoadAlphaBitmap(Orthanc::ImageAccessor* bitmap, // takes ownership RadiographyLayer::Geometry* geometry); + virtual RadiographyLayer& LoadDicomImage(Orthanc::ImageAccessor* dicomImage, // takes ownership + const std::string& instance, + unsigned int frame, + DicomFrameConverter* converter, // takes ownership + PhotometricDisplayMode preferredPhotometricDisplayMode, + RadiographyLayer::Geometry* geometry); + virtual RadiographyLayer& LoadDicomFrame(OrthancApiClient& orthanc, const std::string& instance, unsigned int frame,