Exemple #1
0
 public Mask_Float(Mask_Float mask) : this(VisionLabPINVOKE.new_Mask_Float__SWIG_1(Mask_Float.getCPtr(mask)), true)
 {
     if (VisionLabPINVOKE.SWIGPendingException.Pending)
     {
         throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemple #2
0
    public bool Not(Mask_Float mask)
    {
        bool ret = VisionLabPINVOKE.Mask_Float_Not(swigCPtr, Mask_Float.getCPtr(mask));

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

        if (VisionLabPINVOKE.SWIGPendingException.Pending)
        {
            throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
 public static Mask_Float StrToMask_Float(string str) {
   Mask_Float ret = new Mask_Float(VisionLabPINVOKE.StrToMask_Float(str), true);
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
 public static string MaskToStr(Mask_Float mask) {
   string ret = VisionLabPINVOKE.MaskToStr__SWIG_5(Mask_Float.getCPtr(mask));
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
 public static void Convolution(FloatImage src, FloatImage dest, float divideFactor, FixEdge edge, Mask_Float mask) {
   VisionLabPINVOKE.Convolution__SWIG_6(FloatImage.getCPtr(src), FloatImage.getCPtr(dest), divideFactor, (int)edge, Mask_Float.getCPtr(mask));
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
 }
Exemple #7
0
 internal static HandleRef getCPtr(Mask_Float obj)
 {
     return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr);
 }
Exemple #8
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(Mask_Float obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }
 public Mask_Float Assign_Op(Mask_Float mask) {
   Mask_Float ret = new Mask_Float(VisionLabPINVOKE.Mask_Float_Assign_Op(swigCPtr, Mask_Float.getCPtr(mask)), false);
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
 public bool Not(Mask_Float mask) {
   bool ret = VisionLabPINVOKE.Mask_Float_Not(swigCPtr, Mask_Float.getCPtr(mask));
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
 public Mask_Float(Mask_Float mask) : this(VisionLabPINVOKE.new_Mask_Float__SWIG_1(Mask_Float.getCPtr(mask)), true) {
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
 }
 internal static HandleRef getCPtr(Mask_Float obj) {
   return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
 }