Пример #1
0
 public UCharList(UCharList other) : this(solar_api_trackingPINVOKE.new_UCharList__SWIG_1(UCharList.getCPtr(other)), true)
 {
     if (solar_api_trackingPINVOKE.SWIGPendingException.Pending)
     {
         throw solar_api_trackingPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Пример #2
0
 public UCharListEnumerator(UCharList collection)
 {
     collectionRef = collection;
     currentIndex  = -1;
     currentObject = null;
     currentSize   = collectionRef.Count;
 }
Пример #3
0
 public void SetRange(int index, UCharList values)
 {
     solar_api_trackingPINVOKE.UCharList_SetRange(swigCPtr, index, UCharList.getCPtr(values));
     if (solar_api_trackingPINVOKE.SWIGPendingException.Pending)
     {
         throw solar_api_trackingPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Пример #4
0
        public static UCharList Repeat(byte value, int count)
        {
            global::System.IntPtr cPtr = solar_api_trackingPINVOKE.UCharList_Repeat(value, count);
            UCharList             ret  = (cPtr == global::System.IntPtr.Zero) ? null : new UCharList(cPtr, true);

            if (solar_api_trackingPINVOKE.SWIGPendingException.Pending)
            {
                throw solar_api_trackingPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Пример #5
0
        public UCharList GetRange(int index, int count)
        {
            global::System.IntPtr cPtr = solar_api_trackingPINVOKE.UCharList_GetRange(swigCPtr, index, count);
            UCharList             ret  = (cPtr == global::System.IntPtr.Zero) ? null : new UCharList(cPtr, true);

            if (solar_api_trackingPINVOKE.SWIGPendingException.Pending)
            {
                throw solar_api_trackingPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Пример #6
0
        public virtual FrameworkReturnCode estimate(Image previousImage, Image currentImage, Point2DfArray pointsToTrack, Point2DfArray trackedPoints, UCharList status, FloatList error)
        {
            FrameworkReturnCode ret = (FrameworkReturnCode)solar_api_trackingPINVOKE.IOpticalFlowEstimator_estimate__SWIG_1(swigCPtr, Image.getCPtr(previousImage), Image.getCPtr(currentImage), Point2DfArray.getCPtr(pointsToTrack), Point2DfArray.getCPtr(trackedPoints), UCharList.getCPtr(status), FloatList.getCPtr(error));

            if (solar_api_trackingPINVOKE.SWIGPendingException.Pending)
            {
                throw solar_api_trackingPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Пример #7
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(UCharList obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }