Mercurial > hg > orthanc-stone
diff Framework/Radiography/RadiographyLayerCropTracker.cpp @ 430:b85f635f1eb5 am-vsol-upgrade
added serialization for RadiographyScene
author | am@osimis.io |
---|---|
date | Thu, 29 Nov 2018 15:11:19 +0100 |
parents | c0589c3173fd |
children | 04711a2e12cd |
line wrap: on
line diff
--- a/Framework/Radiography/RadiographyLayerCropTracker.cpp Wed Nov 28 10:46:32 2018 +0100 +++ b/Framework/Radiography/RadiographyLayerCropTracker.cpp Thu Nov 29 15:11:19 2018 +0100 @@ -58,7 +58,7 @@ sourceCropWidth_(tracker.cropWidth_), sourceCropHeight_(tracker.cropHeight_) { - tracker.accessor_.GetLayer().GetCrop(targetCropX_, targetCropY_, + tracker.accessor_.GetLayer().GetGeometry().GetCrop(targetCropX_, targetCropY_, targetCropWidth_, targetCropHeight_); } }; @@ -77,7 +77,7 @@ { if (accessor_.IsValid()) { - accessor_.GetLayer().GetCrop(cropX_, cropY_, cropWidth_, cropHeight_); + accessor_.GetLayer().GetGeometry().GetCrop(cropX_, cropY_, cropWidth_, cropHeight_); } }