Mercurial > hg > svcore
diff data/model/DenseThreeDimensionalModel.h @ 533:55ad231c9db7
* try some qvectors
author | Chris Cannam |
---|---|
date | Thu, 22 Jan 2009 17:58:33 +0000 |
parents | 83eae5239db6 |
children | fa32590f5a61 |
line wrap: on
line diff
--- a/data/model/DenseThreeDimensionalModel.h Thu Jan 22 17:39:04 2009 +0000 +++ b/data/model/DenseThreeDimensionalModel.h Thu Jan 22 17:58:33 2009 +0000 @@ -22,7 +22,7 @@ #include "base/RealTime.h" #include <QMutex> -#include <vector> +#include <QVector> class DenseThreeDimensionalModel : public Model, public TabularModel @@ -64,12 +64,12 @@ */ virtual bool isColumnAvailable(size_t column) const = 0; - typedef std::vector<float> Column; + typedef QVector<float> Column; /** * Get data from the given column of bin values. */ - virtual void getColumn(size_t column, Column &result) const = 0; + virtual Column getColumn(size_t column) const = 0; /** * Get the single data point from the n'th bin of the given column.