Mercurial > hg > orthanc-stone
diff 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 |
line wrap: on
line diff
--- a/Framework/Toolbox/SlicesSorter.h Tue May 14 19:38:51 2019 +0200 +++ b/Framework/Toolbox/SlicesSorter.h Wed May 15 09:03:40 2019 +0200 @@ -80,6 +80,9 @@ const Orthanc::IDynamicObject& GetSlicePayload(size_t i) const; + // WARNING - Apply the sorting algorithm can reduce the number of + // slices. This is notably the case if all the slices are not + // parallel to the reference normal that will be selected. bool Sort(); bool LookupClosestSlice(size_t& index,