comparison Framework/Deprecated/SmartLoader.h @ 739:be9c1530d40a

deprecating enum SliceImageQuality
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 22 May 2019 09:13:04 +0200
parents c35e98d22764
children e713f1a99861 2d8ab34c8c91
comparison
equal deleted inserted replaced
738:8e31b174ab26 739:be9c1530d40a
39 CachedSlices cachedSlices_; 39 CachedSlices cachedSlices_;
40 40
41 typedef std::map<std::string, boost::shared_ptr<IVolumeSlicer> > PreloadingInstances; 41 typedef std::map<std::string, boost::shared_ptr<IVolumeSlicer> > PreloadingInstances;
42 PreloadingInstances preloadingInstances_; 42 PreloadingInstances preloadingInstances_;
43 43
44 OrthancStone::SliceImageQuality imageQuality_; 44 SliceImageQuality imageQuality_;
45 OrthancApiClient& orthancApiClient_; 45 OrthancApiClient& orthancApiClient_;
46 46
47 public: 47 public:
48 SmartLoader(OrthancStone::MessageBroker& broker, OrthancApiClient& orthancApiClient); // TODO: add maxPreloadStorageSizeInBytes 48 SmartLoader(OrthancStone::MessageBroker& broker, OrthancApiClient& orthancApiClient); // TODO: add maxPreloadStorageSizeInBytes
49 49
50 // void PreloadStudy(const std::string studyId); 50 // void PreloadStudy(const std::string studyId);
51 // void PreloadSeries(const std::string seriesId); 51 // void PreloadSeries(const std::string seriesId);
52 void PreloadSlice(const std::string instanceId, unsigned int frame); 52 void PreloadSlice(const std::string instanceId, unsigned int frame);
53 53
54 void SetImageQuality(OrthancStone::SliceImageQuality imageQuality) { imageQuality_ = imageQuality; } 54 void SetImageQuality(SliceImageQuality imageQuality) { imageQuality_ = imageQuality; }
55 55
56 void SetFrameInWidget(SliceViewerWidget& sliceViewer, size_t layerIndex, const std::string& instanceId, unsigned int frame); 56 void SetFrameInWidget(SliceViewerWidget& sliceViewer, size_t layerIndex, const std::string& instanceId, unsigned int frame);
57 57
58 void GetFirstInstanceIdForSeries(std::string& output, const std::string& seriesId); 58 void GetFirstInstanceIdForSeries(std::string& output, const std::string& seriesId);
59 59