Mercurial > hg > orthanc-stone
diff Framework/Radiography/RadiographyAlphaLayer.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 | b85f635f1eb5 |
children | b537002f83a9 a5f2a6b04a31 |
line wrap: on
line diff
--- a/Framework/Radiography/RadiographyAlphaLayer.h Mon Feb 25 17:57:37 2019 +0100 +++ b/Framework/Radiography/RadiographyAlphaLayer.h Tue Feb 26 12:58:03 2019 +0100 @@ -33,14 +33,13 @@ class RadiographyAlphaLayer : public RadiographyLayer { private: - const RadiographyScene& scene_; std::auto_ptr<Orthanc::ImageAccessor> alpha_; // Grayscale8 bool useWindowing_; float foreground_; public: - RadiographyAlphaLayer(const RadiographyScene& scene) : - scene_(scene), + RadiographyAlphaLayer(MessageBroker& broker, const RadiographyScene& scene) : + RadiographyLayer(broker, scene), useWindowing_(true), foreground_(0) {