comparison data/model/DenseThreeDimensionalModel.h @ 223:bf753a9abf0c

* Add slice layers (so you can display a slice of a colour 3d plot as if it were a spectrum) * Make spectrum layer a subclass of slice layer
author Chris Cannam
date Fri, 26 Jan 2007 16:59:57 +0000
parents 91fdc752e540
children 700cd3350391
comparison
equal deleted inserted replaced
222:c7122e70f8ec 223:bf753a9abf0c
52 */ 52 */
53 virtual float getMaximumLevel() const = 0; 53 virtual float getMaximumLevel() const = 0;
54 54
55 /** 55 /**
56 * Return true if there are data available for the given column. 56 * Return true if there are data available for the given column.
57 * This should return true only if getBinValues(windowStartFrame) 57 * This should return true only if getColumn(column) would not
58 * would not have to do any substantial work to calculate its 58 * have to do any substantial work to calculate its return values.
59 * return values. If this function returns false, it may still be 59 * If this function returns false, it may still be possible to
60 * possible to get the bin values for that column, but they may 60 * retrieve the column, but its values may have to be calculated.
61 * have to be calculated.
62 */ 61 */
63 virtual bool isColumnAvailable(size_t column) const = 0; 62 virtual bool isColumnAvailable(size_t column) const = 0;
64 63
65 typedef std::vector<float> Column; 64 typedef std::vector<float> Column;
66 65