# HG changeset patch # User Chris Cannam # Date 1391189124 0 # Node ID 816c751a7979a9de8d4f23a4149fb2dfc413f3c9 # Parent b4787b595db39f732daafda4b0ce207e1c5c7170 Comments diff -r b4787b595db3 -r 816c751a7979 data/model/EditableDenseThreeDimensionalModel.h --- a/data/model/EditableDenseThreeDimensionalModel.h Fri Jan 31 17:09:02 2014 +0000 +++ b/data/model/EditableDenseThreeDimensionalModel.h Fri Jan 31 17:25:24 2014 +0000 @@ -127,10 +127,27 @@ */ virtual void setColumn(size_t x, const Column &values); + /** + * Return the name of bin n. This is a single label per bin that + * does not vary from one column to the next. + */ virtual QString getBinName(size_t n) const; + + /** + * Set the name of bin n. + */ virtual void setBinName(size_t n, QString); + + /** + * Set the names of all bins. + */ virtual void setBinNames(std::vector names); + /** + * Return true if the distribution of values in the bins is such + * as to suggest a log scale (mapping to colour etc) may be better + * than a linear one. + */ bool shouldUseLogValueScale() const; virtual void setCompletion(int completion, bool update = true);