Exemple #1
0
 public vector_OrdInt32Image(vector_OrdInt32Image other) : this(VisionLabPINVOKE.new_vector_OrdInt32Image__SWIG_1(vector_OrdInt32Image.getCPtr(other)), true)
 {
     if (VisionLabPINVOKE.SWIGPendingException.Pending)
     {
         throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemple #2
0
 public vector_OrdInt32ImageEnumerator(vector_OrdInt32Image collection)
 {
     collectionRef = collection;
     currentIndex  = -1;
     currentObject = null;
     currentSize   = collectionRef.Count;
 }
Exemple #3
0
 public void SetRange(int index, vector_OrdInt32Image values)
 {
     VisionLabPINVOKE.vector_OrdInt32Image_SetRange(swigCPtr, index, vector_OrdInt32Image.getCPtr(values));
     if (VisionLabPINVOKE.SWIGPendingException.Pending)
     {
         throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemple #4
0
    public static vector_OrdInt32Image Repeat(OrdInt32Image value, int count)
    {
        IntPtr cPtr = VisionLabPINVOKE.vector_OrdInt32Image_Repeat(OrdInt32Image.getCPtr(value), count);
        vector_OrdInt32Image ret = (cPtr == IntPtr.Zero) ? null : new vector_OrdInt32Image(cPtr, true);

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

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