public vector_RGB888Pixel(vector_RGB888Pixel other) : this(VisionLabPINVOKE.new_vector_RGB888Pixel__SWIG_1(vector_RGB888Pixel.getCPtr(other)), true)
 {
     if (VisionLabPINVOKE.SWIGPendingException.Pending)
     {
         throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
     }
 }
 public vector_RGB888PixelEnumerator(vector_RGB888Pixel collection)
 {
     collectionRef = collection;
     currentIndex  = -1;
     currentObject = null;
     currentSize   = collectionRef.Count;
 }
 public void SetRange(int index, vector_RGB888Pixel values)
 {
     VisionLabPINVOKE.vector_RGB888Pixel_SetRange(swigCPtr, index, vector_RGB888Pixel.getCPtr(values));
     if (VisionLabPINVOKE.SWIGPendingException.Pending)
     {
         throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
     }
 }
    public static vector_RGB888Pixel Repeat(RGB888Pixel value, int count)
    {
        IntPtr             cPtr = VisionLabPINVOKE.vector_RGB888Pixel_Repeat(RGB888Pixel.getCPtr(value), count);
        vector_RGB888Pixel ret  = (cPtr == IntPtr.Zero) ? null : new vector_RGB888Pixel(cPtr, true);

        if (VisionLabPINVOKE.SWIGPendingException.Pending)
        {
            throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
    public vector_RGB888Pixel GetRange(int index, int count)
    {
        IntPtr             cPtr = VisionLabPINVOKE.vector_RGB888Pixel_GetRange(swigCPtr, index, count);
        vector_RGB888Pixel ret  = (cPtr == IntPtr.Zero) ? null : new vector_RGB888Pixel(cPtr, true);

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