Tobii Pro SDK Unity API
|
Provides methods and properties for managing calibrations for screen based eye trackers. More...
Public Member Functions | |
ScreenBasedCalibration (IEyeTracker eyeTracker) | |
Initializes a new instance of the ScreenBasedCalibration class More... | |
CalibrationStatus | CollectData (NormalizedPoint2D positionOnDisplayArea) |
Starts collecting data for a calibration point. The argument used is the point the calibration user is assumed to be looking at and is given in the active display area coordinate system. More... | |
CalibrationResult | ComputeAndApply () |
Uses the collected data and tries to compute calibration parameters. If the calculation is successful, the result is applied to the eye tracker. If there is insufficient data to compute a new calibration or if the collected data is not good enough then calculation is failed and will not be applied. More... | |
void | DiscardData (NormalizedPoint2D positionOnDisplayArea) |
Removes the collected data associated with a specific calibration point. More... | |
void | EnterCalibrationMode () |
Enters the calibration mode and the eye tracker is made ready for collecting data and calculating new calibrations More... | |
void | LeaveCalibrationMode () |
Leaves the calibration mode. More... | |
void | Dispose () |
Should be called when done with the Calibration object to release resources. More... | |
Protected Member Functions | |
virtual void | Dispose (bool disposing) |
Dispose(bool disposing) executes in two distinct scenarios. If disposing equals true, the method has been called directly or indirectly by a user's code. Managed and unmanaged resources can be disposed. If disposing equals false, the method has been called by the runtime from inside the finalizer and you should not reference other objects. Only unmanaged resources can be disposed. More... | |
Provides methods and properties for managing calibrations for screen based eye trackers.
|
inline |
Initializes a new instance of the ScreenBasedCalibration class
eyeTracker | The eye tracker to calibrate. |
|
inline |
Starts collecting data for a calibration point. The argument used is the point the calibration user is assumed to be looking at and is given in the active display area coordinate system.
positionOnDisplayArea | Data for a calibration point. |
|
inline |
Uses the collected data and tries to compute calibration parameters. If the calculation is successful, the result is applied to the eye tracker. If there is insufficient data to compute a new calibration or if the collected data is not good enough then calculation is failed and will not be applied.
|
inline |
Removes the collected data associated with a specific calibration point.
positionOnDisplayArea | The calibration point to remove. |
|
inline |
Should be called when done with the Calibration object to release resources.
|
inlineprotectedvirtual |
Dispose(bool disposing) executes in two distinct scenarios. If disposing equals true, the method has been called directly or indirectly by a user's code. Managed and unmanaged resources can be disposed. If disposing equals false, the method has been called by the runtime from inside the finalizer and you should not reference other objects. Only unmanaged resources can be disposed.
disposing | Set to true if the method is called from the user's code. |
|
inline |
Enters the calibration mode and the eye tracker is made ready for collecting data and calculating new calibrations
|
inline |
Leaves the calibration mode.