svcore
1.9
|
#include <FFTFuzzyAdapter.h>
Public Member Functions | |
FFTFuzzyAdapter (const DenseTimeValueModel *model, int channel, WindowType windowType, int windowSize, int windowIncrement, int fftSize, bool polar, int fillFromColumn=0) | |
~FFTFuzzyAdapter () | |
int | getWidth () const |
int | getHeight () const |
float | getMagnitudeAt (int x, int y) |
float | getNormalizedMagnitudeAt (int x, int y) |
float | getMaximumMagnitudeAt (int x) |
float | getPhaseAt (int x, int y) |
void | getValuesAt (int x, int y, float &real, float &imaginary) |
bool | isColumnReady (int x) |
bool | isLocalPeak (int x, int y) |
bool | isOverThreshold (int x, int y, float threshold) |
int | getFillCompletion () const |
int | getFillExtent () const |
Private Member Functions | |
FFTFuzzyAdapter (const FFTFuzzyAdapter &) | |
FFTFuzzyAdapter & | operator= (const FFTFuzzyAdapter &) |
Private Attributes | |
FFTDataServer * | m_server |
int | m_xshift |
int | m_yshift |
Definition at line 21 of file FFTFuzzyAdapter.h.
FFTFuzzyAdapter::FFTFuzzyAdapter | ( | const DenseTimeValueModel * | model, |
int | channel, | ||
WindowType | windowType, | ||
int | windowSize, | ||
int | windowIncrement, | ||
int | fftSize, | ||
bool | polar, | ||
int | fillFromColumn = 0 |
||
) |
Definition at line 20 of file FFTFuzzyAdapter.cpp.
References FFTDataServer::getFFTSize(), FFTDataServer::getFuzzyInstance(), FFTDataServer::getWindowIncrement(), m_server, m_xshift, and m_yshift.
Definition at line 68 of file FFTFuzzyAdapter.cpp.
References m_server, and FFTDataServer::releaseInstance().
FFTFuzzyAdapter::FFTFuzzyAdapter | ( | const FFTFuzzyAdapter & | ) | [private] |
int FFTFuzzyAdapter::getWidth | ( | ) | const [inline] |
Definition at line 34 of file FFTFuzzyAdapter.h.
References FFTDataServer::getWidth(), m_server, and m_xshift.
int FFTFuzzyAdapter::getHeight | ( | ) | const [inline] |
Definition at line 37 of file FFTFuzzyAdapter.h.
References FFTDataServer::getHeight(), m_server, and m_yshift.
Referenced by isLocalPeak().
float FFTFuzzyAdapter::getMagnitudeAt | ( | int | x, |
int | y | ||
) | [inline] |
Definition at line 40 of file FFTFuzzyAdapter.h.
References FFTDataServer::getMagnitudeAt(), m_server, m_xshift, and m_yshift.
Referenced by isLocalPeak(), and isOverThreshold().
float FFTFuzzyAdapter::getNormalizedMagnitudeAt | ( | int | x, |
int | y | ||
) | [inline] |
Definition at line 43 of file FFTFuzzyAdapter.h.
References FFTDataServer::getNormalizedMagnitudeAt(), m_server, m_xshift, and m_yshift.
float FFTFuzzyAdapter::getMaximumMagnitudeAt | ( | int | x | ) | [inline] |
Definition at line 46 of file FFTFuzzyAdapter.h.
References FFTDataServer::getMaximumMagnitudeAt(), m_server, and m_xshift.
float FFTFuzzyAdapter::getPhaseAt | ( | int | x, |
int | y | ||
) | [inline] |
Definition at line 49 of file FFTFuzzyAdapter.h.
References FFTDataServer::getPhaseAt(), m_server, m_xshift, and m_yshift.
void FFTFuzzyAdapter::getValuesAt | ( | int | x, |
int | y, | ||
float & | real, | ||
float & | imaginary | ||
) | [inline] |
Definition at line 52 of file FFTFuzzyAdapter.h.
References FFTDataServer::getValuesAt(), m_server, m_xshift, and m_yshift.
bool FFTFuzzyAdapter::isColumnReady | ( | int | x | ) | [inline] |
Definition at line 55 of file FFTFuzzyAdapter.h.
References FFTDataServer::isColumnReady(), m_server, and m_xshift.
bool FFTFuzzyAdapter::isLocalPeak | ( | int | x, |
int | y | ||
) | [inline] |
Definition at line 58 of file FFTFuzzyAdapter.h.
References getHeight(), and getMagnitudeAt().
bool FFTFuzzyAdapter::isOverThreshold | ( | int | x, |
int | y, | ||
float | threshold | ||
) | [inline] |
Definition at line 64 of file FFTFuzzyAdapter.h.
References getMagnitudeAt().
int FFTFuzzyAdapter::getFillCompletion | ( | ) | const [inline] |
Definition at line 68 of file FFTFuzzyAdapter.h.
References FFTDataServer::getFillCompletion(), and m_server.
int FFTFuzzyAdapter::getFillExtent | ( | ) | const [inline] |
Definition at line 69 of file FFTFuzzyAdapter.h.
References FFTDataServer::getFillExtent(), and m_server.
FFTFuzzyAdapter& FFTFuzzyAdapter::operator= | ( | const FFTFuzzyAdapter & | ) | [private] |
FFTDataServer* FFTFuzzyAdapter::m_server [private] |
Definition at line 75 of file FFTFuzzyAdapter.h.
Referenced by FFTFuzzyAdapter(), getFillCompletion(), getFillExtent(), getHeight(), getMagnitudeAt(), getMaximumMagnitudeAt(), getNormalizedMagnitudeAt(), getPhaseAt(), getValuesAt(), getWidth(), isColumnReady(), and ~FFTFuzzyAdapter().
int FFTFuzzyAdapter::m_xshift [private] |
Definition at line 76 of file FFTFuzzyAdapter.h.
Referenced by FFTFuzzyAdapter(), getMagnitudeAt(), getMaximumMagnitudeAt(), getNormalizedMagnitudeAt(), getPhaseAt(), getValuesAt(), getWidth(), and isColumnReady().
int FFTFuzzyAdapter::m_yshift [private] |
Definition at line 77 of file FFTFuzzyAdapter.h.
Referenced by FFTFuzzyAdapter(), getHeight(), getMagnitudeAt(), getNormalizedMagnitudeAt(), getPhaseAt(), and getValuesAt().