Mercurial > hg > orthanc-stone
comparison OrthancStone/Sources/Loaders/OrthancSeriesVolumeProgressiveLoader.h @ 1755:1a775f4ee672
added ability to specify initial slice in
BasicFetchingStrategy and using it
in OrthancSeriesVolumeProgressiveLoader
author | bgo@SHARKNADO.localdomain |
---|---|
date | Mon, 26 Apr 2021 12:05:40 +0200 |
parents | 9ac2a65d4172 |
children | 3889ae96d2e9 |
comparison
equal
deleted
inserted
replaced
1754:34ab7f643327 | 1755:1a775f4ee672 |
---|---|
119 void LoadJpegSliceContent(const GetOrthancWebViewerJpegCommand::SuccessMessage& message); | 119 void LoadJpegSliceContent(const GetOrthancWebViewerJpegCommand::SuccessMessage& message); |
120 | 120 |
121 ILoadersContext& loadersContext_; | 121 ILoadersContext& loadersContext_; |
122 bool active_; | 122 bool active_; |
123 bool progressiveQuality_; | 123 bool progressiveQuality_; |
124 bool startCenter_; | |
124 unsigned int simultaneousDownloads_; | 125 unsigned int simultaneousDownloads_; |
125 SeriesGeometry seriesGeometry_; | 126 SeriesGeometry seriesGeometry_; |
126 boost::shared_ptr<DicomVolumeImage> volume_; | 127 boost::shared_ptr<DicomVolumeImage> volume_; |
127 std::unique_ptr<IFetchingItemsSorter::IFactory> sorter_; | 128 std::unique_ptr<IFetchingItemsSorter::IFactory> sorter_; |
128 std::unique_ptr<IFetchingStrategy> strategy_; | 129 std::unique_ptr<IFetchingStrategy> strategy_; |
152 boost::shared_ptr<DicomVolumeImage> volume, | 153 boost::shared_ptr<DicomVolumeImage> volume, |
153 bool progressiveQuality = false); | 154 bool progressiveQuality = false); |
154 | 155 |
155 virtual ~OrthancSeriesVolumeProgressiveLoader(); | 156 virtual ~OrthancSeriesVolumeProgressiveLoader(); |
156 | 157 |
158 void SetStartCenter(bool startCenter); | |
159 | |
157 void SetSimultaneousDownloads(unsigned int count); | 160 void SetSimultaneousDownloads(unsigned int count); |
158 | 161 |
159 /** | 162 /** |
160 Sets the relative priority of the requests for metadata. | 163 Sets the relative priority of the requests for metadata. |
161 - if p < PRIORITY_HIGH (-1) , the requests will be high priority | 164 - if p < PRIORITY_HIGH (-1) , the requests will be high priority |