예제 #1
0
 public CVPointList(CVPointList other) : this(LandmarkDetectorPINVOKE.new_CVPointList__SWIG_1(CVPointList.getCPtr(other)), true)
 {
     if (LandmarkDetectorPINVOKE.SWIGPendingException.Pending)
     {
         throw LandmarkDetectorPINVOKE.SWIGPendingException.Retrieve();
     }
 }
예제 #2
0
 public CVPointListEnumerator(CVPointList collection)
 {
     collectionRef = collection;
     currentIndex  = -1;
     currentObject = null;
     currentSize   = collectionRef.Count;
 }
예제 #3
0
 public void SetRange(int index, CVPointList values)
 {
     LandmarkDetectorPINVOKE.CVPointList_SetRange(swigCPtr, index, CVPointList.getCPtr(values));
     if (LandmarkDetectorPINVOKE.SWIGPendingException.Pending)
     {
         throw LandmarkDetectorPINVOKE.SWIGPendingException.Retrieve();
     }
 }
예제 #4
0
 public static void DrawLandmarks(SWIGTYPE_p_cv__Mat img, CVPointList landmarks)
 {
     LandmarkDetectorPINVOKE.DrawLandmarks(SWIGTYPE_p_cv__Mat.getCPtr(img), CVPointList.getCPtr(landmarks));
     if (LandmarkDetectorPINVOKE.SWIGPendingException.Pending)
     {
         throw LandmarkDetectorPINVOKE.SWIGPendingException.Retrieve();
     }
 }
예제 #5
0
        public static CVPointList Repeat(SWIGTYPE_p_cv__Point value, int count)
        {
            global::System.IntPtr cPtr = LandmarkDetectorPINVOKE.CVPointList_Repeat(SWIGTYPE_p_cv__Point.getCPtr(value), count);
            CVPointList           ret  = (cPtr == global::System.IntPtr.Zero) ? null : new CVPointList(cPtr, true);

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

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