diff Framework/Radiography/RadiographyLayer.cpp @ 1336:379c00958553 broker

integration mainline->broker
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 31 Mar 2020 15:51:02 +0200
parents 7ec8fea061b9 a72c2c9af49a
children
line wrap: on
line diff
--- a/Framework/Radiography/RadiographyLayer.cpp	Tue Mar 31 11:01:34 2020 +0200
+++ b/Framework/Radiography/RadiographyLayer.cpp	Tue Mar 31 15:51:02 2020 +0200
@@ -237,8 +237,7 @@
     }
   }
 
-
-  Extent2D RadiographyLayer::GetExtent() const
+  Extent2D RadiographyLayer::GetSceneExtent(bool /*minimal*/) const
   {
     Extent2D extent;
 
@@ -250,6 +249,7 @@
     double dwidth = static_cast<double>(width);
     double dheight = static_cast<double>(height);
 
+    // AddToExtent transforms the coordinates from image to scene
     AddToExtent(extent, dx, dy);
     AddToExtent(extent, dx + dwidth, dy);
     AddToExtent(extent, dx, dy + dheight);