Simulated Reality SDK 7500c78d v1.30.2.51085 2024-04-26T11:23:03Z
Stable
head.h
Go to the documentation of this file.
1
10#pragma once
11#include "sr/types.h"
12#include <stdint.h>
13
15
16typedef struct {
17 uint64_t frameId;
18 uint64_t time;
23
25
26typedef struct {
27 uint64_t frameId;
28 uint64_t time;
29 union {
30 SR_point3d ears[2];
31 struct {
34 };
35 };
37
43typedef struct {
44 uint64_t frameId;
45 uint64_t time;
49} SR_head;
Definition: head.h:26
SR_point3d left
Position of left ear in millimeter.
Definition: head.h:32
SR_point3d right
Position of right ear in millimeter.
Definition: head.h:33
uint64_t frameId
Autoincrement frame number.
Definition: head.h:27
uint64_t time
Time since epoch in microseconds.
Definition: head.h:28
C-compatible struct containing the position of two eyes.
Definition: eyepair.h:28
Definition: head.h:16
uint64_t frameId
Autoincrement frame number.
Definition: head.h:17
uint64_t time
Time since epoch in microseconds.
Definition: head.h:18
SR_point3d position
Position of head in millimeter.
Definition: head.h:19
SR_point3d orientation
Definition: head.h:20
C-compatible struct containing the position of head.
Definition: head.h:43
uint64_t time
Time since epoch in microseconds.
Definition: head.h:45
uint64_t frameId
Autoincrement frame number.
Definition: head.h:44
SR_earPair ears
Definition: head.h:48
SR_eyePair eyes
Definition: head.h:47
SR_headPose headPose
Definition: head.h:46
C-compatible 3d double vector representation.
Definition: types.h:81