Mercurial > hg > orthanc
comparison OrthancServer/SliceOrdering.h @ 2804:d88970f1ffbf
fix ordering of non-parallel slices + /tools/reconstruct
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Wed, 29 Aug 2018 13:24:28 +0200 |
parents | 878b59270859 |
children | 4e43e67f8ecf |
comparison
equal
deleted
inserted
replaced
2803:579acc5e5412 | 2804:d88970f1ffbf |
---|---|
50 bool hasNormal_; | 50 bool hasNormal_; |
51 Vector normal_; | 51 Vector normal_; |
52 std::vector<Instance*> instances_; | 52 std::vector<Instance*> instances_; |
53 bool isVolume_; | 53 bool isVolume_; |
54 | 54 |
55 static bool ComputeNormal(Vector& normal, | |
56 const DicomMap& dicom); | |
57 | |
58 static bool IsParallelOrOpposite(const Vector& a, | |
59 const Vector& b); | |
60 | |
55 static bool IndexInSeriesComparator(const SliceOrdering::Instance* a, | 61 static bool IndexInSeriesComparator(const SliceOrdering::Instance* a, |
56 const SliceOrdering::Instance* b); | 62 const SliceOrdering::Instance* b); |
57 | 63 |
58 void ComputeNormal(); | 64 void ComputeNormal(); |
59 | 65 |