Exemple #1
0
 public FloatList(FloatList other) : this(solar_api_trackingPINVOKE.new_FloatList__SWIG_1(FloatList.getCPtr(other)), true)
 {
     if (solar_api_trackingPINVOKE.SWIGPendingException.Pending)
     {
         throw solar_api_trackingPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemple #2
0
 public FloatListEnumerator(FloatList collection)
 {
     collectionRef = collection;
     currentIndex  = -1;
     currentObject = null;
     currentSize   = collectionRef.Count;
 }
Exemple #3
0
 public void SetRange(int index, FloatList values)
 {
     solar_api_trackingPINVOKE.FloatList_SetRange(swigCPtr, index, FloatList.getCPtr(values));
     if (solar_api_trackingPINVOKE.SWIGPendingException.Pending)
     {
         throw solar_api_trackingPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemple #4
0
        public static FloatList Repeat(float value, int count)
        {
            global::System.IntPtr cPtr = solar_api_trackingPINVOKE.FloatList_Repeat(value, count);
            FloatList             ret  = (cPtr == global::System.IntPtr.Zero) ? null : new FloatList(cPtr, true);

            if (solar_api_trackingPINVOKE.SWIGPendingException.Pending)
            {
                throw solar_api_trackingPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Exemple #5
0
        public FloatList GetRange(int index, int count)
        {
            global::System.IntPtr cPtr = solar_api_trackingPINVOKE.FloatList_GetRange(swigCPtr, index, count);
            FloatList             ret  = (cPtr == global::System.IntPtr.Zero) ? null : new FloatList(cPtr, true);

            if (solar_api_trackingPINVOKE.SWIGPendingException.Pending)
            {
                throw solar_api_trackingPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
        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);
        }
Exemple #7
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(FloatList obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }