diff data/model/FFTModel.h @ 556:53e5dc8439e7

* get whole columns at a time from fft model when running transform
author Chris Cannam
date Mon, 09 Feb 2009 11:53:29 +0000
parents 408e56d30f58
children 948271d124ac
line wrap: on
line diff
--- a/data/model/FFTModel.h	Mon Feb 09 11:38:08 2009 +0000
+++ b/data/model/FFTModel.h	Mon Feb 09 11:53:29 2009 +0000
@@ -94,6 +94,9 @@
     inline bool getPhasesAt(size_t x, float *values, size_t minbin = 0, size_t count = 0) {
         return m_server->getPhasesAt(x << m_xshift, values, minbin << m_yshift, count, getYRatio());
     }
+    inline bool getValuesAt(size_t x, float *reals, float *imaginaries, size_t minbin = 0, size_t count = 0) {
+        return m_server->getValuesAt(x << m_xshift, reals, imaginaries, minbin << m_yshift, count, getYRatio());
+    }
 
     inline size_t getFillExtent() const { return m_server->getFillExtent(); }