diff data/model/EditableDenseThreeDimensionalModel.h @ 611:dd97f7b3d120

* Add start frame get/set to EditableDenseThreeDimensionalModel and use it when importing grids from CSV with timings attached
author Chris Cannam
date Fri, 11 Sep 2009 15:42:32 +0000
parents beb51f558e9c
children 33fca917c800
line wrap: on
line diff
--- a/data/model/EditableDenseThreeDimensionalModel.h	Fri Sep 11 11:41:22 2009 +0000
+++ b/data/model/EditableDenseThreeDimensionalModel.h	Fri Sep 11 15:42:32 2009 +0000
@@ -58,6 +58,11 @@
     
 
     /**
+     * Set the frame offset of the first column.
+     */
+    virtual void setStartFrame(size_t);
+
+    /**
      * Return the number of sample frames covered by each set of bins.
      */
     virtual size_t getResolution() const;
@@ -157,6 +162,7 @@
 
     std::vector<QString> m_binNames;
 
+    size_t m_startFrame;
     size_t m_sampleRate;
     size_t m_resolution;
     size_t m_yBinCount;