gz/math/Filter.hh
OnePoleVector3(double _fc, double _fs)
Constructor.
Definition: gz/math/Filter.hh:146
BiQuadVector3()
Constructor.
Definition: gz/math/Filter.hh:234
OnePoleQuaternion(double _fc, double _fs)
Constructor.
Definition: gz/math/Filter.hh:116
Definition: gz/math/AdditivelySeparableScalarField3.hh:27
#define IGN_PI
Define IGN_PI, IGN_PI_2, and IGN_PI_4. This was put here for Windows support.
Definition: gz/math/Helpers.hh:184
virtual const T & Process(const T &_x)
Update the filter's output.
Definition: gz/math/Filter.hh:202
BiQuadVector3(double _fc, double _fs)
Constructor.
Definition: gz/math/Filter.hh:242
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: gz/math/Quaternion.hh:885
OnePole(double _fc, double _fs)
Constructor.
Definition: gz/math/Filter.hh:75
virtual const T & Value() const
Get the output of the filter.
Definition: gz/math/Filter.hh:54
const T & Process(const T &_x)
Update the filter's output.
Definition: gz/math/Filter.hh:90
OnePoleQuaternion()
Constructor.
Definition: gz/math/Filter.hh:108
virtual void Fc(double _fc, double _fs)=0
Set the cutoff frequency and sample rate.
void Fc(double _fc, double _fs, double _q)
Set the cutoff frequency, sample rate and Q coefficient.
Definition: gz/math/Filter.hh:180
OnePoleVector3()
Constructor.
Definition: gz/math/Filter.hh:138
The Vector3 class represents the generic vector containing 3 elements. Since it's commonly used to ke...
Definition: gz/math/Vector3.hh:41
const math::Quaterniond & Process(const math::Quaterniond &_x)
Update the filter's output.
Definition: gz/math/Filter.hh:125
BiQuad(double _fc, double _fs)
Constructor.
Definition: gz/math/Filter.hh:165
void Fc(double _fc, double _fs) override
Set the cutoff frequency and sample rate.
Definition: gz/math/Filter.hh:171
virtual void Set(const T &_val) override
Set the current filter's output.
Definition: gz/math/Filter.hh:194
virtual void Set(const T &_val)
Set the output of the filter.
Definition: gz/math/Filter.hh:42
virtual void Fc(double _fc, double _fs) override
Set the cutoff frequency and sample rate.
Definition: gz/math/Filter.hh:81
double a0
Input gain control coefficients.
Definition: gz/math/Filter.hh:218