public void SetPlotData(Tobii.Gaze.Core.Calibration calibration)
 {
     _leftPlot.Initialize(calibration.GetCalibrationPointDataItems());
     _rightPlot.Initialize(calibration.GetCalibrationPointDataItems());
     textBoxCalibrationErrorLeft.Text  = Program.datosCompartidos.meanCalibrationErrorLeftPx.ToString();
     textBoxCalibrationErrorRight.Text = Program.datosCompartidos.meanCalibrationErrorRightPx.ToString();
     labelError.Text = "Error (px)";
 }
Exemple #2
0
        public void SetPlotData(Tobii.Gaze.Core.Calibration calibration)
        {
            _leftPlot.Initialize(calibration.GetCalibrationPointDataItems());
            _rightPlot.Initialize(calibration.GetCalibrationPointDataItems());

            if (datosCompartidos.meanCalibrationErrorLeftPx == -2147483648)
            {
                textBoxCalibrationErrorLeft.Text = "No calibrado";
            }
            else
            {
                textBoxCalibrationErrorLeft.Text = datosCompartidos.meanCalibrationErrorLeftPx.ToString();
            }

            if (LookAndPlayForm.Program.datosCompartidos.meanCalibrationErrorRightPx == -2147483648)
            {
                textBoxCalibrationErrorRight.Text = "No calibrado";
            }
            else
            {
                textBoxCalibrationErrorRight.Text = datosCompartidos.meanCalibrationErrorRightPx.ToString();
            }
        }