diff OrthancStone/Sources/Toolbox/DicomStructureSet.cpp @ 1610:b7630b1a0253

ISceneLayer::GetBoundingBox() returns void
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 29 Oct 2020 17:13:13 +0100
parents 8563ea5d8ae4
children 9ac2a65d4172
line wrap: on
line diff
--- a/OrthancStone/Sources/Toolbox/DicomStructureSet.cpp	Thu Oct 29 17:01:29 2020 +0100
+++ b/OrthancStone/Sources/Toolbox/DicomStructureSet.cpp	Thu Oct 29 17:13:13 2020 +0100
@@ -258,7 +258,7 @@
         projectionAlongNormal_ = GeometryToolbox::ProjectAlongNormal(geometry.GetOrigin(), geometry.GetNormal());
         sliceThickness_ = it->second.thickness_;
 
-        extent_.Reset();
+        extent_.Clear();
         
         for (Points::const_iterator it2 = points_.begin(); it2 != points_.end(); ++it2)
         {