Mercurial > hg > orthanc-stone
comparison Framework/Deprecated/Layers/DicomSeriesVolumeSlicer.h @ 1068:04a95ee91327 broker
recovery of OrthancStoneSingleFrame
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 15 Oct 2019 19:36:57 +0200 |
parents | b537002f83a9 |
children | 0ca50d275b9a |
comparison
equal
deleted
inserted
replaced
1067:05b2e71ed145 | 1068:04a95ee91327 |
---|---|
78 | 78 |
79 | 79 |
80 private: | 80 private: |
81 class RendererFactory; | 81 class RendererFactory; |
82 | 82 |
83 OrthancSlicesLoader loader_; | 83 boost::shared_ptr<OrthancSlicesLoader> loader_; |
84 SliceImageQuality quality_; | 84 SliceImageQuality quality_; |
85 | 85 |
86 public: | 86 public: |
87 DicomSeriesVolumeSlicer(OrthancApiClient& orthanc); | 87 DicomSeriesVolumeSlicer(); |
88 | 88 |
89 void Connect(boost::shared_ptr<OrthancApiClient> orthanc); | |
90 | |
89 void LoadSeries(const std::string& seriesId); | 91 void LoadSeries(const std::string& seriesId); |
90 | 92 |
91 void LoadInstance(const std::string& instanceId); | 93 void LoadInstance(const std::string& instanceId); |
92 | 94 |
93 void LoadFrame(const std::string& instanceId, | 95 void LoadFrame(const std::string& instanceId, |
103 return quality_; | 105 return quality_; |
104 } | 106 } |
105 | 107 |
106 size_t GetSlicesCount() const | 108 size_t GetSlicesCount() const |
107 { | 109 { |
108 return loader_.GetSlicesCount(); | 110 return loader_->GetSlicesCount(); |
109 } | 111 } |
110 | 112 |
111 const Slice& GetSlice(size_t slice) const | 113 const Slice& GetSlice(size_t slice) const |
112 { | 114 { |
113 return loader_.GetSlice(slice); | 115 return loader_->GetSlice(slice); |
114 } | 116 } |
115 | 117 |
116 virtual bool GetExtent(std::vector<OrthancStone::Vector>& points, | 118 virtual bool GetExtent(std::vector<OrthancStone::Vector>& points, |
117 const OrthancStone::CoordinateSystem3D& viewportSlice); | 119 const OrthancStone::CoordinateSystem3D& viewportSlice); |
118 | 120 |