|
sensorfw
|
Datatype for device pose interpretation. More...
#include <posedata.h>
Public Types | |
| enum | Orientation { Undefined = 0, LeftUp, RightUp, BottomUp, BottomDown, FaceDown, FaceUp } |
| Possible device postures. More... | |
Public Member Functions | |
| PoseData () | |
| Constructor. | |
| PoseData (Orientation orientation) | |
| Constructor. | |
| PoseData (const quint64 ×tamp, Orientation orientation) | |
| Constructor. | |
Public Attributes | |
| PoseData::Orientation | orientation_ |
| Device Orientation. | |
Datatype for device pose interpretation.
Definition at line 34 of file posedata.h.
Possible device postures.
Device side naming:
Top
----------
/ NOKIA /|
/-------- / |
// // /
// // /
Left // Face // / Right
// // /
// // /
/---------/ /
/ O / /
/ / /
---------- /
|_________!/
Bottom
Device orientation.
| Undefined |
Orientation is unknown. |
| LeftUp |
Device left side is up. |
| RightUp |
Device right side is up. |
| BottomUp |
Device bottom is up. |
| BottomDown |
Device bottom is down. |
| FaceDown |
Device face is down. |
| FaceUp |
Device face is up. |
Definition at line 73 of file posedata.h.
| PoseData::PoseData | ( | ) | [inline] |
Constructor.
Definition at line 89 of file posedata.h.
| PoseData::PoseData | ( | Orientation | orientation | ) | [inline] |
Constructor.
| orientation | Initial value for orientation. |
Definition at line 95 of file posedata.h.
| PoseData::PoseData | ( | const quint64 & | timestamp, |
| Orientation | orientation | ||
| ) | [inline] |
Constructor.
| timestamp | Initial value for timestamp. |
| orientation | Initial value for orientation. |
Definition at line 102 of file posedata.h.
Device Orientation.
Definition at line 84 of file posedata.h.