BitmapToolkit Scol plugin
|
Double Exponential smoother. More...
#include <Smoothers.h>
Public Member Functions | |
DoubleExponentialSmoother (float alpha=0.5f, float beta=0.5f) | |
void | setSmoothingFactor (float alpha, float beta) |
virtual void | pushValue (T val) |
virtual T | getExtrapolatedValue () |
virtual T | getSmoothedValue () |
virtual int | getSmootherMethod () |
virtual void | clearValues () |
Public Member Functions inherited from TSmoother< T > | |
virtual | ~TSmoother () |
int | getSmootherType () |
Public Member Functions inherited from ISmoother | |
virtual | ~ISmoother () |
Protected Attributes | |
float | mAlpha |
float | mBeta |
T | value |
T | slope |
bool | init |
Detailed Description
class DoubleExponentialSmoother< T >
Double Exponential smoother.
Definition at line 76 of file Smoothers.h.
Constructor & Destructor Documentation
◆ DoubleExponentialSmoother()
DoubleExponentialSmoother< T >::DoubleExponentialSmoother | ( | float | alpha = 0.5f , |
float | beta = 0.5f |
||
) |
Definition at line 79 of file Smoothers.cpp.
Member Function Documentation
◆ clearValues()
|
virtual |
Implements TSmoother< T >.
Definition at line 134 of file Smoothers.cpp.
◆ getExtrapolatedValue()
|
virtual |
Implements TSmoother< T >.
Definition at line 97 of file Smoothers.cpp.
◆ getSmoothedValue()
|
virtual |
Implements TSmoother< T >.
Definition at line 104 of file Smoothers.cpp.
◆ getSmootherMethod()
|
virtual |
Implements TSmoother< T >.
Definition at line 128 of file Smoothers.cpp.
◆ pushValue()
|
virtual |
Implements TSmoother< T >.
Definition at line 111 of file Smoothers.cpp.
◆ setSmoothingFactor()
void DoubleExponentialSmoother< T >::setSmoothingFactor | ( | float | alpha, |
float | beta | ||
) |
Definition at line 89 of file Smoothers.cpp.
Member Data Documentation
◆ init
|
protected |
Definition at line 83 of file Smoothers.h.
◆ mAlpha
|
protected |
Definition at line 79 of file Smoothers.h.
◆ mBeta
|
protected |
Definition at line 80 of file Smoothers.h.
◆ slope
|
protected |
Definition at line 82 of file Smoothers.h.
◆ value
|
protected |
Definition at line 81 of file Smoothers.h.
The documentation for this class was generated from the following files:
- include/Smoothers.h
- src/Smoothers.cpp
Generated by 1.9.8