comparison Framework/Radiography/RadiographyScene.h @ 726:4f2416d519b4

moving layers, widgets and loaders to Deprecated namespace
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 21 May 2019 11:43:25 +0200
parents d2c0e347ddc2
children fe938bddb932 c35e98d22764
comparison
equal deleted inserted replaced
714:d2c0e347ddc2 726:4f2416d519b4
147 Layers layers_; 147 Layers layers_;
148 148
149 protected: 149 protected:
150 RadiographyLayer& RegisterLayer(RadiographyLayer* layer); 150 RadiographyLayer& RegisterLayer(RadiographyLayer* layer);
151 151
152 void OnTagsReceived(const OrthancApiClient::BinaryResponseReadyMessage& message); 152 void OnTagsReceived(const Deprecated::OrthancApiClient::BinaryResponseReadyMessage& message);
153 153
154 virtual void OnFrameReceived(const OrthancApiClient::BinaryResponseReadyMessage& message); 154 virtual void OnFrameReceived(const Deprecated::OrthancApiClient::BinaryResponseReadyMessage& message);
155 155
156 void OnDicomExported(const OrthancApiClient::JsonResponseReadyMessage& message); 156 void OnDicomExported(const Deprecated::OrthancApiClient::JsonResponseReadyMessage& message);
157 157
158 void OnDicomWebReceived(const IWebService::HttpRequestSuccessMessage& message); 158 void OnDicomWebReceived(const Deprecated::IWebService::HttpRequestSuccessMessage& message);
159 159
160 void OnLayerEdited(const RadiographyLayer::LayerEditedMessage& message); 160 void OnLayerEdited(const RadiographyLayer::LayerEditedMessage& message);
161 public: 161 public:
162 RadiographyScene(MessageBroker& broker); 162 RadiographyScene(MessageBroker& broker);
163 163
195 unsigned int frame, 195 unsigned int frame,
196 Deprecated::DicomFrameConverter* converter, // takes ownership 196 Deprecated::DicomFrameConverter* converter, // takes ownership
197 PhotometricDisplayMode preferredPhotometricDisplayMode, 197 PhotometricDisplayMode preferredPhotometricDisplayMode,
198 RadiographyLayer::Geometry* geometry); 198 RadiographyLayer::Geometry* geometry);
199 199
200 virtual RadiographyLayer& LoadDicomFrame(OrthancApiClient& orthanc, 200 virtual RadiographyLayer& LoadDicomFrame(Deprecated::OrthancApiClient& orthanc,
201 const std::string& instance, 201 const std::string& instance,
202 unsigned int frame, 202 unsigned int frame,
203 bool httpCompression, 203 bool httpCompression,
204 RadiographyLayer::Geometry* geometry); // pass NULL if you want default geometry 204 RadiographyLayer::Geometry* geometry); // pass NULL if you want default geometry
205 205
206 RadiographyLayer& LoadDicomWebFrame(IWebService& web); 206 RadiographyLayer& LoadDicomWebFrame(Deprecated::IWebService& web);
207 207
208 void RemoveLayer(size_t layerIndex); 208 void RemoveLayer(size_t layerIndex);
209 209
210 const RadiographyLayer& GetLayer(size_t layerIndex) const; 210 const RadiographyLayer& GetLayer(size_t layerIndex) const;
211 211
276 void GetRange(float& minValue, 276 void GetRange(float& minValue,
277 float& maxValue) const; 277 float& maxValue) const;
278 278
279 // Export using PAM is faster than using PNG, but requires Orthanc 279 // Export using PAM is faster than using PNG, but requires Orthanc
280 // core >= 1.4.3 280 // core >= 1.4.3
281 void ExportDicom(OrthancApiClient& orthanc, 281 void ExportDicom(Deprecated::OrthancApiClient& orthanc,
282 const Orthanc::DicomMap& dicom, 282 const Orthanc::DicomMap& dicom,
283 const std::string& parentOrthancId, 283 const std::string& parentOrthancId,
284 double pixelSpacingX, 284 double pixelSpacingX,
285 double pixelSpacingY, 285 double pixelSpacingY,
286 bool invert, 286 bool invert,
287 ImageInterpolation interpolation, 287 ImageInterpolation interpolation,
288 bool usePam); 288 bool usePam);
289 289
290 void ExportDicom(OrthancApiClient& orthanc, 290 void ExportDicom(Deprecated::OrthancApiClient& orthanc,
291 const Json::Value& dicomTags, 291 const Json::Value& dicomTags,
292 const std::string& parentOrthancId, 292 const std::string& parentOrthancId,
293 double pixelSpacingX, 293 double pixelSpacingX,
294 double pixelSpacingY, 294 double pixelSpacingY,
295 bool invert, 295 bool invert,