Mercurial > hg > orthanc-stone
comparison OrthancStone/Sources/Toolbox/DicomStructure2.h @ 1895:14c8f339d480
removed redundant definitions Point2D, Point3D and Vector3D from DicomStructureSetUtils.h
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Wed, 19 Jan 2022 14:51:55 +0100 |
parents | 7053b8a0aaec |
children |
comparison
equal
deleted
inserted
replaced
1894:438071a29f77 | 1895:14c8f339d480 |
---|---|
111 | 111 |
112 Then, once this list of rectangles is computed, we need to group the | 112 Then, once this list of rectangles is computed, we need to group the |
113 connected rectangles together. Connected, here, means sharing at least part | 113 connected rectangles together. Connected, here, means sharing at least part |
114 of an edge --> union/find data structures and algorithm. | 114 of an edge --> union/find data structures and algorithm. |
115 */ | 115 */ |
116 bool Project(std::vector< std::pair<Point2D, Point2D> >& polygons, const CoordinateSystem3D& plane) const; | 116 bool Project(std::vector< std::pair<ScenePoint2D, ScenePoint2D> >& polygons, const CoordinateSystem3D& plane) const; |
117 | 117 |
118 std::string interpretation_; | 118 std::string interpretation_; |
119 std::string name_; | 119 std::string name_; |
120 uint8_t red_; | 120 uint8_t red_; |
121 uint8_t green_; | 121 uint8_t green_; |
144 | 144 |
145 void ComputeNormal(); | 145 void ComputeNormal(); |
146 void ComputeSliceThickness(); | 146 void ComputeSliceThickness(); |
147 | 147 |
148 std::vector<DicomStructurePolygon2> polygons_; | 148 std::vector<DicomStructurePolygon2> polygons_; |
149 Vector3D normal_; | 149 Vector normal_; |
150 double sliceThickness_; | 150 double sliceThickness_; |
151 | 151 |
152 /* | 152 /* |
153 After creation (and while polygons are added), state is Building. | 153 After creation (and while polygons are added), state is Building. |
154 After ComputeDependentProperties() is called, state can either be | 154 After ComputeDependentProperties() is called, state can either be |