#include <ignition/math/Filter.hh>
Public Member Functions | |
virtual | ~Filter () |
Destructor. More... | |
virtual void | Fc (double _fc, double _fs)=0 |
Set the cutoff frequency and sample rate. More... | |
virtual void | Set (const T &_val) |
Set the output of the filter. More... | |
virtual const T & | Value () const |
Get the output of the filter. More... | |
Protected Attributes | |
T | y0 {} |
Output. More... | |
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::Vector3d >, and ignition::math::IGNITION_MATH_VERSION_NAMESPACE::OnePole< math::Quaterniond >.
|
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 >.
|
inlinevirtual |
Get the output of the filter.
|
protected |
Output.
Referenced by ignition::math::IGNITION_MATH_VERSION_NAMESPACE::OnePole< math::Quaterniond >::Process(), ignition::math::IGNITION_MATH_VERSION_NAMESPACE::BiQuad< math::Vector3d >::Process(), ignition::math::IGNITION_MATH_VERSION_NAMESPACE::Filter< math::Quaterniond >::Set(), ignition::math::IGNITION_MATH_VERSION_NAMESPACE::BiQuad< math::Vector3d >::Set(), and ignition::math::IGNITION_MATH_VERSION_NAMESPACE::Filter< math::Quaterniond >::Value().