diff Framework/Widgets/LayerWidget.h @ 85:bd48431ac285 wasm

fix
author Sebastien Jodogne <s.jodogne@gmail.com>
date Fri, 26 May 2017 12:20:26 +0200
parents 93b917b02fee
children 02c3a7a4938f
line wrap: on
line diff
--- a/Framework/Widgets/LayerWidget.h	Wed May 24 23:25:36 2017 +0200
+++ b/Framework/Widgets/LayerWidget.h	Fri May 26 12:20:26 2017 +0200
@@ -48,7 +48,12 @@
 
     bool LookupLayer(size_t& index /* out */,
                      ILayerSource& layer) const;
-    
+
+    bool GetAndFixExtent(double& x1,
+                         double& y1,
+                         double& x2,
+                         double& y2,
+                         ILayerSource& source) const;
 
     virtual void NotifyGeometryReady(ILayerSource& source);
 
@@ -94,6 +99,11 @@
 
     void SetSlice(const SliceGeometry& slice);
 
+    const SliceGeometry& GetSlice() const
+    {
+      return slice_;
+    }
+
     virtual void Start();
   };
 }