Example #1
0
 public vector_NumByteImage(vector_NumByteImage other) : this(VisionLabPINVOKE.new_vector_NumByteImage__SWIG_1(vector_NumByteImage.getCPtr(other)), true)
 {
     if (VisionLabPINVOKE.SWIGPendingException.Pending)
     {
         throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Example #2
0
 public vector_NumByteImageEnumerator(vector_NumByteImage collection)
 {
     collectionRef = collection;
     currentIndex  = -1;
     currentObject = null;
     currentSize   = collectionRef.Count;
 }
Example #3
0
 public void SetRange(int index, vector_NumByteImage values)
 {
     VisionLabPINVOKE.vector_NumByteImage_SetRange(swigCPtr, index, vector_NumByteImage.getCPtr(values));
     if (VisionLabPINVOKE.SWIGPendingException.Pending)
     {
         throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Example #4
0
    public static vector_NumByteImage Repeat(NumByteImage value, int count)
    {
        IntPtr cPtr             = VisionLabPINVOKE.vector_NumByteImage_Repeat(NumByteImage.getCPtr(value), count);
        vector_NumByteImage ret = (cPtr == IntPtr.Zero) ? null : new vector_NumByteImage(cPtr, true);

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

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