comparison layer/Colour3DPlotLayer.h @ 531:0bd0b517e795

* Make a start on logarithmic vertical scale in colour 3d plot
author Chris Cannam
date Mon, 18 May 2009 13:55:47 +0000
parents f8b98f63f200
children 188049db73fa
comparison
equal deleted inserted replaced
530:c7fd7bce3c09 531:0bd0b517e795
95 ColourScale getColourScale() const { return m_colourScale; } 95 ColourScale getColourScale() const { return m_colourScale; }
96 96
97 void setColourMap(int map); 97 void setColourMap(int map);
98 int getColourMap() const; 98 int getColourMap() const;
99 99
100 enum BinScale {
101 LinearBinScale,
102 LogBinScale
103 };
104
105 /**
106 * Specify the scale for the y axis.
107 */
108 void setBinScale(BinScale);
109 BinScale getBinScale() const;
110
100 void setNormalizeColumns(bool n); 111 void setNormalizeColumns(bool n);
101 bool getNormalizeColumns() const; 112 bool getNormalizeColumns() const;
102 113
103 void setNormalizeVisibleArea(bool n); 114 void setNormalizeVisibleArea(bool n);
104 bool getNormalizeVisibleArea() const; 115 bool getNormalizeVisibleArea() const;
140 mutable size_t m_cacheValidEnd; 151 mutable size_t m_cacheValidEnd;
141 152
142 ColourScale m_colourScale; 153 ColourScale m_colourScale;
143 bool m_colourScaleSet; 154 bool m_colourScaleSet;
144 int m_colourMap; 155 int m_colourMap;
156 BinScale m_binScale;
145 bool m_normalizeColumns; 157 bool m_normalizeColumns;
146 bool m_normalizeVisibleArea; 158 bool m_normalizeVisibleArea;
147 bool m_invertVertical; 159 bool m_invertVertical;
148 bool m_opaque; 160 bool m_opaque;
149 size_t m_peakResolution; 161 size_t m_peakResolution;