Tobii Pro SDK C API
tobii_research_calibration.h
Go to the documentation of this file.
1 
14 #ifndef TOBII_RESEARCH_CALIBRATION_H_
15 #define TOBII_RESEARCH_CALIBRATION_H_
16 
17 #include "tobii_research.h"
18 
19 #ifdef __cplusplus
20 extern "C" {
21 #endif
22 
26 typedef enum {
44 
53 
58 
64 
68 typedef enum {
73 
78 
83 
89 
93 typedef struct {
101  TobiiResearchCalibrationEyeValidity validity;
103 
107 typedef struct {
117 
121 typedef struct {
135 
139 typedef struct {
153 
154 
158 typedef struct {
164 
175  TobiiResearchEyeTracker* eyetracker);
176 
187  TobiiResearchEyeTracker* eyetracker);
188 
206  TobiiResearchEyeTracker* eyetracker,
207  float x,
208  float y);
209 
221  TobiiResearchEyeTracker* eyetracker,
222  float x,
223  float y);
224 
239  TobiiResearchEyeTracker* eyetracker,
241 
249 
268  float x, float y, TobiiResearchSelectedEye eye_to_calibrate, TobiiResearchSelectedEye* collected_eyes);
269 
281  float x, float y, TobiiResearchSelectedEye eye_to_calibrate);
296 
307  TobiiResearchEyeTracker* eyetracker);
308 
319  TobiiResearchEyeTracker* eyetracker);
320 
337  TobiiResearchEyeTracker* eyetracker, float x, float y, float z);
338 
339 
354  TobiiResearchEyeTracker* eyetracker,
356 
357 #ifdef __cplusplus
358 }
359 #endif
360 #endif /* TOBII_RESEARCH_CALIBRATION_H_ */
TobiiResearchStatus
Definition: tobii_research.h:45
TobiiResearchNormalizedPoint2D position_on_display_area
Definition: tobii_research_calibration.h:97
TOBII_RESEARCH_API TobiiResearchStatus TOBII_RESEARCH_CALL tobii_research_screen_based_monocular_calibration_compute_and_apply(TobiiResearchEyeTracker *eyetracker, TobiiResearchCalibrationResult **result)
Uses the collected data and tries to compute calibration parameters.
Definition: tobii_research_calibration.h:82
TOBII_RESEARCH_API TobiiResearchStatus TOBII_RESEARCH_CALL tobii_research_screen_based_calibration_collect_data(TobiiResearchEyeTracker *eyetracker, float x, float y)
Starts collecting data for a calibration point.
Definition: tobii_research_calibration.h:87
Definition: tobii_research_calibration.h:42
Definition: tobii_research_calibration.h:62
TOBII_RESEARCH_API TobiiResearchStatus TOBII_RESEARCH_CALL tobii_research_screen_based_calibration_discard_data(TobiiResearchEyeTracker *eyetracker, float x, float y)
Removes the collected data associated with a specific calibration point.
TOBII_RESEARCH_API TobiiResearchStatus TOBII_RESEARCH_CALL tobii_research_screen_based_calibration_leave_calibration_mode(TobiiResearchEyeTracker *eyetracker)
Leaves the screen based calibration mode.
TobiiResearchSelectedEye
Definition: tobii_research_calibration.h:48
struct TobiiResearchEyeTracker TobiiResearchEyeTracker
Definition: tobii_research.h:304
TobiiResearchCalibrationEyeValidity
Definition: tobii_research_calibration.h:68
TOBII_RESEARCH_API TobiiResearchStatus TOBII_RESEARCH_CALL tobii_research_screen_based_monocular_calibration_discard_data(TobiiResearchEyeTracker *eyetracker, float x, float y, TobiiResearchSelectedEye eye_to_calibrate)
Removes the collected data associated with a specific calibration point.
TobiiResearchCalibrationStatus status
Definition: tobii_research_calibration.h:151
Definition: tobii_research_calibration.h:93
TobiiResearchCalibrationEyeValidity validity
Definition: tobii_research_calibration.h:101
TOBII_RESEARCH_API void TOBII_RESEARCH_CALL tobii_research_free_screen_based_calibration_result(TobiiResearchCalibrationResult *result)
Free memory allocation for the calibration result received via tobii_research_screen_based_calibratio...
TobiiResearchCalibrationEyeData right_eye
Definition: tobii_research_calibration.h:115
TobiiResearchCalibrationSample * calibration_samples
Definition: tobii_research_calibration.h:129
Definition: tobii_research_calibration.h:72
size_t calibration_point_count
Definition: tobii_research_calibration.h:147
size_t calibration_sample_count
Definition: tobii_research_calibration.h:133
TobiiResearchCalibrationPoint * calibration_points
Definition: tobii_research_calibration.h:143
Definition: tobii_research_calibration.h:57
TOBII_RESEARCH_API TobiiResearchStatus TOBII_RESEARCH_CALL tobii_research_hmd_based_calibration_enter_calibration_mode(TobiiResearchEyeTracker *eyetracker)
Enters the hmd based calibration mode and the eye tracker is made ready for collecting data and calcu...
Generic SDK functions.
TOBII_RESEARCH_API TobiiResearchStatus TOBII_RESEARCH_CALL tobii_research_hmd_based_calibration_leave_calibration_mode(TobiiResearchEyeTracker *eyetracker)
Leaves the hmd based calibration mode.
TOBII_RESEARCH_API TobiiResearchStatus TOBII_RESEARCH_CALL tobii_research_screen_based_calibration_enter_calibration_mode(TobiiResearchEyeTracker *eyetracker)
Enters the screen based calibration mode and the eye tracker is made ready for collecting data and ca...
Definition: tobii_research_calibration.h:158
Definition: tobii_research_calibration.h:30
Definition: tobii_research_calibration.h:107
Definition: tobii_research_calibration.h:34
Definition: tobii_research_calibration.h:38
Definition: tobii_research_calibration.h:121
#define TOBII_RESEARCH_CALL
Definition: tobii_research.h:38
Definition: tobii_research.h:373
TobiiResearchNormalizedPoint2D position_on_display_area
Definition: tobii_research_calibration.h:125
TobiiResearchCalibrationEyeData left_eye
Definition: tobii_research_calibration.h:111
Definition: tobii_research_calibration.h:139
TobiiResearchCalibrationStatus status
Definition: tobii_research_calibration.h:162
TOBII_RESEARCH_API TobiiResearchStatus TOBII_RESEARCH_CALL tobii_research_screen_based_monocular_calibration_collect_data(TobiiResearchEyeTracker *eyetracker, float x, float y, TobiiResearchSelectedEye eye_to_calibrate, TobiiResearchSelectedEye *collected_eyes)
Starts collecting data for a calibration point.
TOBII_RESEARCH_API TobiiResearchStatus TOBII_RESEARCH_CALL tobii_research_screen_based_calibration_compute_and_apply(TobiiResearchEyeTracker *eyetracker, TobiiResearchCalibrationResult **result)
Uses the collected data and tries to compute calibration parameters.
TOBII_RESEARCH_API TobiiResearchStatus TOBII_RESEARCH_CALL tobii_research_hmd_based_calibration_collect_data(TobiiResearchEyeTracker *eyetracker, float x, float y, float z)
Starts collecting data for a calibration point.
TobiiResearchCalibrationStatus
Definition: tobii_research_calibration.h:26
#define TOBII_RESEARCH_API
Definition: tobii_research.h:37
Definition: tobii_research_calibration.h:77
Definition: tobii_research_calibration.h:52
TOBII_RESEARCH_API TobiiResearchStatus TOBII_RESEARCH_CALL tobii_research_hmd_based_calibration_compute_and_apply(TobiiResearchEyeTracker *eyetracker, TobiiResearchHMDCalibrationResult *result)
Uses the collected data and tries to compute calibration parameters.