/// <summary> /// Initializes this instance. /// </summary> public void initialize() { ETDevice = new EyeTrackingController(); m_CalibrationCallback = new CalibrationCallback(CalibrationCallbackFunction); m_SampleCallback = new GetSampleCallback(GetSampleCallbackFunction); m_EventCallback = new GetEventCallback(GetEventCallbackFunction); m_EyeImageCallback = new GetEyeImageCallback(GetEyeImageCallbackFunction); m_SceneVideoCallback = new GetSceneVideoCallback(GetSceneVideoCallbackFunction); m_TrackingMonitorCallback = new GetTrackingMonitorCallback(GetTrackingMonitorCallbackFunction); }
private void SmiSample_Load(object sender, EventArgs e) { ETDevice = new EyeTrackingController.EyeTrackingController(); m_CalibrationCallback = new CalibrationCallback(CalibrationCallbackFunction); m_SampleCallback = new GetSampleCallback(GetSampleCallbackFunction); m_EventCallback = new GetEventCallback(GetEventCallbackFunction); m_EyeImageCallback = new GetEyeImageCallback(GetEyeImageCallbackFunction); m_SceneVideoCallback = new GetSceneVideoCallback(GetSceneVideoCallbackFunction); m_TrackingMonitorCallback = new GetTrackingMonitorCallback(GetTrackingMonitorCallbackFunction); }
public ETTrackingMonitor(ETController ETDevice, PictureBox inPicBox) { m_TrackingMonitorCallback = new GetTrackingMonitorCallback(GetTrackingMonitorCallbackFunction); ETDevice.iV_SetTrackingMonitorCallback(m_TrackingMonitorCallback); pictureBoxReference = inPicBox; }