Mercurial > hg > orthanc-stone
comparison Framework/Widgets/LayerWidget.cpp @ 329:b10dfdb96866 am-2
removing WorldSceneWidget::IWorldObserver
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Wed, 17 Oct 2018 12:30:32 +0200 |
parents | 3a4ca166fafa |
children | 70256a53ff21 |
comparison
equal
deleted
inserted
replaced
328:c80b5bddf86b | 329:b10dfdb96866 |
---|---|
253 | 253 |
254 void LayerWidget::GetLayerExtent(Extent2D& extent, | 254 void LayerWidget::GetLayerExtent(Extent2D& extent, |
255 ILayerSource& source) const | 255 ILayerSource& source) const |
256 { | 256 { |
257 extent.Reset(); | 257 extent.Reset(); |
258 | 258 |
259 std::vector<Vector> points; | 259 std::vector<Vector> points; |
260 if (source.GetExtent(points, slice_)) | 260 if (source.GetExtent(points, slice_)) |
261 { | 261 { |
262 for (size_t i = 0; i < points.size(); i++) | 262 for (size_t i = 0; i < points.size(); i++) |
263 { | 263 { |