comparison Framework/Radiography/RadiographyScene.h @ 1138:1a73f852810a broker

integration mainline->broker
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 07 Nov 2019 07:28:39 +0100
parents d7e06542304c 4663f158c748
children bdc6837d5917
comparison
equal deleted inserted replaced
1137:cc029987b6dc 1138:1a73f852810a
99 { 99 {
100 return layer_; 100 return layer_;
101 } 101 }
102 }; 102 };
103 103
104 class LayerRemovedMessage : public OriginMessage<RadiographyScene>
105 {
106 ORTHANC_STONE_MESSAGE(__FILE__, __LINE__);
107
108 private:
109 size_t& layerIndex_;
110
111 public:
112 LayerRemovedMessage(const RadiographyScene& origin,
113 size_t& layerIndex) :
114 OriginMessage(origin),
115 layerIndex_(layerIndex)
116 {
117 }
118
119 size_t& GetLayerIndex() const
120 {
121 return layerIndex_;
122 }
123 };
124
104 125
105 ORTHANC_STONE_DEFINE_ORIGIN_MESSAGE(__FILE__, __LINE__, WindowingChangedMessage, RadiographyScene); 126 ORTHANC_STONE_DEFINE_ORIGIN_MESSAGE(__FILE__, __LINE__, WindowingChangedMessage, RadiographyScene);
106 127
107 128
108 class LayerAccessor : public boost::noncopyable 129 class LayerAccessor : public boost::noncopyable