Beispiel #1
0
 public CVPointPairList(CVPointPairList other) : this(LandmarkDetectorPINVOKE.new_CVPointPairList__SWIG_1(CVPointPairList.getCPtr(other)), true)
 {
     if (LandmarkDetectorPINVOKE.SWIGPendingException.Pending)
     {
         throw LandmarkDetectorPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Beispiel #2
0
 public CVPointPairListEnumerator(CVPointPairList collection)
 {
     collectionRef = collection;
     currentIndex  = -1;
     currentObject = null;
     currentSize   = collectionRef.Count;
 }
Beispiel #3
0
 public void SetRange(int index, CVPointPairList values)
 {
     LandmarkDetectorPINVOKE.CVPointPairList_SetRange(swigCPtr, index, CVPointPairList.getCPtr(values));
     if (LandmarkDetectorPINVOKE.SWIGPendingException.Pending)
     {
         throw LandmarkDetectorPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Beispiel #4
0
 public static void DrawBox(CVPointPairList lines, SWIGTYPE_p_cv__Mat image, SWIGTYPE_p_cv__Scalar color, int thickness)
 {
     LandmarkDetectorPINVOKE.DrawBox__SWIG_1(CVPointPairList.getCPtr(lines), SWIGTYPE_p_cv__Mat.getCPtr(image), SWIGTYPE_p_cv__Scalar.getCPtr(color), thickness);
     if (LandmarkDetectorPINVOKE.SWIGPendingException.Pending)
     {
         throw LandmarkDetectorPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Beispiel #5
0
        public static CVPointPairList Repeat(CVPointPair value, int count)
        {
            global::System.IntPtr cPtr = LandmarkDetectorPINVOKE.CVPointPairList_Repeat(CVPointPair.getCPtr(value), count);
            CVPointPairList       ret  = (cPtr == global::System.IntPtr.Zero) ? null : new CVPointPairList(cPtr, true);

            if (LandmarkDetectorPINVOKE.SWIGPendingException.Pending)
            {
                throw LandmarkDetectorPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Beispiel #6
0
        public CVPointPairList GetRange(int index, int count)
        {
            global::System.IntPtr cPtr = LandmarkDetectorPINVOKE.CVPointPairList_GetRange(swigCPtr, index, count);
            CVPointPairList       ret  = (cPtr == global::System.IntPtr.Zero) ? null : new CVPointPairList(cPtr, true);

            if (LandmarkDetectorPINVOKE.SWIGPendingException.Pending)
            {
                throw LandmarkDetectorPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Beispiel #7
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(CVPointPairList obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }