Exemple #1
0
        public GazePointGenerator(SimulatorConfig config)
        {
            _config = config;

            _width  = (_config.DisplayArea.TopRight - _config.DisplayArea.TopLeft);
            _height = (_config.DisplayArea.BottomLeft - _config.DisplayArea.TopLeft);
        }
Exemple #2
0
        public SimulatorTracker(ScreenParametersProvider screen, MouseCoordinatesHook hook)
        {
            _config        = new SimulatorConfig();
            _dataGenerator = new GazePointGenerator(_config);

            trackBox    = _config.TrackBox;
            displayArea = _config.DisplayArea;

            _screen = screen;
            _hook   = hook;
        }