One-pole vector3 filter. More...
#include <math/gzmath.hh>
Inherits OnePole< math::Vector3 >.
Public Member Functions | |
| OnePoleVector3 () | |
| Constructor.  More... | |
| OnePoleVector3 (double _fc, double _fs) | |
| Constructor.  More... | |
| virtual const math::Vector3 & | GetValue () | 
| Get the output of the filter.  More... | |
| const math::Vector3 & | Process (const math::Vector3 &_x) | 
| Update the filter's output.  More... | |
| virtual void | SetFc (double _fc, double _fs) | 
| Set the cutoff frequency and sample rate.  More... | |
| virtual void | SetValue (const math::Vector3 &_val) | 
| Set the output of the filter.  More... | |
Protected Attributes | |
| double | a0 | 
| Input gain control.  More... | |
| double | b1 | 
| Gain of the feedback.  More... | |
| math::Vector3 | y0 | 
| Output.  More... | |
One-pole vector3 filter.
      
  | 
  inline | 
Constructor.
References Filter< T >::SetValue().
      
  | 
  inline | 
Constructor.
| [in] | _fc | Cutoff frequency. | 
| [in] | _fs | Sample rate. | 
References Filter< T >::SetValue().
      
  | 
  inlinevirtualinherited | 
      
  | 
  inlineinherited | 
Update the filter's output.
[in] _x Input value.
References Filter< T >::y0.
      
  | 
  inlinevirtualinherited | 
Set the cutoff frequency and sample rate.
| [in] | _fc | Cutoff frequency. | 
| [in] | _fs | Sample rate. | 
Implements Filter< math::Vector3 >.
      
  | 
  inlinevirtualinherited | 
Set the output of the filter.
| [in] | _val | New value. | 
Reimplemented in BiQuad< math::Vector3 >.
References Filter< T >::SetFc(), and Filter< T >::y0.
      
  | 
  protectedinherited | 
Input gain control.
      
  | 
  protectedinherited | 
Gain of the feedback.
      
  | 
  protectedinherited | 
Output.