Mercurial > hg > svgui
comparison layer/Colour3DPlotLayer.cpp @ 1221:eaab8bab3522
Measure time taken to render per pixel, and use the time last time around to decide whether to be time constrained this time around
| author | Chris Cannam |
|---|---|
| date | Thu, 26 Jan 2017 11:55:11 +0000 |
| parents | 2954e9952b78 |
| children | dd3901fe8623 |
comparison
equal
deleted
inserted
replaced
| 1220:2954e9952b78 | 1221:eaab8bab3522 |
|---|---|
| 1108 m_viewMags[viewId] = magRange; | 1108 m_viewMags[viewId] = magRange; |
| 1109 //!!! now need to do the normalise-visible thing | 1109 //!!! now need to do the normalise-visible thing |
| 1110 } | 1110 } |
| 1111 } | 1111 } |
| 1112 | 1112 |
| 1113 cerr << "mag range in this view: " | 1113 SVDEBUG << "Colour3DPlotRenderer::paintWithRenderer: mag range in this view: " |
| 1114 << m_viewMags[v->getId()].getMin() | 1114 << m_viewMags[v->getId()].getMin() |
| 1115 << " -> " | 1115 << " -> " |
| 1116 << m_viewMags[v->getId()].getMax() | 1116 << m_viewMags[v->getId()].getMax() |
| 1117 << endl; | 1117 << endl; |
| 1118 | |
| 1119 } | 1118 } |
| 1120 | 1119 |
| 1121 void | 1120 void |
| 1122 Colour3DPlotLayer::paint(LayerGeometryProvider *v, QPainter &paint, QRect rect) const | 1121 Colour3DPlotLayer::paint(LayerGeometryProvider *v, QPainter &paint, QRect rect) const |
| 1123 { | 1122 { |
