diff Framework/Radiography/RadiographyLayer.h @ 480:2f6ecb5037ea am-touch-events

added mouse tracker for Layer Mask. Everything seems ok
author am@osimis.io
date Thu, 14 Feb 2019 10:18:02 +0100
parents a95090305dd4
children 77e0eb83ff63
line wrap: on
line diff
--- a/Framework/Radiography/RadiographyLayer.h	Wed Feb 13 14:14:42 2019 +0100
+++ b/Framework/Radiography/RadiographyLayer.h	Thu Feb 14 10:18:02 2019 +0100
@@ -178,9 +178,6 @@
       prefferedPhotometricDisplayMode_ = prefferedPhotometricDisplayMode;
     }
 
-    virtual void GetControlPointInternal(ControlPoint& controlPoint,
-                                         size_t index) const;
-
   private:
     void UpdateTransform();
 
@@ -260,10 +257,10 @@
 
     Extent2D GetExtent() const;
 
-    bool GetPixel(unsigned int& imageX,
-                  unsigned int& imageY,
-                  double sceneX,
-                  double sceneY) const;
+    virtual bool GetPixel(unsigned int& imageX,
+                          unsigned int& imageY,
+                          double sceneX,
+                          double sceneY) const;
 
     void SetPixelSpacing(double x,
                          double y);
@@ -271,12 +268,12 @@
     void GetCenter(double& centerX,
                    double& centerY) const;
 
-    void GetControlPoint(ControlPoint& controlPoint,
-                         size_t index) const;
+    virtual void GetControlPoint(ControlPoint& cpScene /* out in scene coordinates */,
+                                 size_t index) const;
 
     virtual size_t GetControlPointCount() const;
 
-    bool LookupControlPoint(ControlPoint& controlPoint /* out */,
+    bool LookupControlPoint(ControlPoint& cpScene /* out */,
                             double x,
                             double y,
                             double zoom,