Mercurial > hg > svgui
comparison layer/Colour3DPlotRenderer.cpp @ 1235:dd3901fe8623
Wire up normalise-visible-area mode in colour 3d plot
author | Chris Cannam |
---|---|
date | Fri, 27 Jan 2017 11:39:42 +0000 |
parents | 3ef162c9df00 |
children | 784c92f93fb6 |
comparison
equal
deleted
inserted
replaced
1234:81dfe06a45c9 | 1235:dd3901fe8623 |
---|---|
103 // will be fiddly for partial paints otherwise. | 103 // will be fiddly for partial paints otherwise. |
104 timeConstrained = false; | 104 timeConstrained = false; |
105 | 105 |
106 } else if (m_secondsPerXPixelValid) { | 106 } else if (m_secondsPerXPixelValid) { |
107 double predicted = m_secondsPerXPixel * rect.width(); | 107 double predicted = m_secondsPerXPixel * rect.width(); |
108 #ifdef DEBUG_COLOUR_PLOT_REPAINT | 108 /#ifdef DEBUG_COLOUR_PLOT_REPAINT |
109 SVDEBUG << "Predicted time for width " << rect.width() << " = " | 109 SVDEBUG << "Predicted time for width " << rect.width() << " = " |
110 << predicted << endl; | 110 << predicted << endl; |
111 #endif | 111 #endif |
112 if (predicted < 0.1) { | 112 if (predicted < 0.1) { |
113 #ifdef DEBUG_COLOUR_PLOT_REPAINT | 113 #ifdef DEBUG_COLOUR_PLOT_REPAINT |