diff layer/Colour3DPlotLayer.h @ 903:1757933ce5a7 cxx11

More conversion fixes
author Chris Cannam
date Mon, 09 Mar 2015 08:43:20 +0000
parents 2d4af227fd32
children e0f08e108064
line wrap: on
line diff
--- a/layer/Colour3DPlotLayer.h	Wed Mar 04 19:11:32 2015 +0000
+++ b/layer/Colour3DPlotLayer.h	Mon Mar 09 08:43:20 2015 +0000
@@ -205,12 +205,22 @@
     float getYForBin(View *, float bin) const;
 
     /**
+     * As getYForBin, but rounding to integer values.
+     */
+    int getIYForBin(View *, int bin) const;
+    
+    /**
      * Return the bin number, possibly fractional, at the given y
      * coordinate. Note that the whole numbers occur at the positions
      * at which the bins "start" (i.e. the bottom of the visible bin,
      * if the vertical scale is the usual way up).
      */
     float getBinForY(View *, float y) const;
+
+    /**
+     * As getBinForY, but rounding to integer values.
+     */
+    int getIBinForY(View *, int y) const;
     
     DenseThreeDimensionalModel::Column getColumn(int col) const;