gazetk / Protocol / specification / eye_data.proto @ 5444009a
History | View | Annotate | Download (769 Bytes)
1 |
syntax = "proto2"; |
---|---|
2 |
// |
3 |
// EyeData |
4 |
// |
5 |
// Covers all data that is relevant to describe eye related data. |
6 |
// |
7 |
package gazetk.protocol; |
8 |
|
9 |
import "basic_types.proto"; |
10 |
|
11 |
// |
12 |
// Represents a single measurement of eye related data |
13 |
// |
14 |
message EyeSample { |
15 |
required gazetk.protocol.types.Timestamp timestamp = 1; // Time of the measurement |
16 |
optional gazetk.protocol.EyeDescription right_eye = 2; // Description of the right eye |
17 |
optional gazetk.protocol.EyeDescription left_eye = 3; // Description of the right eye |
18 |
optional gazetk.protocol.EyeDescription both_eyes = 4; // Description of both eyes (average) or if the eye tracker does not specify an eye |
19 |
} |
20 |
|
21 |
message EyeDescription { |
22 |
optional gazetk.protocol.types.Vec2f pupil_size = 1; // Size of the pupil between 0 and 1 |
23 |
} |
24 |
|