MGF Server  2.1
Multigaze framework server
 All Classes Functions
gdentrystruct.h
1 #pragma once
2 
3 #ifndef GDENTRYSTRUCT_H
4 #define GDENTRYSTRUCT_H
5 
6 #include "gdtypes.h"
7 
11 typedef enum _gdEye
12 {
13  GDE_UNDEFINED = 999,
14  GDE_LEFT = 0,
15  GDE_RIGHT = 1
16 } gdEye;
17 
21 typedef struct _gdSingleSample
22 {
23  CARD32 number; //ordinal number
24  CARD32 time; //time offset from the start of the record
25  CARD16 eye; //event code
26  CARD32 x; //x coordinate of the eye
27  CARD32 y; //y coordinate of the eye
28  CARD32 pupil; //pupil size
30 
31 #define sz_gdSingleSample 22
32 
36 typedef struct _gdFixation
37 {
38  CARD32 number; //ordinal number
39  CARD32 time; //time offset from the start of the record
40  CARD32 duration; //fixation duration
41  CARD16 eye; //eye number
42  CARD32 x; //x coordinate of the eye
43  CARD32 y; //y coordinate of the eye
44 } gdFixation;
45 
46 #define sz_gdFixation 22
47 
51 typedef struct _gdBlink
52 {
53  CARD32 number; //ordinal number
54  CARD32 time; //time offset from the start of the record
55  CARD32 duration; //fixation duration
56  CARD16 eye; //eye number
57 } gdBlink;
58 
59 #define sz_gdBlink 14
60 
61 #endif