BitmapToolkit Scol plugin
|
LinearSmoother< T > Class Template Reference
Linear smoother. More...
#include <Smoothers.h>
Inheritance diagram for LinearSmoother< T >:
Public Member Functions | |
LinearSmoother (float factor=0.5f) | |
void | setSmoothingFactor (float factor) |
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 | mFactor |
T | value |
bool | initialized |
Detailed Description
template<typename T>
class LinearSmoother< T >
class LinearSmoother< T >
Linear smoother.
Definition at line 53 of file Smoothers.h.
Constructor & Destructor Documentation
◆ LinearSmoother()
template<typename T >
LinearSmoother< T >::LinearSmoother | ( | float | factor = 0.5f | ) |
Definition at line 19 of file Smoothers.cpp.
Member Function Documentation
◆ clearValues()
template<typename T >
|
virtual |
Implements TSmoother< T >.
Definition at line 69 of file Smoothers.cpp.
◆ getExtrapolatedValue()
template<typename T >
|
virtual |
Implements TSmoother< T >.
Definition at line 34 of file Smoothers.cpp.
◆ getSmoothedValue()
template<typename T >
|
virtual |
Implements TSmoother< T >.
Definition at line 41 of file Smoothers.cpp.
◆ getSmootherMethod()
template<typename T >
|
virtual |
Implements TSmoother< T >.
Definition at line 63 of file Smoothers.cpp.
◆ pushValue()
template<typename T >
|
virtual |
Implements TSmoother< T >.
Definition at line 48 of file Smoothers.cpp.
◆ setSmoothingFactor()
template<typename T >
void LinearSmoother< T >::setSmoothingFactor | ( | float | factor | ) |
Definition at line 27 of file Smoothers.cpp.
Member Data Documentation
◆ initialized
template<typename T >
|
protected |
Definition at line 58 of file Smoothers.h.
◆ mFactor
template<typename T >
|
protected |
Definition at line 56 of file Smoothers.h.
◆ value
template<typename T >
|
protected |
Definition at line 57 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