Example #1
0
    void OnGUI()
    {
        string str = "Capture Rate=" + FPS;

        str += "\nLeft Eye:" + LeftEyePos.ToString();
        str += "\nRight Eye:" + RightEyePos.ToString();
        GUI.TextArea(new Rect(0, 0, 200, 50), str);
    }
Example #2
0
    void OnGUI()
    {
        string str = "Capture Rate=" + FPS;

        str += "\t\nEye[0] FPS=" + _eyeFps[0].FPS();
        str += "\t\nEye[1] FPS=" + _eyeFps[1].FPS();
        str += "\nLeft Eye:" + LeftEyePos.ToString();
        str += "\nRight Eye:" + RightEyePos.ToString();
        GUI.TextArea(new Rect(0, 0, 200, 80), str);
    }
Example #3
0
    void OnGUI()
    {
        string str = "Capture Rate=" + FPS;

        str += "\nLeft Eye:" + LeftEyePos.ToString();
        str += "\nRight Eye:" + RightEyePos.ToString();
        str += "\nUptime: " + upTimeSec;
        str += "\nPupilTime:" + _currentPTf;
        GUI.TextArea(new Rect(0, 0, 200, 80), str);
    }
Example #4
0
    void OnGUI()
    {
        string str = "Capture Rate=" + FPS;

        if (m_status == EStatus.Calibration)
        {
            str += "\t\nCalibration Samples=" + _currCalibSamples;
        }
        else
        {
            str += "\t\nEye[0] FPS=" + _eyeFps [0].FPS();
            str += "\t\nEye[1] FPS=" + _eyeFps [1].FPS();
        }
        str += "\nLeft Eye:" + LeftEyePos.ToString();
        str += "\nRight Eye:" + RightEyePos.ToString();
        GUI.TextArea(new Rect(0, 0, 200, 80), str);
    }
Example #5
0
    public string GetDebugString()
    {
        string str = "Eye Tracker:";

        str += "\tCapture Rate=" + FPS;
        if (m_status == EStatus.Calibration)
        {
            str += "\n\tCalibration Samples=" + _currCalibSamples;
        }
        else
        {
            str += "\n\tEye[0] FPS=" + _eyeFps[0].FPS();
            str += "\n\tEye[1] FPS=" + _eyeFps[1].FPS();
        }
        str += "\n\tLeft Eye:" + LeftEyePos.ToString();
        str += "\n\tRight Eye:" + RightEyePos.ToString();
        return(str);
    }