예제 #1
0
파일: solar.cs 프로젝트: Staskkk/VRPhone
        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);
        }
예제 #2
0
 private void MainForm_Load(object sender, EventArgs e)
 {
     mainFormBindingSource.DataSource = this;
     _tracker = (IOpticalFlowEstimator)TrackerSelector.SelectedItem;
 }
예제 #3
0
 private void TrackerSelector_SelectedIndexChanged(object sender, EventArgs e)
 {
     _tracker = (IOpticalFlowEstimator)TrackerSelector.SelectedItem;
 }