Beispiel #1
0
 public Mask_Byte(Mask_Byte mask) : this(VisionLabPINVOKE.new_Mask_Byte__SWIG_1(Mask_Byte.getCPtr(mask)), true)
 {
     if (VisionLabPINVOKE.SWIGPendingException.Pending)
     {
         throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Beispiel #2
0
    public bool IsEqual_Op(Mask_Byte mask)
    {
        bool ret = VisionLabPINVOKE.Mask_Byte_IsEqual_Op(swigCPtr, Mask_Byte.getCPtr(mask));

        if (VisionLabPINVOKE.SWIGPendingException.Pending)
        {
            throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Beispiel #3
0
    public Mask_Byte Assign_Op(Mask_Byte mask)
    {
        Mask_Byte ret = new Mask_Byte(VisionLabPINVOKE.Mask_Byte_Assign_Op(swigCPtr, Mask_Byte.getCPtr(mask)), false);

        if (VisionLabPINVOKE.SWIGPendingException.Pending)
        {
            throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Beispiel #4
0
 internal static HandleRef getCPtr(Mask_Byte obj)
 {
     return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr);
 }
 public static Mask_Byte StrToMask_Byte(string str) {
   Mask_Byte ret = new Mask_Byte(VisionLabPINVOKE.StrToMask_Byte(str), true);
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
 public static void Convolution(ByteImage src, ByteImage dest, byte divideFactor, FixEdge edge, Mask_Byte mask) {
   VisionLabPINVOKE.Convolution__SWIG_2(ByteImage.getCPtr(src), ByteImage.getCPtr(dest), divideFactor, (int)edge, Mask_Byte.getCPtr(mask));
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
 }
 public static string MaskToStr(Mask_Byte mask) {
   string ret = VisionLabPINVOKE.MaskToStr__SWIG_1(Mask_Byte.getCPtr(mask));
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(Mask_Byte obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }
 public Mask_Byte Assign_Op(Mask_Byte mask) {
   Mask_Byte ret = new Mask_Byte(VisionLabPINVOKE.Mask_Byte_Assign_Op(swigCPtr, Mask_Byte.getCPtr(mask)), false);
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
 public bool Not(Mask_Byte mask) {
   bool ret = VisionLabPINVOKE.Mask_Byte_Not(swigCPtr, Mask_Byte.getCPtr(mask));
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
 public Mask_Byte(Mask_Byte mask) : this(VisionLabPINVOKE.new_Mask_Byte__SWIG_1(Mask_Byte.getCPtr(mask)), true) {
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
 }
 internal static HandleRef getCPtr(Mask_Byte obj) {
   return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
 }