Go to the documentation of this file.
27 #ifndef ORIENTATIONCHAIN_H
28 #define ORIENTATIONCHAIN_H
30 #include "abstractsensor.h"
31 #include "abstractchain.h"
32 #include "deviceadaptor.h"
33 #include "bufferreader.h"
74 QObject *filter =
dynamic_cast<QObject*
>(orientationInterpreterFilter_);
76 PoseData pose = qvariant_cast< PoseData >(filter->property(
"orientation"));
91 static double aconv_[3][3];
94 AbstractChain* accelerometerChain_;
96 FilterBase* orientationInterpreterFilter_;
97 RingBuffer<PoseData>* topEdgeOutput_;
98 RingBuffer<PoseData>* faceOutput_;
99 RingBuffer<PoseData>* orientationOutput_;
102 #endif // ORIENTATIONCHAIN_H
OrientationChain(const QString &id)
TimedUnsigned orientation
TimedUnsigned orientation() const
Property method returning current orientation.
Datatype for device 'pose' (orientation)
Orientationchain providies device orientation information using the accelerometer information.
Datatypes for different filters.
quint64 timestamp_
monotonic time (microsec)
QObject based datatype for TimedUnsigned.
static AbstractChain * factoryMethod(const QString &id)
Factory method for OrientationChain.
Datatype for device pose interpretation.
Datatype for unsigned integer value with timestamp.
PoseData::Orientation orientation_
Device Orientation.