comparison OrthancStone/Sources/Toolbox/CoordinateSystem3D.h @ 1630:78509230f0d7

SortedFrames sharing code with CoordinateSystem3D
author Sebastien Jodogne <s.jodogne@gmail.com>
date Mon, 09 Nov 2020 18:01:32 +0100
parents 8563ea5d8ae4
children 4a43106bc122
comparison
equal deleted inserted replaced
1629:7fc8a3ff09ee 1630:78509230f0d7
32 { 32 {
33 // Geometry of a 3D plane 33 // Geometry of a 3D plane
34 class CoordinateSystem3D 34 class CoordinateSystem3D
35 { 35 {
36 private: 36 private:
37 bool valid_;
37 Vector origin_; 38 Vector origin_;
38 Vector normal_; 39 Vector normal_;
39 Vector axisX_; 40 Vector axisX_;
40 Vector axisY_; 41 Vector axisY_;
41 double d_; 42 double d_;
69 70
70 explicit CoordinateSystem3D(const IDicomDataset& dicom); 71 explicit CoordinateSystem3D(const IDicomDataset& dicom);
71 72
72 explicit CoordinateSystem3D(const Orthanc::DicomMap& dicom); 73 explicit CoordinateSystem3D(const Orthanc::DicomMap& dicom);
73 74
75 bool IsValid() const
76 {
77 return valid_;
78 }
79
74 const Vector& GetNormal() const 80 const Vector& GetNormal() const
75 { 81 {
76 return normal_; 82 return normal_;
77 } 83 }
78 84