Example #1
0
        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);
        }
Example #2
0
 private void MainForm_Load(object sender, EventArgs e)
 {
     mainFormBindingSource.DataSource = this;
     _tracker = (IOpticalFlowEstimator)TrackerSelector.SelectedItem;
 }
Example #3
0
 private void TrackerSelector_SelectedIndexChanged(object sender, EventArgs e)
 {
     _tracker = (IOpticalFlowEstimator)TrackerSelector.SelectedItem;
 }