comparison Framework/Toolbox/SlicesSorter.h @ 683:dbc1d8bfc68a

reorganizing ImageBuffer3D
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 16 May 2019 16:01:36 +0200
parents e9339f2b5de7
children 24fecc02bfb1
comparison
equal deleted inserted replaced
681:9723fceccb9f 683:dbc1d8bfc68a
82 82
83 // WARNING - Apply the sorting algorithm can reduce the number of 83 // WARNING - Apply the sorting algorithm can reduce the number of
84 // slices. This is notably the case if all the slices are not 84 // slices. This is notably the case if all the slices are not
85 // parallel to the reference normal that will be selected. 85 // parallel to the reference normal that will be selected.
86 bool Sort(); 86 bool Sort();
87 87
88 // TODO - Remove this
88 bool LookupClosestSlice(size_t& index, 89 bool LookupClosestSlice(size_t& index,
89 double& distance, 90 double& distance,
90 const CoordinateSystem3D& slice) const; 91 const CoordinateSystem3D& slice) const;
91 92
92 // WARNING - The slices must have been sorted before calling this method 93 // WARNING - The slices must have been sorted before calling this method