コード例 #1
0
 public __vector_NumDoubleImage(__vector_NumDoubleImage other) : this(VisionLabPINVOKE.new___vector_NumDoubleImage__SWIG_1(__vector_NumDoubleImage.getCPtr(other)), true)
 {
     if (VisionLabPINVOKE.SWIGPendingException.Pending)
     {
         throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
     }
 }
コード例 #2
0
 public __vector_NumDoubleImageEnumerator(__vector_NumDoubleImage collection)
 {
     collectionRef = collection;
     currentIndex  = -1;
     currentObject = null;
     currentSize   = collectionRef.Count;
 }
コード例 #3
0
 public void SetRange(int index, __vector_NumDoubleImage values)
 {
     VisionLabPINVOKE.__vector_NumDoubleImage_SetRange(swigCPtr, index, __vector_NumDoubleImage.getCPtr(values));
     if (VisionLabPINVOKE.SWIGPendingException.Pending)
     {
         throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
     }
 }
コード例 #4
0
    public static __vector_NumDoubleImage Repeat(__NumDoubleImage value, int count)
    {
        global::System.IntPtr   cPtr = VisionLabPINVOKE.__vector_NumDoubleImage_Repeat(__NumDoubleImage.getCPtr(value), count);
        __vector_NumDoubleImage ret  = (cPtr == global::System.IntPtr.Zero) ? null : new __vector_NumDoubleImage(cPtr, true);

        if (VisionLabPINVOKE.SWIGPendingException.Pending)
        {
            throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
コード例 #5
0
    public __vector_NumDoubleImage GetRange(int index, int count)
    {
        global::System.IntPtr   cPtr = VisionLabPINVOKE.__vector_NumDoubleImage_GetRange(swigCPtr, index, count);
        __vector_NumDoubleImage ret  = (cPtr == global::System.IntPtr.Zero) ? null : new __vector_NumDoubleImage(cPtr, true);

        if (VisionLabPINVOKE.SWIGPendingException.Pending)
        {
            throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
コード例 #6
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(__vector_NumDoubleImage obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }
コード例 #7
0
 internal static HandleRef getCPtr(__vector_NumDoubleImage obj)
 {
     return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr);
 }