示例#1
0
    public SWIGTYPE_p_yarp__sig__ImageOfT_yarp__sig__PixelBgr_t asImageOfPixelBgr()
    {
        global::System.IntPtr cPtr = yarpPINVOKE.Things_asImageOfPixelBgr(swigCPtr);
        SWIGTYPE_p_yarp__sig__ImageOfT_yarp__sig__PixelBgr_t ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_yarp__sig__ImageOfT_yarp__sig__PixelBgr_t(cPtr, false);

        return(ret);
    }
示例#2
0
    public new static bool write(SWIGTYPE_p_yarp__sig__ImageOfT_yarp__sig__PixelBgr_t src, string dest)
    {
        bool ret = yarpPINVOKE.write__SWIG_3(SWIGTYPE_p_yarp__sig__ImageOfT_yarp__sig__PixelBgr_t.getCPtr(src), dest);

        if (yarpPINVOKE.SWIGPendingException.Pending)
        {
            throw yarpPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
示例#3
0
    public new static bool read(SWIGTYPE_p_yarp__sig__ImageOfT_yarp__sig__PixelBgr_t dest, string src)
    {
        bool ret = yarpPINVOKE.read__SWIG_3(SWIGTYPE_p_yarp__sig__ImageOfT_yarp__sig__PixelBgr_t.getCPtr(dest), src);

        if (yarpPINVOKE.SWIGPendingException.Pending)
        {
            throw yarpPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
示例#4
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_yarp__sig__ImageOfT_yarp__sig__PixelBgr_t obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }
 internal static HandleRef getCPtr(SWIGTYPE_p_yarp__sig__ImageOfT_yarp__sig__PixelBgr_t obj)
 {
     return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
 }
示例#6
0
文件: yarp.cs 项目: johnty/YarpUnity
 public static new bool write(SWIGTYPE_p_yarp__sig__ImageOfT_yarp__sig__PixelBgr_t src, string dest)
 {
     bool ret = yarpPINVOKE.write__SWIG_1(SWIGTYPE_p_yarp__sig__ImageOfT_yarp__sig__PixelBgr_t.getCPtr(src), dest);
     if (yarpPINVOKE.SWIGPendingException.Pending) throw yarpPINVOKE.SWIGPendingException.Retrieve();
     return ret;
 }
示例#7
0
文件: yarp.cs 项目: johnty/YarpUnity
 public static new bool read(SWIGTYPE_p_yarp__sig__ImageOfT_yarp__sig__PixelBgr_t dest, string src)
 {
     bool ret = yarpPINVOKE.read__SWIG_1(SWIGTYPE_p_yarp__sig__ImageOfT_yarp__sig__PixelBgr_t.getCPtr(dest), src);
     if (yarpPINVOKE.SWIGPendingException.Pending) throw yarpPINVOKE.SWIGPendingException.Retrieve();
     return ret;
 }