예제 #1
0
 public vector_OrdByteImage(vector_OrdByteImage other) : this(VisionLabPINVOKE.new_vector_OrdByteImage__SWIG_1(vector_OrdByteImage.getCPtr(other)), true)
 {
     if (VisionLabPINVOKE.SWIGPendingException.Pending)
     {
         throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
     }
 }
예제 #2
0
 public vector_OrdByteImageEnumerator(vector_OrdByteImage collection)
 {
     collectionRef = collection;
     currentIndex  = -1;
     currentObject = null;
     currentSize   = collectionRef.Count;
 }
예제 #3
0
 public void SetRange(int index, vector_OrdByteImage values)
 {
     VisionLabPINVOKE.vector_OrdByteImage_SetRange(swigCPtr, index, vector_OrdByteImage.getCPtr(values));
     if (VisionLabPINVOKE.SWIGPendingException.Pending)
     {
         throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
     }
 }
예제 #4
0
    public static vector_OrdByteImage Repeat(OrdByteImage value, int count)
    {
        IntPtr cPtr             = VisionLabPINVOKE.vector_OrdByteImage_Repeat(OrdByteImage.getCPtr(value), count);
        vector_OrdByteImage ret = (cPtr == IntPtr.Zero) ? null : new vector_OrdByteImage(cPtr, true);

        if (VisionLabPINVOKE.SWIGPendingException.Pending)
        {
            throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
예제 #5
0
    public vector_OrdByteImage GetRange(int index, int count)
    {
        IntPtr cPtr             = VisionLabPINVOKE.vector_OrdByteImage_GetRange(swigCPtr, index, count);
        vector_OrdByteImage ret = (cPtr == IntPtr.Zero) ? null : new vector_OrdByteImage(cPtr, true);

        if (VisionLabPINVOKE.SWIGPendingException.Pending)
        {
            throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
예제 #6
0
 internal static HandleRef getCPtr(vector_OrdByteImage obj)
 {
     return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr);
 }