comparison 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
comparison
equal deleted inserted replaced
902:a1226b3b7925 903:1757933ce5a7
203 * fractional, to obtain a position part-way through a bin. 203 * fractional, to obtain a position part-way through a bin.
204 */ 204 */
205 float getYForBin(View *, float bin) const; 205 float getYForBin(View *, float bin) const;
206 206
207 /** 207 /**
208 * As getYForBin, but rounding to integer values.
209 */
210 int getIYForBin(View *, int bin) const;
211
212 /**
208 * Return the bin number, possibly fractional, at the given y 213 * Return the bin number, possibly fractional, at the given y
209 * coordinate. Note that the whole numbers occur at the positions 214 * coordinate. Note that the whole numbers occur at the positions
210 * at which the bins "start" (i.e. the bottom of the visible bin, 215 * at which the bins "start" (i.e. the bottom of the visible bin,
211 * if the vertical scale is the usual way up). 216 * if the vertical scale is the usual way up).
212 */ 217 */
213 float getBinForY(View *, float y) const; 218 float getBinForY(View *, float y) const;
219
220 /**
221 * As getBinForY, but rounding to integer values.
222 */
223 int getIBinForY(View *, int y) const;
214 224
215 DenseThreeDimensionalModel::Column getColumn(int col) const; 225 DenseThreeDimensionalModel::Column getColumn(int col) const;
216 226
217 /** 227 /**
218 * True if we have the opaque or smooth flag set, or if the cells 228 * True if we have the opaque or smooth flag set, or if the cells