vmmlib
1.8.0
Templatized C++ vector and matrix math library
|
Public Member Functions | |
lowpass_filter (const float F) | |
Constructor. More... | |
const T & | get () const |
Filter the content of the data structure. More... | |
const T * | operator-> () const |
Access the filtered value. More... | |
const T & | operator* () const |
Access the filtered value. More... | |
T | add (const T &value) |
Add a value to the data set and return the filtered output. More... | |
void | set_smooth_factor (const float &f) |
Sets the smooth factor. More... | |
Definition at line 46 of file lowpass_filter.hpp.
|
inline |
Constructor.
[in] | F | Smooth factor to use during the filter process |
Definition at line 53 of file lowpass_filter.hpp.
T vmml::lowpass_filter< M, T >::add | ( | const T & | value | ) |
Add a value to the data set and return the filtered output.
[in] | value | Value to add |
Definition at line 88 of file lowpass_filter.hpp.
|
inline |
Filter the content of the data structure.
Definition at line 60 of file lowpass_filter.hpp.
|
inline |
Access the filtered value.
Definition at line 66 of file lowpass_filter.hpp.
|
inline |
Access the filtered value.
Definition at line 63 of file lowpass_filter.hpp.
void vmml::lowpass_filter< M, T >::set_smooth_factor | ( | const float & | f | ) |
Sets the smooth factor.
[in] | f | Smooth factor to use during the filter process |
Definition at line 110 of file lowpass_filter.hpp.