Implementation of the average filter for 1D data. More...
#include <MeanFilter.h>
Public Member Functions | |
CMeanFilter (int nKernelSize) | |
float | Filter (float x) |
void | Reset () |
void | SetKernelSize (int nKernelSize) |
~CMeanFilter () | |
Public Member Functions inherited from CFilterInterface | |
virtual | ~CFilterInterface () |
Private Attributes | |
int | m_nElementsFilled |
int | m_nKernelSize |
int | m_nPosition |
float * | m_pValues |
Implementation of the average filter for 1D data.
Definition at line 62 of file MeanFilter.h.
CMeanFilter::CMeanFilter | ( | int | nKernelSize | ) |
Definition at line 58 of file MeanFilter.cpp.
CMeanFilter::~CMeanFilter | ( | ) |
Definition at line 68 of file MeanFilter.cpp.
|
virtual |
Implements CFilterInterface.
Definition at line 106 of file MeanFilter.cpp.
void CMeanFilter::Reset | ( | ) |
Definition at line 97 of file MeanFilter.cpp.
void CMeanFilter::SetKernelSize | ( | int | nKernelSize | ) |
Definition at line 79 of file MeanFilter.cpp.
|
private |
Definition at line 83 of file MeanFilter.h.
|
private |
Definition at line 82 of file MeanFilter.h.
|
private |
Definition at line 81 of file MeanFilter.h.
|
private |
Definition at line 80 of file MeanFilter.h.