#include <ignition/math/Filter.hh>
Public Member Functions | |
virtual | ~Filter () |
Destructor. | |
virtual void | Fc (double _fc, double _fs)=0 |
Set the cutoff frequency and sample rate. | |
virtual void | Set (const T &_val) |
Set the output of the filter. | |
virtual const T & | Value () const |
Get the output of the filter. |
Protected Attributes | |
T | y0 {} |
Output. |
Filter base class.
|
inlinevirtual |
Destructor.
|
pure virtual |
Set the cutoff frequency and sample rate.
[in] | _fc | Cutoff frequency. |
[in] | _fs | Sample rate. |
Implemented in ignition::math::IGNITION_MATH_VERSION_NAMESPACE::BiQuad< T >, ignition::math::IGNITION_MATH_VERSION_NAMESPACE::BiQuad< math::Vector3d >, ignition::math::IGNITION_MATH_VERSION_NAMESPACE::OnePole< T >, ignition::math::IGNITION_MATH_VERSION_NAMESPACE::OnePole< math::Quaterniond >, and ignition::math::IGNITION_MATH_VERSION_NAMESPACE::OnePole< math::Vector3d >.
|
inlinevirtual |
Set the output of the filter.
[in] | _val | New value. |
Reimplemented in ignition::math::IGNITION_MATH_VERSION_NAMESPACE::BiQuad< T >, and ignition::math::IGNITION_MATH_VERSION_NAMESPACE::BiQuad< math::Vector3d >.
References y0.
|
inlinevirtual |
|
protected |