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 {
103 
107 typedef struct {
117 
121 typedef struct {
135 
139 typedef struct {
153 
164  TobiiResearchEyeTracker* eyetracker);
165 
176  TobiiResearchEyeTracker* eyetracker);
177 
195  TobiiResearchEyeTracker* eyetracker,
196  float x,
197  float y);
198 
210  TobiiResearchEyeTracker* eyetracker,
211  float x,
212  float y);
213 
228  TobiiResearchEyeTracker* eyetracker,
230 
238 
257  float x, float y, TobiiResearchSelectedEye eye_to_calibrate, TobiiResearchSelectedEye* collected_eyes);
258 
270  float x, float y, TobiiResearchSelectedEye eye_to_calibrate);
285 
286 #ifdef __cplusplus
287 }
288 #endif
289 #endif /* TOBII_RESEARCH_CALIBRATION_H_ */
Definition: tobii_research_calibration.h:93
TobiiResearchCalibrationEyeValidity validity
Definition: tobii_research_calibration.h:101
TobiiResearchNormalizedPoint2D position_on_display_area
Definition: tobii_research_calibration.h:97
Definition: tobii_research_calibration.h:121
TobiiResearchNormalizedPoint2D position_on_display_area
Definition: tobii_research_calibration.h:125
size_t calibration_sample_count
Definition: tobii_research_calibration.h:133
TobiiResearchCalibrationSample * calibration_samples
Definition: tobii_research_calibration.h:129
Definition: tobii_research_calibration.h:139
size_t calibration_point_count
Definition: tobii_research_calibration.h:147
TobiiResearchCalibrationStatus status
Definition: tobii_research_calibration.h:151
TobiiResearchCalibrationPoint * calibration_points
Definition: tobii_research_calibration.h:143
Definition: tobii_research_calibration.h:107
TobiiResearchCalibrationEyeData right_eye
Definition: tobii_research_calibration.h:115
TobiiResearchCalibrationEyeData left_eye
Definition: tobii_research_calibration.h:111
Definition: tobii_research.h:384
Generic SDK functions.
#define TOBII_RESEARCH_API
Definition: tobii_research.h:37
struct TobiiResearchEyeTracker TobiiResearchEyeTracker
Definition: tobii_research.h:315
#define TOBII_RESEARCH_CALL
Definition: tobii_research.h:38
TobiiResearchStatus
Definition: tobii_research.h:45
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.
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.
TobiiResearchCalibrationStatus
Definition: tobii_research_calibration.h:26
@ TOBII_RESEARCH_CALIBRATION_FAILURE
Definition: tobii_research_calibration.h:30
@ TOBII_RESEARCH_CALIBRATION_SUCCESS
Definition: tobii_research_calibration.h:34
@ TOBII_RESEARCH_CALIBRATION_SUCCESS_RIGHT_EYE
Definition: tobii_research_calibration.h:42
@ TOBII_RESEARCH_CALIBRATION_SUCCESS_LEFT_EYE
Definition: tobii_research_calibration.h:38
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_enter_calibration_mode(TobiiResearchEyeTracker *eyetracker)
Enters the screen based calibration mode and the eye tracker is made ready for collecting data and ca...
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.
TobiiResearchCalibrationEyeValidity
Definition: tobii_research_calibration.h:68
@ TOBII_RESEARCH_CALIBRATION_EYE_VALIDITY_UNKNOWN
Definition: tobii_research_calibration.h:87
@ TOBII_RESEARCH_CALIBRATION_EYE_VALIDITY_VALID_BUT_NOT_USED
Definition: tobii_research_calibration.h:77
@ TOBII_RESEARCH_CALIBRATION_EYE_VALIDITY_VALID_AND_USED
Definition: tobii_research_calibration.h:82
@ TOBII_RESEARCH_CALIBRATION_EYE_VALIDITY_INVALID_AND_NOT_USED
Definition: tobii_research_calibration.h:72
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.
TOBII_RESEARCH_API TobiiResearchStatus TOBII_RESEARCH_CALL tobii_research_screen_based_calibration_leave_calibration_mode(TobiiResearchEyeTracker *eyetracker)
Leaves the screen based calibration mode.
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...
TobiiResearchSelectedEye
Definition: tobii_research_calibration.h:48
@ TOBII_RESEARCH_SELECTED_EYE_LEFT
Definition: tobii_research_calibration.h:52
@ TOBII_RESEARCH_SELECTED_EYE_RIGHT
Definition: tobii_research_calibration.h:57
@ TOBII_RESEARCH_SELECTED_EYE_BOTH
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.