27#ifndef COORDINATEALIGNFILTER_H
28#define COORDINATEALIGNFILTER_H
38 static const int DIM = 3;
42 setMatrix((
const double[DIM][DIM]){{1,0,0},{0,1,0},{0,0,1}});
51 double get(
int i,
int j)
const {
52 if (i >= DIM || j >= DIM || i < 0 || j < 0) {
53 qWarning(
"Index out of bounds");
60 memcpy(
data_, m,
sizeof(
double[DIM][DIM]));
Coordinate alignment filter.
const TMatrix & matrix() const
static FilterBase * factoryMethod()
Factory method.
void setMatrix(const TMatrix &matrix)
CoordinateAlignFilter()
Constructor.
TMatrix holds a transformation matrix.
double get(int i, int j) const
TMatrix(const TMatrix &other)
void setMatrix(const double m[DIM][DIM])
Class for vector type measurement data (timestamp, x, y, z).
Q_DECLARE_METATYPE(TMatrix)
Datatypes for different filters.