Mercurial > hg > orthanc-stone
changeset 2215:d888cc7d7820
removed unused member DicomStructureSet::Polygon::extent_
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 22 Apr 2025 16:39:11 +0200 (6 weeks ago) |
parents | b66c827a4a5c |
children | d0d8090ea64f |
files | OrthancStone/Sources/Toolbox/DicomStructureSet.cpp OrthancStone/Sources/Toolbox/DicomStructureSet.h |
diffstat | 2 files changed, 0 insertions(+), 13 deletions(-) [+] |
line wrap: on
line diff
--- a/OrthancStone/Sources/Toolbox/DicomStructureSet.cpp Tue Apr 22 15:40:50 2025 +0200 +++ b/OrthancStone/Sources/Toolbox/DicomStructureSet.cpp Tue Apr 22 16:39:11 2025 +0200 @@ -226,18 +226,6 @@ geometry_ = geometry; projectionAlongNormal_ = GeometryToolbox::ProjectAlongNormal(geometry.GetOrigin(), geometry.GetNormal()); sliceThickness_ = it->second.thickness_; - - extent_.Clear(); - - for (Points::const_iterator it2 = points_.begin(); it2 != points_.end(); ++it2) - { - if (IsPointOnSliceIfAny(*it2)) - { - double x, y; - geometry.ProjectPoint2(x, y, *it2); - extent_.AddPoint(x, y); - } - } return true; } }
--- a/OrthancStone/Sources/Toolbox/DicomStructureSet.h Tue Apr 22 15:40:50 2025 +0200 +++ b/OrthancStone/Sources/Toolbox/DicomStructureSet.h Tue Apr 22 16:39:11 2025 +0200 @@ -81,7 +81,6 @@ double projectionAlongNormal_; double sliceThickness_; // In millimeters Points points_; - Extent2D extent_; bool IsPointOnSliceIfAny(const Vector& v) const;