C# Класс 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.
Наследование: GazeDataSynchronizedHandler
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
SCREEN_HEIGHT double
SCREEN_WIDTH double

Открытые методы

Метод Описание
FixationDetector ( SyncManager syncManager ) : System

Initializes fixation detector to Tobii Studio default

Защищенные методы

Метод Описание
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.

Приватные методы

Метод Описание
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.

Описание методов

FixationDetector() публичный Метод

Initializes fixation detector to Tobii Studio default
public FixationDetector ( SyncManager syncManager ) : System
syncManager SyncManager
Результат System

GazeDataReceivedSynchronized() защищенный Метод

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
Результат void

GazeDataReceivedSynchronized() защищенный Метод

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
Результат void

Описание свойств

SCREEN_HEIGHT публичное статическое свойство

public static double SCREEN_HEIGHT
Результат double

SCREEN_WIDTH публичное статическое свойство

public static double SCREEN_WIDTH
Результат double