Mercurial > hg > orthanc-stone
comparison 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 |
comparison
equal
deleted
inserted
replaced
502:3ae7563b4fe1 | 503:77e0eb83ff63 |
---|---|
38 mutable bool invalidated_; | 38 mutable bool invalidated_; |
39 float foreground_; | 39 float foreground_; |
40 | 40 |
41 mutable std::auto_ptr<Orthanc::ImageAccessor> mask_; | 41 mutable std::auto_ptr<Orthanc::ImageAccessor> mask_; |
42 public: | 42 public: |
43 RadiographyMaskLayer(const RadiographyScene& scene, const RadiographyDicomLayer& dicomLayer, | 43 RadiographyMaskLayer(MessageBroker& broker, const RadiographyScene& scene, const RadiographyDicomLayer& dicomLayer, |
44 float foreground) : | 44 float foreground) : |
45 RadiographyLayer(), | 45 RadiographyLayer(broker, scene), |
46 dicomLayer_(dicomLayer), | 46 dicomLayer_(dicomLayer), |
47 invalidated_(true), | 47 invalidated_(true), |
48 foreground_(foreground) | 48 foreground_(foreground) |
49 { | 49 { |
50 } | 50 } |