changeset 1339:df59bf0b4236 3.0-integration

Doc comment
author Chris Cannam
date Thu, 05 Jan 2017 11:10:38 +0000
parents 8541563f1fd3
children f5f83fb49852
files data/model/Dense3DModelPeakCache.h
diffstat 1 files changed, 8 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/data/model/Dense3DModelPeakCache.h	Wed Jan 04 16:03:12 2017 +0000
+++ b/data/model/Dense3DModelPeakCache.h	Thu Jan 05 11:10:38 2017 +0000
@@ -73,9 +73,15 @@
         return m_source->getMaximumLevel();
     }
 
-    virtual Column getColumn(int column) const;
+    /**
+     * Retrieve the peaks column at peak-cache column number col. This
+     * will consist of the peak values in the underlying model from
+     * columns (col * getColumnsPerPeak()) to ((col+1) *
+     * getColumnsPerPeak() - 1) inclusive.
+     */
+    virtual Column getColumn(int col) const;
 
-    virtual float getValueAt(int column, int n) const;
+    virtual float getValueAt(int col, int n) const;
 
     virtual QString getBinName(int n) const {
         return m_source->getBinName(n);