comparison 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
comparison
equal deleted inserted replaced
555:8accc7969c1c 556:53e5dc8439e7
92 return m_server->getNormalizedMagnitudesAt(x << m_xshift, values, minbin << m_yshift, count, getYRatio()); 92 return m_server->getNormalizedMagnitudesAt(x << m_xshift, values, minbin << m_yshift, count, getYRatio());
93 } 93 }
94 inline bool getPhasesAt(size_t x, float *values, size_t minbin = 0, size_t count = 0) { 94 inline bool getPhasesAt(size_t x, float *values, size_t minbin = 0, size_t count = 0) {
95 return m_server->getPhasesAt(x << m_xshift, values, minbin << m_yshift, count, getYRatio()); 95 return m_server->getPhasesAt(x << m_xshift, values, minbin << m_yshift, count, getYRatio());
96 } 96 }
97 inline bool getValuesAt(size_t x, float *reals, float *imaginaries, size_t minbin = 0, size_t count = 0) {
98 return m_server->getValuesAt(x << m_xshift, reals, imaginaries, minbin << m_yshift, count, getYRatio());
99 }
97 100
98 inline size_t getFillExtent() const { return m_server->getFillExtent(); } 101 inline size_t getFillExtent() const { return m_server->getFillExtent(); }
99 102
100 // DenseThreeDimensionalModel and Model methods: 103 // DenseThreeDimensionalModel and Model methods:
101 // 104 //