diff data/model/Dense3DModelPeakCache.h @ 1339:df59bf0b4236 3.0-integration

Doc comment
author Chris Cannam
date Thu, 05 Jan 2017 11:10:38 +0000
parents 9884efa1f88a
children c01cbe41aeb5
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);