Mercurial > hg > svcore
comparison data/model/DenseThreeDimensionalModel.h @ 478:1405f4a2caf3
* 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 | 700cd3350391 |
children | 83eae5239db6 |
comparison
equal
deleted
inserted
replaced
477:e0784311a103 | 478:1405f4a2caf3 |
---|---|
78 * that bin across all columns). | 78 * that bin across all columns). |
79 */ | 79 */ |
80 virtual QString getBinName(size_t n) const = 0; | 80 virtual QString getBinName(size_t n) const = 0; |
81 | 81 |
82 /** | 82 /** |
83 * Estimate whether a logarithmic scale might be appropriate for | |
84 * the value scale. | |
85 */ | |
86 virtual bool shouldUseLogValueScale() const = 0; | |
87 | |
88 /** | |
83 * Utility function to query whether a given bin is greater than | 89 * Utility function to query whether a given bin is greater than |
84 * its (vertical) neighbours. | 90 * its (vertical) neighbours. |
85 */ | 91 */ |
86 bool isLocalPeak(size_t x, size_t y) { | 92 bool isLocalPeak(size_t x, size_t y) { |
87 float value = getValueAt(x, y); | 93 float value = getValueAt(x, y); |