示例#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);
 }