comparison Framework/Loaders/OrthancSeriesVolumeProgressiveLoader.h @ 1156:34ee7204fde3 broker

removing IGeometryProvider
author Sebastien Jodogne <s.jodogne@gmail.com>
date Sat, 16 Nov 2019 14:37:33 +0100
parents af4b9cba905f
children
comparison
equal deleted inserted replaced
1155:e265ed3f7843 1156:34ee7204fde3
42 is stored in a Dicom series. 42 is stored in a Dicom series.
43 */ 43 */
44 class OrthancSeriesVolumeProgressiveLoader : 44 class OrthancSeriesVolumeProgressiveLoader :
45 public ObserverBase<OrthancSeriesVolumeProgressiveLoader>, 45 public ObserverBase<OrthancSeriesVolumeProgressiveLoader>,
46 public IObservable, 46 public IObservable,
47 public IVolumeSlicer, 47 public IVolumeSlicer
48 public IGeometryProvider
49 { 48 {
50 private: 49 private:
51 static const unsigned int LOW_QUALITY = 0; 50 static const unsigned int LOW_QUALITY = 0;
52 static const unsigned int MIDDLE_QUALITY = 1; 51 static const unsigned int MIDDLE_QUALITY = 1;
53 static const unsigned int BEST_QUALITY = 2; 52 static const unsigned int BEST_QUALITY = 2;
138 /** 137 /**
139 This getter is used by clients that do not receive the geometry through 138 This getter is used by clients that do not receive the geometry through
140 subscribing, for instance if they are created or listening only AFTER the 139 subscribing, for instance if they are created or listening only AFTER the
141 "geometry loaded" message is broadcast 140 "geometry loaded" message is broadcast
142 */ 141 */
143 bool HasGeometry() const ORTHANC_OVERRIDE 142 bool HasGeometry() const
144 { 143 {
145 return seriesGeometry_.HasGeometry(); 144 return seriesGeometry_.HasGeometry();
146 } 145 }
147 146
148 /** 147 /**
149 Same remark as HasGeometry 148 Same remark as HasGeometry
150 */ 149 */
151 const VolumeImageGeometry& GetImageGeometry() const ORTHANC_OVERRIDE 150 const VolumeImageGeometry& GetImageGeometry() const
152 { 151 {
153 return seriesGeometry_.GetImageGeometry(); 152 return seriesGeometry_.GetImageGeometry();
154 } 153 }
155 154
156 /** 155 /**