コード例 #1
0
 public NumInt32Image(NumInt32Image image) : this(VisionLabPINVOKE.new_NumInt32Image__SWIG_3(NumInt32Image.getCPtr(image)), true)
 {
     if (VisionLabPINVOKE.SWIGPendingException.Pending)
     {
         throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
     }
 }
コード例 #2
0
 public virtual void Resize(HeightWidth hw, NumInt32Image properties)
 {
     VisionLabPINVOKE.NumInt32Image_Resize__SWIG_1(swigCPtr, HeightWidth.getCPtr(hw), NumInt32Image.getCPtr(properties));
     if (VisionLabPINVOKE.SWIGPendingException.Pending)
     {
         throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
     }
 }
コード例 #3
0
    public bool Not(NumInt32Image image)
    {
        bool ret = VisionLabPINVOKE.NumInt32Image_Not(swigCPtr, NumInt32Image.getCPtr(image));

        if (VisionLabPINVOKE.SWIGPendingException.Pending)
        {
            throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
コード例 #4
0
    public NumInt32Image Assign_Op(int pixel)
    {
        NumInt32Image ret = new NumInt32Image(VisionLabPINVOKE.NumInt32Image_Assign_Op__SWIG_1(swigCPtr, pixel), false);

        if (VisionLabPINVOKE.SWIGPendingException.Pending)
        {
            throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
コード例 #5
0
    public NumInt32Image Assign_Op(NumInt32Image image)
    {
        NumInt32Image ret = new NumInt32Image(VisionLabPINVOKE.NumInt32Image_Assign_Op__SWIG_0(swigCPtr, NumInt32Image.getCPtr(image)), false);

        if (VisionLabPINVOKE.SWIGPendingException.Pending)
        {
            throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
コード例 #6
0
 internal static HandleRef getCPtr(NumInt32Image obj)
 {
     return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr);
 }