Mercurial > hg > orthanc-stone
diff Framework/Toolbox/SlicesSorter.h @ 648:1088d4c4d78c
cont
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Mon, 13 May 2019 17:19:04 +0200 |
parents | 6af3099ed8da |
children | 970949ff868a |
line wrap: on
line diff
--- a/Framework/Toolbox/SlicesSorter.h Mon May 13 17:03:46 2019 +0200 +++ b/Framework/Toolbox/SlicesSorter.h Mon May 13 17:19:04 2019 +0200 @@ -41,6 +41,14 @@ const SliceWithDepth& GetSlice(size_t i) const; + void SetNormal(const Vector& normal); + + void SortInternal(); + + void FilterNormal(const Vector& normal); + + bool SelectNormal(Vector& normal) const; + public: SlicesSorter() : hasNormal_(false) { @@ -71,15 +79,9 @@ bool HasSlicePayload(size_t i) const; const Orthanc::IDynamicObject& GetSlicePayload(size_t i) const; - - void SetNormal(const Vector& normal); + + bool Sort(); - void Sort(); - - void FilterNormal(const Vector& normal); - - bool SelectNormal(Vector& normal) const; - bool LookupClosestSlice(size_t& index, double& distance, const CoordinateSystem3D& slice) const;