This singleton is the main entry point of the TET C# Client. It manages all routines associated to gaze control.
Using this class a developer can 'calibrate' an eye tracking setup and attach listeners to recieve live data streams
of GazeData updates.
Inheritance Hierarchy
Namespace: TETCSharpClientAssembly: TETCSharpClient (in TETCSharpClient.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
The GazeManager type exposes the following members.
Methods
Name | Description | |
---|---|---|
Activate(GazeManager ApiVersion, GazeManager ClientMode) |
Activates TET C# Client and all underlying routines using default values. Should be called _only_
once when an application starts up. Calling thread will be locked during
initialization.
| |
Activate(GazeManager ApiVersion, GazeManager ClientMode, String, Int32) |
Activates TET C# Client and all underlying routines. Should be called _only_
once when an application starts up. Calling thread will be locked during
initialization.
| |
AddCalibrationResultListener |
Adds a ICalibrationResultListener to the TET C# client. This listener
will recieve updates about calibration state changes.
| |
AddConnectionStateListener |
Adds a IConnectionStateListener to the TET C# client. This listener
will recieve updates about change in connection state to the EyeTribe Server.
| |
AddGazeListener |
Adds a IGazeListener to the TET C# client. This listener
will recieve GazeData updates when available
| |
AddTrackerStateListener |
Adds a ITrackerStateListener to the TET C# client. This listener
will recieve updates about change of active screen index.
| |
CalibrationAbort |
Cancels an ongoing calibration process.
| |
CalibrationClear |
Resets calibration state, cancelling any previous calibrations.
| |
CalibrationPointEnd |
Called for every calibration point during a calibration process. This should be
called 1-2 seconds after CalibrationPointStart(Int32, Int32) .
The calibration process must be initiated by a call to CalibrationStart(Int16, ICalibrationProcessHandler)
before calling this.
| |
CalibrationPointStart |
Called for every calibration point during a calibration process. This call should be followed by a call to
CalibrationPointEnd 1-2 seconds later.
The calibration process must be initiated by a call to CalibrationStart(Int16, ICalibrationProcessHandler)
before calling this.
| |
CalibrationStart |
Initiate a new calibration process. Must be called before any call to CalibrationPointStart(Int32, Int32)
or CalibrationPointEnd .
Any previous (and possible running) calibration process must be completed or aborted before calling this.
A full calibration process consists of a number of calls to CalibrationPointStart(Int32, Int32)
and CalibrationPointEnd matching the total number of clibration points set by the
numCalibrationPoints parameter.
| |
ClearListeners |
Clear all attached listeners, clears GazeData queue and stop broadcating
| |
Deactivate |
Deactivates TET C# Client and all under lying routines. Should be called when
a application closes down.
| |
Equals | (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetNumCalibrationResultListeners |
Gets current number of attached ICalibrationResultListener instances.
| |
GetNumConnectionStateListeners |
Gets current number of attached IConnectionStateListener instances.
| |
GetNumGazeListeners |
Gets current number of attached IGazeListener instances.
| |
GetNumTrackerStateListeners |
Gets current number of attached ITrackerStateListener instances.
| |
GetType | Gets the type of the current instance. (Inherited from Object.) | |
HasCalibrationResultListener |
Checkes if a given instance of ICalibrationResultListener is currently attached.
| |
HasConnectionStateListener |
Checkes if a given instance of IConnectionStateListener is currently attached.
| |
HasGazeListener |
Checkes if a given instance of IGazeListener is currently attached.
| |
HasTrackerStateListener |
Checkes if a given instance of ITrackerStateListener is currently attached.
| |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
OnGazeApiConnectionStateChanged |
Internal callback method. Should not be called directly.
| |
OnGazeApiResponse |
Internal callback method. Should not be called directly.
| |
RemoveCalibrationResultListener |
Remove a ICalibrationResultListener from the TET C# client.
| |
RemoveConnectionStateListener |
Remove a IConnectionStateListener from the TET C# client.
| |
RemoveGazeListener |
Remove a IGazeListener from the TET C# client.
| |
RemoveTrackerStateListener |
Remove a ITrackerStateListener from the TET C# client.
| |
SwitchScreen |
Switch currently active screen. Enabled the user to take control of which screen is used for calibration
and gaze control.
| |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Fields
Top
Properties
Name | Description | |
---|---|---|
clientMode |
Current running mode of this client
| |
Framerate |
Number of frames per second delivered by Tracker Server
| |
Instance | ||
IsActivated |
Is the client library connected to Tracker Server and initialized?
| |
IsCalibrated |
Is the client already calibrated?
| |
IsCalibrating |
Is the client in the middle of a calibration process?
| |
IsConnected | Obsolete.
Is the client library connected to Tracker Server?
| |
LastCalibrationResult |
The lastest performed and valid CalibrationResult. Note the result is not nessesarily positive
and clients should evaluate the result before using.
| |
ScreenIndex |
Index of currently used screen. Used for multiscreen setups.
| |
ScreenPhysicalHeight |
Physical height of screen in meters
| |
ScreenPhysicalWidth |
Physical width of screen in meters
| |
ScreenResolutionHeight |
Height of screen resolution in pixels
| |
ScreenResolutionWidth |
Width of screen resolution in pixels
| |
Trackerstate |
The current state of the connected TrackerDevice.
| |
version |
Current API version compliance of Tracker Server
|
See Also