Mercurial > hg > orthanc-stone
comparison Framework/Layers/OrthancFrameLayerSource.h @ 300:b4abaeb783b1 am-callable-and-promise
messaging refactoring almost complete: works fine in native
author | am@osimis.io |
---|---|
date | Tue, 18 Sep 2018 15:23:21 +0200 |
parents | 3897f9f28cfa |
children | 3a4ca166fafa |
comparison
equal
deleted
inserted
replaced
299:3897f9f28cfa | 300:b4abaeb783b1 |
---|---|
22 #pragma once | 22 #pragma once |
23 | 23 |
24 #include "LayerSourceBase.h" | 24 #include "LayerSourceBase.h" |
25 #include "../Toolbox/IWebService.h" | 25 #include "../Toolbox/IWebService.h" |
26 #include "../Toolbox/OrthancSlicesLoader.h" | 26 #include "../Toolbox/OrthancSlicesLoader.h" |
27 #include "../Toolbox/OrthancApiClient.h" | |
27 | 28 |
28 namespace OrthancStone | 29 namespace OrthancStone |
29 { | 30 { |
30 // this class is in charge of loading a Frame. | 31 // this class is in charge of loading a Frame. |
31 // once it's been loaded (first the geometry and then the image), | 32 // once it's been loaded (first the geometry and then the image), |
38 private: | 39 private: |
39 OrthancSlicesLoader loader_; | 40 OrthancSlicesLoader loader_; |
40 SliceImageQuality quality_; | 41 SliceImageQuality quality_; |
41 | 42 |
42 public: | 43 public: |
43 OrthancFrameLayerSource(MessageBroker& broker, IWebService& orthanc); | 44 OrthancFrameLayerSource(MessageBroker& broker, OrthancApiClient& orthanc); |
44 | 45 |
45 void LoadSeries(const std::string& seriesId); | 46 void LoadSeries(const std::string& seriesId); |
46 | 47 |
47 void LoadInstance(const std::string& instanceId); | 48 void LoadInstance(const std::string& instanceId); |
48 | 49 |