public Mask_Int16(Mask_Int16 mask) : this(VisionLabPINVOKE.new_Mask_Int16__SWIG_1(Mask_Int16.getCPtr(mask)), true)
 {
     if (VisionLabPINVOKE.SWIGPendingException.Pending)
     {
         throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
     }
 }
    public bool Not(Mask_Int16 mask)
    {
        bool ret = VisionLabPINVOKE.Mask_Int16_Not(swigCPtr, Mask_Int16.getCPtr(mask));

        if (VisionLabPINVOKE.SWIGPendingException.Pending)
        {
            throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
    public Mask_Int16 Assign_Op(Mask_Int16 mask)
    {
        Mask_Int16 ret = new Mask_Int16(VisionLabPINVOKE.Mask_Int16_Assign_Op(swigCPtr, Mask_Int16.getCPtr(mask)), false);

        if (VisionLabPINVOKE.SWIGPendingException.Pending)
        {
            throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
 public static Mask_Int16 StrToMask_Int16(string str) {
   Mask_Int16 ret = new Mask_Int16(VisionLabPINVOKE.StrToMask_Int16(str), true);
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
 public static string MaskToStr(Mask_Int16 mask) {
   string ret = VisionLabPINVOKE.MaskToStr__SWIG_3(Mask_Int16.getCPtr(mask));
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
 public static void Convolution(Int16Image src, Int16Image dest, short divideFactor, FixEdge edge, Mask_Int16 mask) {
   VisionLabPINVOKE.Convolution__SWIG_4(Int16Image.getCPtr(src), Int16Image.getCPtr(dest), divideFactor, (int)edge, Mask_Int16.getCPtr(mask));
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
 }
 internal static HandleRef getCPtr(Mask_Int16 obj)
 {
     return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr);
 }
Beispiel #8
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(Mask_Int16 obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }
 public Mask_Int16 Assign_Op(Mask_Int16 mask) {
   Mask_Int16 ret = new Mask_Int16(VisionLabPINVOKE.Mask_Int16_Assign_Op(swigCPtr, Mask_Int16.getCPtr(mask)), false);
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
 public bool Not(Mask_Int16 mask) {
   bool ret = VisionLabPINVOKE.Mask_Int16_Not(swigCPtr, Mask_Int16.getCPtr(mask));
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
 public Mask_Int16(Mask_Int16 mask) : this(VisionLabPINVOKE.new_Mask_Int16__SWIG_1(Mask_Int16.getCPtr(mask)), true) {
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
 }
 internal static HandleRef getCPtr(Mask_Int16 obj) {
   return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
 }