LeiaSR SDK 720218b2 v1.32.7.6322 2025-02-13T14:55:38Z
Stable
head.h
Go to the documentation of this file.
1
5#pragma once
6#include "sr/types.h"
7#include <stdint.h>
8
10
11typedef struct {
12 uint64_t frameId;
13 uint64_t time;
18
20
21typedef struct {
22 uint64_t frameId;
23 uint64_t time;
24 union {
25 SR_point3d ears[2];
26 struct {
29 };
30 };
32
38typedef struct {
39 uint64_t frameId;
40 uint64_t time;
44} SR_head;
Definition: head.h:21
SR_point3d left
Position of left ear in millimeter.
Definition: head.h:27
SR_point3d right
Position of right ear in millimeter.
Definition: head.h:28
uint64_t frameId
Autoincrement frame number.
Definition: head.h:22
uint64_t time
Time since epoch in microseconds.
Definition: head.h:23
C-compatible struct containing the position of two eyes.
Definition: eyepair.h:23
Definition: head.h:11
uint64_t frameId
Autoincrement frame number.
Definition: head.h:12
uint64_t time
Time since epoch in microseconds.
Definition: head.h:13
SR_point3d position
Position of head in millimeter.
Definition: head.h:14
SR_point3d orientation
Definition: head.h:15
C-compatible struct containing the position of head.
Definition: head.h:38
uint64_t time
Time since epoch in microseconds.
Definition: head.h:40
uint64_t frameId
Autoincrement frame number.
Definition: head.h:39
SR_earPair ears
Definition: head.h:43
SR_eyePair eyes
Definition: head.h:42
SR_headPose headPose
Definition: head.h:41
C-compatible 3d double vector representation.
Definition: types.h:73