Mercurial > hg > orthanc-stone
comparison Framework/Layers/OrthancFrameLayerSource.cpp @ 110:53025eecbc95 wasm
renamed SliceGeometry as CoordinateSystem3D
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Wed, 14 Jun 2017 15:50:38 +0200 |
parents | fcec0ab44054 |
children | 2eca030792aa |
comparison
equal
deleted
inserted
replaced
109:53bd9277b025 | 110:53025eecbc95 |
---|---|
86 loader_.ScheduleLoadSeries(seriesId); | 86 loader_.ScheduleLoadSeries(seriesId); |
87 } | 87 } |
88 | 88 |
89 | 89 |
90 bool OrthancFrameLayerSource::GetExtent(std::vector<Vector>& points, | 90 bool OrthancFrameLayerSource::GetExtent(std::vector<Vector>& points, |
91 const SliceGeometry& viewportSlice) | 91 const CoordinateSystem3D& viewportSlice) |
92 { | 92 { |
93 size_t index; | 93 size_t index; |
94 if (loader_.IsGeometryReady() && | 94 if (loader_.IsGeometryReady() && |
95 loader_.LookupSlice(index, viewportSlice)) | 95 loader_.LookupSlice(index, viewportSlice)) |
96 { | 96 { |
102 return false; | 102 return false; |
103 } | 103 } |
104 } | 104 } |
105 | 105 |
106 | 106 |
107 void OrthancFrameLayerSource::ScheduleLayerCreation(const SliceGeometry& viewportSlice) | 107 void OrthancFrameLayerSource::ScheduleLayerCreation(const CoordinateSystem3D& viewportSlice) |
108 { | 108 { |
109 size_t index; | 109 size_t index; |
110 | 110 |
111 if (loader_.IsGeometryReady()) | 111 if (loader_.IsGeometryReady()) |
112 { | 112 { |