Mercurial > hg > svgui
diff layer/Colour3DPlotLayer.cpp @ 1085:179ea8a2f650 spectrogram-minor-refactor
Add VerticalBinLayer to SpectrogramLayer
author | Chris Cannam |
---|---|
date | Fri, 01 Jul 2016 17:54:31 +0100 |
parents | ee01a4062747 |
children | 5c6271734790 |
line wrap: on
line diff
--- a/layer/Colour3DPlotLayer.cpp Fri Jul 01 11:37:46 2016 +0100 +++ b/layer/Colour3DPlotLayer.cpp Fri Jul 01 17:54:31 2016 +0100 @@ -670,12 +670,6 @@ return y; } -int -Colour3DPlotLayer::getIYForBin(LayerGeometryProvider *v, int bin) const -{ - return int(round(getYForBin(v, bin))); -} - double Colour3DPlotLayer::getBinForY(LayerGeometryProvider *v, double y) const { @@ -694,12 +688,6 @@ return bin; } -int -Colour3DPlotLayer::getIBinForY(LayerGeometryProvider *v, int y) const -{ - return int(floor(getBinForY(v, y))); -} - QString Colour3DPlotLayer::getFeatureDescription(LayerGeometryProvider *v, QPoint &pos) const {