MedianFilter Class Reference

#include <ArmarXCore/observers/filters/rtfilters/MedianFilter.h>

+ Inheritance diagram for MedianFilter:

Public Member Functions

double calculate () override
 
RTFilterBasePtr clone () const override
 
 MedianFilter (size_t windowSize)
 
- Public Member Functions inherited from RTFilterBase
double getCurrentValue () const
 
virtual void reset ()
 
 RTFilterBase (const RTFilterBase &other)=default
 
 RTFilterBase (size_t historySize)
 
double update (double deltaSec, double newValue)
 
virtual double update (IceUtil::Time const &timestamp, double newValue)
 
virtual ~RTFilterBase ()
 

Additional Inherited Members

- Protected Attributes inherited from RTFilterBase
double currentValue = 0.0
 
boost::circular_buffer< std::pair< IceUtil::Time, double > > dataHistory
 

Detailed Description

Definition at line 34 of file MedianFilter.h.

Constructor & Destructor Documentation

◆ MedianFilter()

MedianFilter ( size_t  windowSize)

Definition at line 31 of file MedianFilter.cpp.

+ Here is the caller graph for this function:

Member Function Documentation

◆ calculate()

double calculate ( )
overridevirtual

Implements RTFilterBase.

Definition at line 37 of file MedianFilter.cpp.

◆ clone()

RTFilterBasePtr clone ( ) const
inlineoverridevirtual

Implements RTFilterBase.

Definition at line 38 of file MedianFilter.h.

+ Here is the call graph for this function:

The documentation for this class was generated from the following files: