#include <DirectionFilter.h>


Public Member Functions | |
| DirectionFilter (double threshold, AbstractModule *successor) | |
| DirectionFilter (ConfigSection *config, AbstractModule *successor) | |
| virtual | ~DirectionFilter () |
| Destructor. | |
| virtual void | processFrameData (IFrameData *data) |
| const double | getThreshold () const |
| void | setThreshold (double tr) |
Filters out vectors which have not changed too much from the last vector passed through (which directions are "equivalent")
Definition at line 16 of file DirectionFilter.h.
| DirectionFilter::DirectionFilter | ( | double | threshold, | |
| AbstractModule * | successor | |||
| ) |
| threshold | The threshold of the filter | |
| successor | Next module in chain |
Definition at line 8 of file DirectionFilter.cpp.
| DirectionFilter::DirectionFilter | ( | ConfigSection * | config, | |
| AbstractModule * | successor | |||
| ) |
| config | Pointer to a config section object holding the threshold value | |
| successor | Next module in chain |
Definition at line 16 of file DirectionFilter.cpp.
| virtual DirectionFilter::~DirectionFilter | ( | ) | [inline, virtual] |
| const double DirectionFilter::getThreshold | ( | ) | const [inline] |
| void DirectionFilter::processFrameData | ( | IFrameData * | data | ) | [virtual] |
Filters incoming Vectors. Throws Warning if data is not of type Vector3D or Signal.
The output of frame-date is of type Vector3D or Signal
| data | Incoming vectors or signals |
Reimplemented from ProcessModule.
Definition at line 33 of file DirectionFilter.cpp.
| void DirectionFilter::setThreshold | ( | double | tr | ) | [inline] |
1.5.7.1