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 */
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 };
Class used to provide calibration data to the screen space gaze tracking system.
Definition: Repository.h:13