Exemplo n.º 1
0
 public void SetMaskValue(int x, int y, RGB161616Pixel v)
 {
     VisionLabPINVOKE.Mask_RGB16_SetMaskValue(swigCPtr, x, y, RGB161616Pixel.getCPtr(v));
     if (VisionLabPINVOKE.SWIGPendingException.Pending)
     {
         throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
     }
 }
 public void SetPixel(int x, int y, RGB161616Pixel value)
 {
     VisionLabPINVOKE.__NumRGB161616Image_SetPixel(swigCPtr, x, y, RGB161616Pixel.getCPtr(value));
     if (VisionLabPINVOKE.SWIGPendingException.Pending)
     {
         throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemplo n.º 3
0
    public bool Not(RGB161616Pixel p)
    {
        bool ret = VisionLabPINVOKE.RGB161616Pixel_Not(swigCPtr, RGB161616Pixel.getCPtr(p));

        if (VisionLabPINVOKE.SWIGPendingException.Pending)
        {
            throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Exemplo n.º 4
0
    public RGB161616Pixel Add(RGB161616Pixel p)
    {
        RGB161616Pixel ret = new RGB161616Pixel(VisionLabPINVOKE.RGB161616Pixel_Add(swigCPtr, RGB161616Pixel.getCPtr(p)), false);

        if (VisionLabPINVOKE.SWIGPendingException.Pending)
        {
            throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Exemplo n.º 5
0
    public RGB161616Pixel Divide_Op(RGB161616Pixel p)
    {
        RGB161616Pixel ret = new RGB161616Pixel(VisionLabPINVOKE.RGB161616Pixel_Divide_Op(swigCPtr, RGB161616Pixel.getCPtr(p)), true);

        if (VisionLabPINVOKE.SWIGPendingException.Pending)
        {
            throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Exemplo n.º 6
0
 public Mask_RGB16(int height, int width, int orgX, int orgY, RGB161616Pixel v) : this(VisionLabPINVOKE.new_Mask_RGB16__SWIG_4(height, width, orgX, orgY, RGB161616Pixel.getCPtr(v)), true)
 {
     if (VisionLabPINVOKE.SWIGPendingException.Pending)
     {
         throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
     }
 }
    public XYCoord GetXYCoord(RGB161616Pixel ptr)
    {
        XYCoord ret = new XYCoord(VisionLabPINVOKE.__NumRGB161616Image_GetXYCoord(swigCPtr, RGB161616Pixel.getCPtr(ptr)), true);

        if (VisionLabPINVOKE.SWIGPendingException.Pending)
        {
            throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
    public __NumRGB161616Image Assign_Op(RGB161616Pixel pixel)
    {
        __NumRGB161616Image ret = new __NumRGB161616Image(VisionLabPINVOKE.__NumRGB161616Image_Assign_Op__SWIG_1(swigCPtr, RGB161616Pixel.getCPtr(pixel)), false);

        if (VisionLabPINVOKE.SWIGPendingException.Pending)
        {
            throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }