#include <math/gzmath.hh>
Inherited by BiQuad< T >, and OnePole< T >.
Public Member Functions | |
virtual | ~Filter () |
Destructor. More... | |
virtual const T & | GetValue () |
Get the output of the filter. More... | |
virtual void | SetFc (double _fc, double _fs)=0 |
Set the cutoff frequency and sample rate. More... | |
virtual void | SetValue (const T &_val) |
Set the output of the filter. More... | |
Protected Attributes | |
T | y0 |
Output. More... | |
Filter base class.
|
inlinevirtual |
Destructor.
|
inlinevirtual |
Get the output of the filter.
|
pure virtual |
Set the cutoff frequency and sample rate.
[in] | _fc | Cutoff frequency. |
[in] | _fs | Sample rate. |
Implemented in BiQuad< T >, BiQuad< math::Vector3 >, OnePole< T >, OnePole< float >, OnePole< math::Quaternion >, and OnePole< math::Vector3 >.
|
inlinevirtual |
Set the output of the filter.
[in] | _val | New value. |
Reimplemented in BiQuad< T >, and BiQuad< math::Vector3 >.
|
protected |