Ejemplo n.º 1
0
        //chose betweeen 3 test mode
        private Point getGazePoint()
        {
            if (mtestingMode == "BothEye")
            {
                gazePoint = combineEyeGaze.GetGazePoint();
            }

            else if (mtestingMode == "RightEye")
            {
                gazePoint = oneEyeRight.GetGazePoint();
            }

            else if (mtestingMode == "LeftEye")
            {
                gazePoint = oneEyeLeft.GetGazePoint();
            }

            return(gazePoint);
        }
        private Point getGazePoint()
        {
            //return combineEyeGaze.GetGazePoint();

            if (mCalibrationMode == "BothEyes")
            {
                return(combineEyeGaze.GetGazePoint());
            }

            else if (mCalibrationMode == "RightEye")
            {
                return(oneEyeRight.GetGazePoint());
            }

            else if (mCalibrationMode == "LeftEye")
            {
                return(oneEyeLeft.GetGazePoint());
            }

            return(combineEyeGaze.GetGazePoint());
        }