public vector_YUV888Pixel(vector_YUV888Pixel other) : this(VisionLabPINVOKE.new_vector_YUV888Pixel__SWIG_1(vector_YUV888Pixel.getCPtr(other)), true)
 {
     if (VisionLabPINVOKE.SWIGPendingException.Pending)
     {
         throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
     }
 }
 public vector_YUV888PixelEnumerator(vector_YUV888Pixel collection)
 {
     collectionRef = collection;
     currentIndex  = -1;
     currentObject = null;
     currentSize   = collectionRef.Count;
 }
 public void SetRange(int index, vector_YUV888Pixel values)
 {
     VisionLabPINVOKE.vector_YUV888Pixel_SetRange(swigCPtr, index, vector_YUV888Pixel.getCPtr(values));
     if (VisionLabPINVOKE.SWIGPendingException.Pending)
     {
         throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
     }
 }
    public static vector_YUV888Pixel Repeat(YUV888Pixel value, int count)
    {
        IntPtr             cPtr = VisionLabPINVOKE.vector_YUV888Pixel_Repeat(YUV888Pixel.getCPtr(value), count);
        vector_YUV888Pixel ret  = (cPtr == IntPtr.Zero) ? null : new vector_YUV888Pixel(cPtr, true);

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

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