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 {
36 
40 typedef enum {
45 
50 
55 
61 
65 typedef struct {
73  TobiiResearchCalibrationEyeValidity validity;
75 
79 typedef struct {
89 
93 typedef struct {
107 
111 typedef struct {
125 
126 
130 typedef struct {
136 
147  TobiiResearchEyeTracker* eyetracker);
148 
159  TobiiResearchEyeTracker* eyetracker);
160 
178  TobiiResearchEyeTracker* eyetracker,
179  float x,
180  float y);
181 
193  TobiiResearchEyeTracker* eyetracker,
194  float x,
195  float y);
196 
211  TobiiResearchEyeTracker* eyetracker,
213 
221 
232  TobiiResearchEyeTracker* eyetracker);
233 
244  TobiiResearchEyeTracker* eyetracker);
245 
262  TobiiResearchEyeTracker* eyetracker, float x, float y, float z);
263 
264 
279  TobiiResearchEyeTracker* eyetracker,
281 
282 #ifdef __cplusplus
283 }
284 #endif
285 #endif /* TOBII_RESEARCH_CALIBRATION_H_ */
TobiiResearchStatus
Definition: tobii_research.h:45
TobiiResearchNormalizedPoint2D position_on_display_area
Definition: tobii_research_calibration.h:69
Definition: tobii_research_calibration.h:54
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:59
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.
struct TobiiResearchEyeTracker TobiiResearchEyeTracker
Definition: tobii_research.h:304
TobiiResearchCalibrationEyeValidity
Definition: tobii_research_calibration.h:40
TobiiResearchCalibrationStatus status
Definition: tobii_research_calibration.h:123
Definition: tobii_research_calibration.h:65
TobiiResearchCalibrationEyeValidity validity
Definition: tobii_research_calibration.h:73
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:87
TobiiResearchCalibrationSample * calibration_samples
Definition: tobii_research_calibration.h:101
Definition: tobii_research_calibration.h:44
size_t calibration_point_count
Definition: tobii_research_calibration.h:119
size_t calibration_sample_count
Definition: tobii_research_calibration.h:105
TobiiResearchCalibrationPoint * calibration_points
Definition: tobii_research_calibration.h:115
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:130
Definition: tobii_research_calibration.h:30
Definition: tobii_research_calibration.h:79
Definition: tobii_research_calibration.h:34
Definition: tobii_research_calibration.h:93
#define TOBII_RESEARCH_CALL
Definition: tobii_research.h:38
Definition: tobii_research.h:373
TobiiResearchNormalizedPoint2D position_on_display_area
Definition: tobii_research_calibration.h:97
TobiiResearchCalibrationEyeData left_eye
Definition: tobii_research_calibration.h:83
Definition: tobii_research_calibration.h:111
TobiiResearchCalibrationStatus status
Definition: tobii_research_calibration.h:134
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:49
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.