comparison layer/Colour3DPlotRenderer.h @ 1139:2976f57164ac spectrogram-minor-refactor

Reconnect double-click region select in spectrogram
author Chris Cannam
date Thu, 04 Aug 2016 17:29:33 +0100
parents 998e31e92dbe
children 436df5f24bda
comparison
equal deleted inserted replaced
1138:998e31e92dbe 1139:2976f57164ac
220 * \see ColourScale::getColour 220 * \see ColourScale::getColour
221 */ 221 */
222 QColor getColour(double value) const { 222 QColor getColour(double value) const {
223 return m_params.colourScale.getColour(value, m_params.colourRotation); 223 return m_params.colourScale.getColour(value, m_params.colourRotation);
224 } 224 }
225
226 /**
227 * Return the enclosing rectangle for the region of similar colour
228 * to the given point within the cache. Return an empty QRect if
229 * this is not possible. \see ImageRegionFinder
230 */
231 QRect findSimilarRegionExtents(QPoint point) const;
225 232
226 private: 233 private:
227 Sources m_sources; 234 Sources m_sources;
228 Parameters m_params; 235 Parameters m_params;
229 236