public static IOpticalFlowEstimator bindTo_IOpticalFlowEstimator(IComponentIntrospect component) { global::System.IntPtr cPtr = solarPINVOKE.bindTo_IOpticalFlowEstimator(IComponentIntrospect.getCPtr(component)); IOpticalFlowEstimator ret = (cPtr == global::System.IntPtr.Zero) ? null : new IOpticalFlowEstimator(cPtr, true); if (solarPINVOKE.SWIGPendingException.Pending) { throw solarPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
private void MainForm_Load(object sender, EventArgs e) { mainFormBindingSource.DataSource = this; _tracker = (IOpticalFlowEstimator)TrackerSelector.SelectedItem; }
private void TrackerSelector_SelectedIndexChanged(object sender, EventArgs e) { _tracker = (IOpticalFlowEstimator)TrackerSelector.SelectedItem; }