/// <summary>
        /// Constructor: Init the Controller_MyGaze and set the SampleDataCallback.
        /// </summary>
        public GazeController()
        {
            ET_Device = new EyeTrackingController();

            //CallbackDefinition
            m_samplecallBack = new GetSampleCallBack(GetSampleCallbackFunction);
            ET_Device.iV_SetSampleCallback(m_samplecallBack);
        }
Esempio n. 2
0
        /// <summary>
        /// Constructor: Init the Controller_MyGaze and set the SampleDataCallback.
        /// </summary>
        public GazeController()
        {
            ET_Device = new EyeTrackingController();

            //CallbackDefinition
            m_samplecallBack = new GetSampleCallBack(GetSampleCallbackFunction);
            ET_Device.iV_SetSampleCallback(m_samplecallBack);
        }
Esempio n. 3
0
 /// <summary>
 /// Init the Controller
 /// </summary>
 public EyeTrackingController()
 {
     m_samplecallBack = GetSampleCallbackFunction;
     gazeModel = new GazeModel(Screen.width, Screen.height);
 }
Esempio n. 4
0
 /// <summary>
 /// Init the Controller
 /// </summary>
 public EyeTrackingController()
 {
     m_samplecallBack = GetSampleCallbackFunction;
     gazeModel        = new GazeModel(Screen.width, Screen.height);
 }