Mercurial > hg > svgui
diff layer/Colour3DPlotLayer.h @ 1113:261a00010918 spectrogram-minor-refactor
Consts and willRenderOpaque
author | Chris Cannam |
---|---|
date | Tue, 19 Jul 2016 14:49:46 +0100 |
parents | 67dd16e33a3d |
children | a42e5a3c63ef |
line wrap: on
line diff
--- a/layer/Colour3DPlotLayer.h Tue Jul 19 10:12:30 2016 +0100 +++ b/layer/Colour3DPlotLayer.h Tue Jul 19 14:49:46 2016 +0100 @@ -187,7 +187,7 @@ typedef std::map<int, Colour3DPlotRenderer *> ViewRendererMap; // key is view id mutable ViewRendererMap m_renderers; - Colour3DPlotRenderer *getRenderer(LayerGeometryProvider *) const; + Colour3DPlotRenderer *getRenderer(const LayerGeometryProvider *) const; void invalidateRenderers(); /** @@ -196,7 +196,7 @@ * and the vertical scale is the usual way up). Bin number may be * fractional, to obtain a position part-way through a bin. */ - double getYForBin(LayerGeometryProvider *, double bin) const; + double getYForBin(const LayerGeometryProvider *, double bin) const; /** * Return the bin number, possibly fractional, at the given y @@ -204,7 +204,7 @@ * at which the bins "start" (i.e. the bottom of the visible bin, * if the vertical scale is the usual way up). */ - double getBinForY(LayerGeometryProvider *, double y) const; + double getBinForY(const LayerGeometryProvider *, double y) const; DenseThreeDimensionalModel::Column getColumn(int col) const;