Mercurial > hg > orthanc-stone
diff Framework/Toolbox/FiniteProjectiveCamera.cpp @ 684:7719eb852dd5
new class: VolumeImageGeometry
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Thu, 16 May 2019 16:47:46 +0200 |
parents | 11fa6f00e33c |
children | 9a474e90e832 |
line wrap: on
line diff
--- a/Framework/Toolbox/FiniteProjectiveCamera.cpp Thu May 16 16:01:36 2019 +0200 +++ b/Framework/Toolbox/FiniteProjectiveCamera.cpp Thu May 16 16:47:46 2019 +0200 @@ -316,7 +316,7 @@ LOG(WARNING) << "Output pixel format: " << Orthanc::EnumerationToString(target.GetFormat()); std::auto_ptr<OrthancStone::ParallelSlices> slices(source.GetGeometry(projection)); - const OrthancStone::Vector pixelSpacing = source.GetVoxelDimensions(projection); + const OrthancStone::Vector pixelSpacing = source.GetGeometry().GetVoxelDimensions(projection); const unsigned int targetWidth = target.GetWidth(); const unsigned int targetHeight = target.GetHeight();