コード例 #1
0
 public vector_NumRGB888Image(vector_NumRGB888Image other) : this(VisionLabPINVOKE.new_vector_NumRGB888Image__SWIG_1(vector_NumRGB888Image.getCPtr(other)), true)
 {
     if (VisionLabPINVOKE.SWIGPendingException.Pending)
     {
         throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
     }
 }
コード例 #2
0
 public vector_NumRGB888ImageEnumerator(vector_NumRGB888Image collection)
 {
     collectionRef = collection;
     currentIndex  = -1;
     currentObject = null;
     currentSize   = collectionRef.Count;
 }
コード例 #3
0
 public void SetRange(int index, vector_NumRGB888Image values)
 {
     VisionLabPINVOKE.vector_NumRGB888Image_SetRange(swigCPtr, index, vector_NumRGB888Image.getCPtr(values));
     if (VisionLabPINVOKE.SWIGPendingException.Pending)
     {
         throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
     }
 }
コード例 #4
0
    public static vector_NumRGB888Image Repeat(NumRGB888Image value, int count)
    {
        IntPtr cPtr = VisionLabPINVOKE.vector_NumRGB888Image_Repeat(NumRGB888Image.getCPtr(value), count);
        vector_NumRGB888Image ret = (cPtr == IntPtr.Zero) ? null : new vector_NumRGB888Image(cPtr, true);

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

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