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

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

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