Filter.hh
Go to the documentation of this file.
219 a1 = 0,
220 a2 = 0,
221 b0 = 0,
222 b1 = 0,
223 b2 = 0;
void Fc(double _fc, double _fs) override
Set the cutoff frequency and sample rate.
Definition: Filter.hh:171
virtual void Set(const T &_val)
Set the output of the filter.
Definition: Filter.hh:42
OnePole(double _fc, double _fs)
Constructor.
Definition: Filter.hh:75
void Fc(double _fc, double _fs, double _q)
Set the cutoff frequency, sample rate and Q coefficient.
Definition: Filter.hh:180
OnePoleVector3(double _fc, double _fs)
Constructor.
Definition: Filter.hh:146
const math::Quaterniond & Process(const math::Quaterniond &_x)
Update the filter's output.
Definition: Filter.hh:125
virtual void Fc(double _fc, double _fs) override
Set the cutoff frequency and sample rate.
Definition: Filter.hh:81
virtual void Set(const T &_val) override
Set the current filter's output.
Definition: Filter.hh:194
OnePoleQuaternion(double _fc, double _fs)
Constructor.
Definition: Filter.hh:116
static Quaternion< T > Slerp(T _fT, const Quaternion< T > &_rkP, const Quaternion< T > &_rkQ, bool _shortestPath=false)
Spherical linear interpolation between 2 quaternions, given the ends and an interpolation parameter b...
Definition: Quaternion.hh:869
OnePoleQuaternion()
Constructor.
Definition: Filter.hh:108
The Vector3 class represents the generic vector containing 3 elements. Since it's commonly used to ke...
Definition: Vector3.hh:40
virtual const T & Value() const
Get the output of the filter.
Definition: Filter.hh:54
BiQuadVector3(double _fc, double _fs)
Constructor.
Definition: Filter.hh:242
Definition: Angle.hh:42
OnePoleVector3()
Constructor.
Definition: Filter.hh:138
#define IGN_PI
Define IGN_PI, IGN_PI_2, and IGN_PI_4. This was put here for Windows support.
Definition: Helpers.hh:183
const T & Process(const T &_x)
Update the filter's output.
Definition: Filter.hh:90
virtual const T & Process(const T &_x)
Update the filter's output.
Definition: Filter.hh:202