Mercurial > hg > orthanc-stone
diff Framework/Radiography/RadiographyMaskLayer.h @ 503:77e0eb83ff63 am-touch-events
layers are now Observable and emitting LayerEdited messages
author | amazy |
---|---|
date | Tue, 26 Feb 2019 12:58:03 +0100 |
parents | aede9b042cb7 |
children | 580dd82e13f5 |
line wrap: on
line diff
--- a/Framework/Radiography/RadiographyMaskLayer.h Mon Feb 25 17:57:37 2019 +0100 +++ b/Framework/Radiography/RadiographyMaskLayer.h Tue Feb 26 12:58:03 2019 +0100 @@ -40,9 +40,9 @@ mutable std::auto_ptr<Orthanc::ImageAccessor> mask_; public: - RadiographyMaskLayer(const RadiographyScene& scene, const RadiographyDicomLayer& dicomLayer, + RadiographyMaskLayer(MessageBroker& broker, const RadiographyScene& scene, const RadiographyDicomLayer& dicomLayer, float foreground) : - RadiographyLayer(), + RadiographyLayer(broker, scene), dicomLayer_(dicomLayer), invalidated_(true), foreground_(foreground)