comparison layer/Colour3DPlotLayer.cpp @ 443:5124d1494a59

* Add use-log-scale estimator. Not quite right yet; the model doesn't actually have any data in it yet at the point where we want to make this decision * Update changelog
author Chris Cannam
date Tue, 11 Nov 2008 13:54:47 +0000
parents e1a9e478b7f2
children e5800f4490c4
comparison
equal deleted inserted replaced
442:c803eb18ebba 443:5124d1494a59
570 } 570 }
571 571
572 void 572 void
573 Colour3DPlotLayer::paint(View *v, QPainter &paint, QRect rect) const 573 Colour3DPlotLayer::paint(View *v, QPainter &paint, QRect rect) const
574 { 574 {
575 /*!!!
576 if (m_model) {
577 std::cerr << "Colour3DPlotLayer::paint: model says shouldUseLogValueScale = " << m_model->shouldUseLogValueScale() << std::endl;
578 }
579 */
575 // Profiler profiler("Colour3DPlotLayer::paint"); 580 // Profiler profiler("Colour3DPlotLayer::paint");
576 #ifdef DEBUG_COLOUR_3D_PLOT_LAYER_PAINT 581 #ifdef DEBUG_COLOUR_3D_PLOT_LAYER_PAINT
577 std::cerr << "Colour3DPlotLayer::paint(): m_model is " << m_model << ", zoom level is " << v->getZoomLevel() << std::endl; 582 std::cerr << "Colour3DPlotLayer::paint(): m_model is " << m_model << ", zoom level is " << v->getZoomLevel() << std::endl;
578 #endif 583 #endif
579 584