Mercurial > hg > orthanc-stone
comparison Framework/Toolbox/SlicesSorter.h @ 661:970949ff868a
fix warning
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Wed, 15 May 2019 09:03:40 +0200 |
parents | 1088d4c4d78c |
children | e9339f2b5de7 |
comparison
equal
deleted
inserted
replaced
660:cb3b76d16234 | 661:970949ff868a |
---|---|
78 | 78 |
79 bool HasSlicePayload(size_t i) const; | 79 bool HasSlicePayload(size_t i) const; |
80 | 80 |
81 const Orthanc::IDynamicObject& GetSlicePayload(size_t i) const; | 81 const Orthanc::IDynamicObject& GetSlicePayload(size_t i) const; |
82 | 82 |
83 // WARNING - Apply the sorting algorithm can reduce the number of | |
84 // slices. This is notably the case if all the slices are not | |
85 // parallel to the reference normal that will be selected. | |
83 bool Sort(); | 86 bool Sort(); |
84 | 87 |
85 bool LookupClosestSlice(size_t& index, | 88 bool LookupClosestSlice(size_t& index, |
86 double& distance, | 89 double& distance, |
87 const CoordinateSystem3D& slice) const; | 90 const CoordinateSystem3D& slice) const; |