Project

General

Profile

BitmapToolkit Scol plugin
LinearSmoother< T > Class Template Reference

Linear smoother. More...

#include <Smoothers.h>

Inheritance diagram for LinearSmoother< T >:
TSmoother< T > ISmoother

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
 
value
 
bool initialized
 

Detailed Description

template<typename 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 >
void LinearSmoother< T >::clearValues ( )
virtual

Implements TSmoother< T >.

Definition at line 69 of file Smoothers.cpp.

◆ getExtrapolatedValue()

template<typename T >
T LinearSmoother< T >::getExtrapolatedValue ( )
virtual

Implements TSmoother< T >.

Definition at line 34 of file Smoothers.cpp.

◆ getSmoothedValue()

template<typename T >
T LinearSmoother< T >::getSmoothedValue ( )
virtual

Implements TSmoother< T >.

Definition at line 41 of file Smoothers.cpp.

◆ getSmootherMethod()

template<typename T >
int LinearSmoother< T >::getSmootherMethod ( )
virtual

Implements TSmoother< T >.

Definition at line 63 of file Smoothers.cpp.

◆ pushValue()

template<typename T >
void LinearSmoother< T >::pushValue ( val)
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 >
bool LinearSmoother< T >::initialized
protected

Definition at line 58 of file Smoothers.h.

◆ mFactor

template<typename T >
float LinearSmoother< T >::mFactor
protected

Definition at line 56 of file Smoothers.h.

◆ value

template<typename T >
T LinearSmoother< T >::value
protected

Definition at line 57 of file Smoothers.h.


The documentation for this class was generated from the following files: