#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::BiQuad< math::Vector3d >, ignition::math::IGNITION_MATH_VERSION_NAMESPACE::OnePole< T >, ignition::math::IGNITION_MATH_VERSION_NAMESPACE::OnePole< math::Quaterniond >, ignition::math::IGNITION_MATH_VERSION_NAMESPACE::OnePole< math::Quaterniond >, ignition::math::IGNITION_MATH_VERSION_NAMESPACE::OnePole< math::Vector3d >, 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 >, ignition::math::IGNITION_MATH_VERSION_NAMESPACE::BiQuad< math::Vector3d >, and ignition::math::IGNITION_MATH_VERSION_NAMESPACE::BiQuad< math::Vector3d >.
References ignition::math::IGNITION_MATH_VERSION_NAMESPACE::Filter< T >::y0.
|
inlinevirtual |
Get the output of the filter.
References ignition::math::IGNITION_MATH_VERSION_NAMESPACE::Filter< T >::y0.
|
protected |
Output.
Referenced by ignition::math::IGNITION_MATH_VERSION_NAMESPACE::BiQuad< T >::Process(), ignition::math::IGNITION_MATH_VERSION_NAMESPACE::OnePole< T >::Process(), ignition::math::IGNITION_MATH_VERSION_NAMESPACE::BiQuad< T >::Set(), ignition::math::IGNITION_MATH_VERSION_NAMESPACE::Filter< T >::Set(), and ignition::math::IGNITION_MATH_VERSION_NAMESPACE::Filter< T >::Value().