|
SMI RED eye tracking plugin 1.0
|
#include <EyeTracking.h>
Public Member Functions | |
| EyeTracking () | |
| void | SetCalibration (int method, int visualization, int displayDevice, int speed, int autoAccept, int foregroundBrightness, int backgroundBrightness, int targetShape, int targetSize, char *targetFilename) |
| bool | Calibrate (int validation) |
| bool | SaveCalibrationToFile (char *fileName) |
| bool | LoadCalibrationFromFile (char *fileName) |
| AccuracyStruct * | GetAccuracy () |
| SystemInfoStruct * | GetSystemInfo () |
| CalibrationStruct * | GetCalibration () |
| bool | Connect (char *senderIp, int senderPort, char *receiverIp, int receiverPort) |
| bool | Disconnect () |
| bool | ShowTrackingWindow () |
| bool | CreateLogFile (char *logFileName) |
| bool | WriteToLog (char *logFileLine) |
| void | AddCallbacks () |
| void | GoThread () |
| void | HandleFixationEvent () |
| void | HandleSampleEvent () |
Static Public Member Functions | |
| static int __stdcall | SampleCallbackFunction (SampleStruct sampleData) |
| static int __stdcall | CalibrationUpdated (CalibrationPointStruct calibrationPoint) |
| static int __stdcall | FixationUpdated (EventStruct eventDataSample) |
| EyeTracking::EyeTracking | ( | ) |
Standard constructor and destructor
Definition at line 31 of file EyeTracking.cpp.
| void EyeTracking::AddCallbacks | ( | ) |
Add callback functions for eye tracking
Definition at line 290 of file EyeTracking.cpp.
| bool EyeTracking::Connect | ( | char * | senderIp, |
| int | senderPort, | ||
| char * | receiverIp, | ||
| int | receiverPort | ||
| ) |
Connection and Disconnection
Definition at line 182 of file EyeTracking.cpp.
| bool EyeTracking::CreateLogFile | ( | char * | logFileName | ) |
| AccuracyStruct * EyeTracking::GetAccuracy | ( | ) |
Getters
Definition at line 161 of file EyeTracking.cpp.
| void EyeTracking::GoThread | ( | ) |
| void EyeTracking::HandleFixationEvent | ( | ) |
| void EyeTracking::HandleSampleEvent | ( | ) |
Handle new sample data
Definition at line 324 of file EyeTracking.cpp.
| bool EyeTracking::LoadCalibrationFromFile | ( | char * | fileName | ) |
Load calibration parameters from a configuration file
Definition at line 136 of file EyeTracking.cpp.
| int __stdcall EyeTracking::SampleCallbackFunction | ( | SampleStruct | sampleData | ) | [static] |
Callback functions
Definition at line 241 of file EyeTracking.cpp.
| bool EyeTracking::SaveCalibrationToFile | ( | char * | fileName | ) |
Save calibration parameters to a configuration file
Definition at line 149 of file EyeTracking.cpp.
| void EyeTracking::SetCalibration | ( | int | method, |
| int | visualization, | ||
| int | displayDevice, | ||
| int | speed, | ||
| int | autoAccept, | ||
| int | foregroundBrightness, | ||
| int | backgroundBrightness, | ||
| int | targetShape, | ||
| int | targetSize, | ||
| char * | targetFilename | ||
| ) |
Set up calibration
Definition at line 73 of file EyeTracking.cpp.
| bool EyeTracking::ShowTrackingWindow | ( | ) |
Show tracking window
Definition at line 208 of file EyeTracking.cpp.
1.7.3