sensorfw
posedata.h
Go to the documentation of this file.
1
26#ifndef POSEDATA_H
27#define POSEDATA_H
28
30
34class PoseData : public TimedData {
35public:
74 {
81 FaceUp
82 };
83
90
95 PoseData(Orientation orientation) : TimedData(0), orientation_(orientation) {}
96
102 PoseData(const quint64& timestamp, Orientation orientation) : TimedData(timestamp), orientation_(orientation) {}
103};
104
106
107#endif // POSEDATA_H
QObject facade for OrientationData.
Definition: orientation.h:37
Datatype for device pose interpretation.
Definition: posedata.h:34
PoseData(Orientation orientation)
Constructor.
Definition: posedata.h:95
PoseData::Orientation orientation_
Device Orientation.
Definition: posedata.h:84
PoseData()
Constructor.
Definition: posedata.h:89
Orientation
Possible device postures.
Definition: posedata.h:74
@ FaceDown
Device face is down.
Definition: posedata.h:80
@ RightUp
Device right side is up.
Definition: posedata.h:77
@ FaceUp
Device face is up.
Definition: posedata.h:81
@ Undefined
Orientation is unknown.
Definition: posedata.h:75
@ LeftUp
Device left side is up.
Definition: posedata.h:76
@ BottomUp
Device bottom is up.
Definition: posedata.h:78
@ BottomDown
Device bottom is down.
Definition: posedata.h:79
PoseData(const quint64 &timestamp, Orientation orientation)
Constructor.
Definition: posedata.h:102
A base class for measurement data that contain timestamp.
Definition: genericdata.h:36
Q_DECLARE_METATYPE(TMatrix)
Basic datatypes for filters.