comparison layer/ColourScale.cpp @ 1071:65b183494331 spectrogram-minor-refactor

Start stubbing Colour3DPlotRenderer
author Chris Cannam
date Thu, 23 Jun 2016 17:07:21 +0100
parents 27163db978d8
children 7ebfb61b1701
comparison
equal deleted inserted replaced
1070:27163db978d8 1071:65b183494331
52 } 52 }
53 53
54 if (m_mappedMin >= m_mappedMax) { 54 if (m_mappedMin >= m_mappedMax) {
55 throw std::logic_error("maxValue must be greater than minValue [after mapping]"); 55 throw std::logic_error("maxValue must be greater than minValue [after mapping]");
56 } 56 }
57 }
58
59 ColourScale::~ColourScale()
60 {
57 } 61 }
58 62
59 int 63 int
60 ColourScale::getPixel(double value) 64 ColourScale::getPixel(double value)
61 { 65 {