comparison Framework/Toolbox/DicomStructureSet2.h @ 988:4c9b4c4de814 toa2019090901

Fixed bug in DicomStructureSet that prevented points from being added to polygons
author Benjamin Golinvaux <bgo@osimis.io>
date Mon, 09 Sep 2019 16:15:28 +0200
parents d225bccd4d4a
children 38b6bb0bdd72
comparison
equal deleted inserted replaced
987:d225bccd4d4a 988:4c9b4c4de814
71 double sliceThickness_; // In millimeters 71 double sliceThickness_; // In millimeters
72 Points points_; 72 Points points_;
73 Extent2D extent_; 73 Extent2D extent_;
74 74
75 void CheckPointIsOnSlice(const Vector& v) const; 75 void CheckPointIsOnSlice(const Vector& v) const;
76 bool IsPointOnSlice(const Vector& v) const; 76 bool IsPointOnSliceIfAny(const Vector& v) const;
77 77
78 public: 78 public:
79 Polygon(const std::string& sopInstanceUid) : 79 Polygon(const std::string& sopInstanceUid) :
80 sopInstanceUid_(sopInstanceUid), 80 sopInstanceUid_(sopInstanceUid),
81 hasSlice_(false) 81 hasSlice_(false)