C# Class ATUAV_RT.ConsolePrinter

Example GazeDataHandler that prints all events to console. When subscribed to fixation events, also prints them to console.
Inheritance: GazeDataSynchronizedHandler
Afficher le fichier Open project: ATUAV/ATUAV

Méthodes publiques

Méthode Description
ConsolePrinter ( SyncManager syncManager ) : System
FixationEnd ( int time, int duration, int x, int y ) : void

Writes fixation data to console if CPU and eyetracker clocks are synchronized. Detailed explanation of synchronization available in Tobii SDK 3.0 Developer Guide. http://www.tobii.com/Global/Analysis/Downloads/User_Manuals_and_Guides/Tobii%20SDK%203.0%20Release%20Candidate%201%20Developers%20Guide.pdf

Méthodes protégées

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

Writes (X, Y) coordinate of gaze point to console if CPU and eyetracker clocks are synchronized. Detailed explanation of synchronization available in Tobii SDK 3.0 Developer Guide. http://www.tobii.com/Global/Analysis/Downloads/User_Manuals_and_Guides/Tobii%20SDK%203.0%20Release%20Candidate%201%20Developers%20Guide.pdf

GazeDataReceivedSynchronized ( object sender, GazeDataItem gazePoint ) : void

Writes (X, Y) coordinate of gaze point to console if CPU and eyetracker clocks are synchronized. Detailed explanation of synchronization available in Tobii SDK 3.0 Developer Guide. http://www.tobii.com/Global/Analysis/Downloads/User_Manuals_and_Guides/Tobii%20SDK%203.0%20Release%20Candidate%201%20Developers%20Guide.pdf

Print ( GazeDataItem gazePoint ) : void

Writes gaze data information to console.

Print ( int time, int duration, int x, int y ) : void

Writes fixation information to console.

Method Details

ConsolePrinter() public méthode

public ConsolePrinter ( SyncManager syncManager ) : System
syncManager SyncManager
Résultat System

FixationEnd() public méthode

Writes fixation data to console if CPU and eyetracker clocks are synchronized. Detailed explanation of synchronization available in Tobii SDK 3.0 Developer Guide. http://www.tobii.com/Global/Analysis/Downloads/User_Manuals_and_Guides/Tobii%20SDK%203.0%20Release%20Candidate%201%20Developers%20Guide.pdf
public FixationEnd ( int time, int duration, int x, int y ) : void
time int Fixation start time in ms
duration int Fixation duration in ms
x int Fixation X position in pixels
y int Fixation Y position in pixels
Résultat void

GazeDataReceivedSynchronized() protected méthode

Writes (X, Y) coordinate of gaze point to console if CPU and eyetracker clocks are synchronized. Detailed explanation of synchronization available in Tobii SDK 3.0 Developer Guide. http://www.tobii.com/Global/Analysis/Downloads/User_Manuals_and_Guides/Tobii%20SDK%203.0%20Release%20Candidate%201%20Developers%20Guide.pdf
protected GazeDataReceivedSynchronized ( object sender, GazeDataEventArgs e ) : void
sender object
e GazeDataEventArgs
Résultat void

GazeDataReceivedSynchronized() protected méthode

Writes (X, Y) coordinate of gaze point to console if CPU and eyetracker clocks are synchronized. Detailed explanation of synchronization available in Tobii SDK 3.0 Developer Guide. http://www.tobii.com/Global/Analysis/Downloads/User_Manuals_and_Guides/Tobii%20SDK%203.0%20Release%20Candidate%201%20Developers%20Guide.pdf
protected GazeDataReceivedSynchronized ( object sender, GazeDataItem gazePoint ) : void
sender object
gazePoint GazeDataItem
Résultat void

Print() protected méthode

Writes gaze data information to console.
protected Print ( GazeDataItem gazePoint ) : void
gazePoint GazeDataItem GazeDataItem to write to console
Résultat void

Print() protected méthode

Writes fixation information to console.
protected Print ( int time, int duration, int x, int y ) : void
time int Start time of fixation
duration int Duration of fixation
x int X coordinate of fixation
y int Y coordinate of fixation
Résultat void