Mercurial > hg > orthanc-stone
diff Framework/Toolbox/OrientedBoundingBox.cpp @ 684:7719eb852dd5
new class: VolumeImageGeometry
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Thu, 16 May 2019 16:47:46 +0200 |
parents | b70e9be013e4 |
children | c3bbb130abc4 |
line wrap: on
line diff
--- a/Framework/Toolbox/OrientedBoundingBox.cpp Thu May 16 16:01:36 2019 +0200 +++ b/Framework/Toolbox/OrientedBoundingBox.cpp Thu May 16 16:47:46 2019 +0200 @@ -37,8 +37,8 @@ throw Orthanc::OrthancException(Orthanc::ErrorCode_IncompatibleImageSize); } - const CoordinateSystem3D& geometry = image.GetAxialGeometry(); - Vector dim = image.GetVoxelDimensions(VolumeProjection_Axial); + const CoordinateSystem3D& geometry = image.GetGeometry().GetAxialGeometry(); + Vector dim = image.GetGeometry().GetVoxelDimensions(VolumeProjection_Axial); u_ = geometry.GetAxisX(); v_ = geometry.GetAxisY();