#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 >.
Referenced by BiQuad< math::Vector3 >::BiQuad(), OnePole< math::Vector3 >::OnePole(), BiQuad< math::Vector3 >::SetFc(), and Filter< math::Vector3 >::SetValue().
|
inlinevirtual |
Set the output of the filter.
| [in] | _val | New value. |
Reimplemented in BiQuad< T >, and BiQuad< math::Vector3 >.
Referenced by BiQuadVector3::BiQuadVector3(), OnePoleQuaternion::OnePoleQuaternion(), and OnePoleVector3::OnePoleVector3().
|
protected |