GazeTracker
Main Page
Classes
Files
File List
Samples
OpenGL
source
GazeTracker
Repository.h
1
#include "TrackerGazeCalibrator.h"
2
3
using namespace
VisageSDK
;
4
5
/**
6
* Class used to provide calibration data to the screen space gaze tracking system.
7
* Aggregates VisageSDK::ScreenSpaceGazeRepositroy object to hold calibration data.
8
* Implements method for reading calibration data from file.
9
* Provided sample calibration data located in ../Samples/OpenGL/data/GazeTracker is written is following format:
10
* frame_index x_coordinate y_coordinate
11
*@see VisageSDK::ScreenSpaceGazeRepository
12
*/
13
class
Repository
14
{
15
public
:
16
17
/**
18
* Constructor.
19
**/
20
Repository
();
21
22
/**
23
* Reads calibration data from file written in following format: frame_index x y
24
**/
25
void
ReadFromFile(
char
* filename);
26
27
ScreenSpaceGazeData
* Get(
int
index);
28
int
GetCount();
29
30
private
:
31
ScreenSpaceGazeRepository
* calibrator;
32
33
};
Repository
Class used to provide calibration data to the screen space gaze tracking system.
Definition:
Repository.h:13
VisageSDK::ScreenSpaceGazeRepository
VisageSDK::ScreenSpaceGazeData
VisageSDK
Generated on Mon Nov 16 2026 12:41:10 for GazeTracker by
1.8.10