Mercurial > hg > svgui
diff layer/Colour3DPlotLayer.h @ 535:78f9436195b1
* Add smoothing option to colour 3d plot
author | Chris Cannam |
---|---|
date | Fri, 22 May 2009 13:54:45 +0000 |
parents | 7a560380b6e2 |
children | 5b72899d692b |
line wrap: on
line diff
--- a/layer/Colour3DPlotLayer.h Thu May 21 16:55:57 2009 +0000 +++ b/layer/Colour3DPlotLayer.h Fri May 22 13:54:45 2009 +0000 @@ -128,6 +128,9 @@ void setOpaque(bool i); bool getOpaque() const; + void setSmooth(bool i); + bool getSmooth() const; + virtual bool getValueExtents(float &min, float &max, bool &logarithmic, QString &unit) const; @@ -167,6 +170,7 @@ bool m_normalizeVisibleArea; bool m_invertVertical; bool m_opaque; + bool m_smooth; size_t m_peakResolution; int m_miny; @@ -177,7 +181,6 @@ int getColourScaleWidth(QPainter &) const; void fillCache(size_t firstBin, size_t lastBin) const; void paintDense(View *v, QPainter &paint, QRect rect) const; - void paintSmooth(View *v, QPainter &paint, QRect rect) const; float getYForBin(View *, float bin) const; float getBinForY(View *, float y) const;