#include "one_euro_filter.h"
#include <cmath>
#ifndef M_PI
#define M_PI …
#endif
namespace one_euro_filter {
OneEuroFilter::OneEuroFilter(double freq,
double mincutoff,
double beta,
double dcutoff) { … }
OneEuroFilter::OneEuroFilter() { … }
OneEuroFilter::~OneEuroFilter() { … }
double OneEuroFilter::Filter(double value, TimeStamp timestamp) { … }
void OneEuroFilter::Reset() { … }
OneEuroFilter* OneEuroFilter::Clone() { … }
double OneEuroFilter::Alpha(double cutoff) { … }
void OneEuroFilter::SetFrequency(double f) { … }
void OneEuroFilter::SetMinCutoff(double mc) { … }
void OneEuroFilter::SetBeta(double b) { … }
void OneEuroFilter::SetDerivateCutoff(double dc) { … }
}