Mercurial > hg > orthanc-stone
comparison OrthancStone/Sources/Toolbox/SlicesSorter.h @ 1766:ae18b5cfbd3e
VolumeImageGeometry::DetectProjection() reports if normal is opposite
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 11 May 2021 11:31:34 +0200 |
parents | 9ac2a65d4172 |
children | 3889ae96d2e9 |
comparison
equal
deleted
inserted
replaced
1765:177f93c8371c | 1766:ae18b5cfbd3e |
---|---|
84 // WARNING - Apply the sorting algorithm can reduce the number of | 84 // WARNING - Apply the sorting algorithm can reduce the number of |
85 // slices. This is notably the case if all the slices are not | 85 // slices. This is notably the case if all the slices are not |
86 // parallel to the reference normal that will be selected. | 86 // parallel to the reference normal that will be selected. |
87 bool Sort(); | 87 bool Sort(); |
88 | 88 |
89 // TODO - Remove this | |
90 bool LookupClosestSlice(size_t& index, | |
91 double& distance, | |
92 const CoordinateSystem3D& slice) const; | |
93 | |
94 // WARNING - The slices must have been sorted before calling this method | 89 // WARNING - The slices must have been sorted before calling this method |
95 bool ComputeSpacingBetweenSlices(double& spacing /* out */) const; | 90 bool ComputeSpacingBetweenSlices(double& spacing /* out */) const; |
96 | 91 |
97 // WARNING - The slices must have been sorted before calling this method | 92 // WARNING - The slices must have been sorted before calling this method |
98 bool AreAllSlicesDistinct() const; | 93 bool AreAllSlicesDistinct() const; |