C# Class ATUAV_RT.FixationDetector

GazeDataHandler that detects fixations. GazeDataReceived method must be subscribed to gaze data events for fixations to be detected. Fixation start, update and end events can be subscribed to through the FixationDetector property. FixDetector written by Oleg Špakov at the University of Tampere in Tampere, Finland. http://www.sis.uta.fi/~csolsp/projects.php Documentation available through download link above.
Inheritance: GazeDataSynchronizedHandler
Afficher le fichier Open project: ATUAV/ATUAV Class Usage Examples

Méthodes publiques

Свойство Type Description
SCREEN_HEIGHT double
SCREEN_WIDTH double

Méthodes publiques

Méthode Description
FixationDetector ( SyncManager syncManager ) : System

Initializes fixation detector to Tobii Studio default

Méthodes protégées

Méthode Description
GazeDataReceivedSynchronized ( object sender, GazeDataEventArgs e ) : void

Forwards 2D gaze points to fixation detector. Gaze points are only forwarded if CPU and Eyetracker clocks are synchronized and validity is < 2. If both eyes are valid gaze point coordinates are averaged, if only one eye is valid, only that eye's gaze point is used.

GazeDataReceivedSynchronized ( object sender, GazeDataItem gazePoint ) : void

Forwards 2D gaze points to fixation detector. Gaze points are only forwarded if CPU and Eyetracker clocks are synchronized and validity is < 2. If both eyes are valid gaze point coordinates are averaged, if only one eye is valid, only that eye's gaze point is used.

Private Methods

Méthode Description
getTimestampOffset ( int milliseconds ) : int

Sets the first timestamp to be at time zero, offsets all subsequent timestamps accordingly. Only call this method when SyncManager is Synchronized.

Method Details

FixationDetector() public méthode

Initializes fixation detector to Tobii Studio default
public FixationDetector ( SyncManager syncManager ) : System
syncManager SyncManager
Résultat System

GazeDataReceivedSynchronized() protected méthode

Forwards 2D gaze points to fixation detector. Gaze points are only forwarded if CPU and Eyetracker clocks are synchronized and validity is < 2. If both eyes are valid gaze point coordinates are averaged, if only one eye is valid, only that eye's gaze point is used.
protected GazeDataReceivedSynchronized ( object sender, GazeDataEventArgs e ) : void
sender object
e GazeDataEventArgs GazeDataItem to process
Résultat void

GazeDataReceivedSynchronized() protected méthode

Forwards 2D gaze points to fixation detector. Gaze points are only forwarded if CPU and Eyetracker clocks are synchronized and validity is < 2. If both eyes are valid gaze point coordinates are averaged, if only one eye is valid, only that eye's gaze point is used.
protected GazeDataReceivedSynchronized ( object sender, GazeDataItem gazePoint ) : void
sender object
gazePoint GazeDataItem
Résultat void

Property Details

SCREEN_HEIGHT public_oe static_oe property

public static double SCREEN_HEIGHT
Résultat double

SCREEN_WIDTH public_oe static_oe property

public static double SCREEN_WIDTH
Résultat double