comparison data/model/EditableDenseThreeDimensionalModel.h @ 881:816c751a7979

Comments
author Chris Cannam
date Fri, 31 Jan 2014 17:25:24 +0000
parents 33fca917c800
children 48410857b03c
comparison
equal deleted inserted replaced
880:b4787b595db3 881:816c751a7979
125 /** 125 /**
126 * Set the entire set of bin values at the given column. 126 * Set the entire set of bin values at the given column.
127 */ 127 */
128 virtual void setColumn(size_t x, const Column &values); 128 virtual void setColumn(size_t x, const Column &values);
129 129
130 /**
131 * Return the name of bin n. This is a single label per bin that
132 * does not vary from one column to the next.
133 */
130 virtual QString getBinName(size_t n) const; 134 virtual QString getBinName(size_t n) const;
135
136 /**
137 * Set the name of bin n.
138 */
131 virtual void setBinName(size_t n, QString); 139 virtual void setBinName(size_t n, QString);
140
141 /**
142 * Set the names of all bins.
143 */
132 virtual void setBinNames(std::vector<QString> names); 144 virtual void setBinNames(std::vector<QString> names);
133 145
146 /**
147 * Return true if the distribution of values in the bins is such
148 * as to suggest a log scale (mapping to colour etc) may be better
149 * than a linear one.
150 */
134 bool shouldUseLogValueScale() const; 151 bool shouldUseLogValueScale() const;
135 152
136 virtual void setCompletion(int completion, bool update = true); 153 virtual void setCompletion(int completion, bool update = true);
137 virtual int getCompletion() const { return m_completion; } 154 virtual int getCompletion() const { return m_completion; }
138 155