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
Show file Open project: ATUAV/ATUAV

Public Methods

Method 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

Protected Methods

Method 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 method

public ConsolePrinter ( SyncManager syncManager ) : System
syncManager SyncManager
return System

FixationEnd() public method

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
return void

GazeDataReceivedSynchronized() protected method

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
return void

GazeDataReceivedSynchronized() protected method

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
return void

Print() protected method

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

Print() protected method

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
return void