Example #1
0
 public new void onRead(ImageMono datum, TypedReaderImageMono reader)
 {
     yarpPINVOKE.BufferedPortImageMono_onRead__SWIG_0_0(swigCPtr, ImageMono.getCPtr(datum), TypedReaderImageMono.getCPtr(reader));
     if (yarpPINVOKE.SWIGPendingException.Pending)
     {
         throw yarpPINVOKE.SWIGPendingException.Retrieve();
     }
 }
 public new void onRead(ImageMono datum)
 {
     yarpPINVOKE.TypedReaderCallbackImageMono_onRead__SWIG_0(swigCPtr, ImageMono.getCPtr(datum));
     if (yarpPINVOKE.SWIGPendingException.Pending)
     {
         throw yarpPINVOKE.SWIGPendingException.Retrieve();
     }
 }
    public virtual bool getImage(ImageMono image)
    {
        bool ret = yarpPINVOKE.IFrameGrabberImageRaw_getImage(swigCPtr, ImageMono.getCPtr(image));

        if (yarpPINVOKE.SWIGPendingException.Pending)
        {
            throw yarpPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Example #4
0
    public new static bool write(ImageMono src, string dest)
    {
        bool ret = yarpPINVOKE.write__SWIG_7(ImageMono.getCPtr(src), dest);

        if (yarpPINVOKE.SWIGPendingException.Pending)
        {
            throw yarpPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Example #5
0
    public new static bool read(ImageMono dest, string src)
    {
        bool ret = yarpPINVOKE.read__SWIG_7(ImageMono.getCPtr(dest), src);

        if (yarpPINVOKE.SWIGPendingException.Pending)
        {
            throw yarpPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
    public virtual bool getImageCrop(cropType_id_t cropType, SWIGTYPE_p_yarp__sig__VectorOfT_std__pairT_int_int_t_t vertices, ImageMono image)
    {
        bool ret = yarpPINVOKE.IFrameGrabberImageRaw_getImageCrop(swigCPtr, (int)cropType, SWIGTYPE_p_yarp__sig__VectorOfT_std__pairT_int_int_t_t.getCPtr(vertices), ImageMono.getCPtr(image));

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