Ejemplo n.º 1
0
 public StringVector(StringVector other) : this(SolARPipelineManagerPINVOKE.new_StringVector__SWIG_1(StringVector.getCPtr(other)), true)
 {
     if (SolARPipelineManagerPINVOKE.SWIGPendingException.Pending)
     {
         throw SolARPipelineManagerPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Ejemplo n.º 2
0
 public StringVector(int capacity) : this(SolARPipelineManagerPINVOKE.new_StringVector__SWIG_2(capacity), true)
 {
     if (SolARPipelineManagerPINVOKE.SWIGPendingException.Pending)
     {
         throw SolARPipelineManagerPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Ejemplo n.º 3
0
 public SolARPluginPipelineManager() : this(SolARPipelineManagerPINVOKE.new_SolARPluginPipelineManager(), true)
 {
     if (SolARPipelineManagerPINVOKE.SWIGPendingException.Pending)
     {
         throw SolARPipelineManagerPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Ejemplo n.º 4
0
 private void reserve(uint n)
 {
     SolARPipelineManagerPINVOKE.StringVector_reserve(swigCPtr, n);
     if (SolARPipelineManagerPINVOKE.SWIGPendingException.Pending)
     {
         throw SolARPipelineManagerPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Ejemplo n.º 5
0
 public void Reverse(int index, int count)
 {
     SolARPipelineManagerPINVOKE.StringVector_Reverse__SWIG_1(swigCPtr, index, count);
     if (SolARPipelineManagerPINVOKE.SWIGPendingException.Pending)
     {
         throw SolARPipelineManagerPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Ejemplo n.º 6
0
 public void Clear()
 {
     SolARPipelineManagerPINVOKE.StringVector_Clear(swigCPtr);
     if (SolARPipelineManagerPINVOKE.SWIGPendingException.Pending)
     {
         throw SolARPipelineManagerPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Ejemplo n.º 7
0
 public void SetRange(int index, StringVector values)
 {
     SolARPipelineManagerPINVOKE.StringVector_SetRange(swigCPtr, index, StringVector.getCPtr(values));
     if (SolARPipelineManagerPINVOKE.SWIGPendingException.Pending)
     {
         throw SolARPipelineManagerPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Ejemplo n.º 8
0
 public void Reverse()
 {
     SolARPipelineManagerPINVOKE.StringVector_Reverse__SWIG_0(swigCPtr);
     if (SolARPipelineManagerPINVOKE.SWIGPendingException.Pending)
     {
         throw SolARPipelineManagerPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Ejemplo n.º 9
0
 public void Add(string x)
 {
     SolARPipelineManagerPINVOKE.StringVector_Add(swigCPtr, x);
     if (SolARPipelineManagerPINVOKE.SWIGPendingException.Pending)
     {
         throw SolARPipelineManagerPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Ejemplo n.º 10
0
 private void setitem(int index, string val)
 {
     SolARPipelineManagerPINVOKE.StringVector_setitem(swigCPtr, index, val);
     if (SolARPipelineManagerPINVOKE.SWIGPendingException.Pending)
     {
         throw SolARPipelineManagerPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Ejemplo n.º 11
0
 public void RemoveAt(int index)
 {
     SolARPipelineManagerPINVOKE.StringVector_RemoveAt(swigCPtr, index);
     if (SolARPipelineManagerPINVOKE.SWIGPendingException.Pending)
     {
         throw SolARPipelineManagerPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Ejemplo n.º 12
0
 public void udpatePose(System.IntPtr pose)
 {
     SolARPipelineManagerPINVOKE.SolARPluginPipelineManager_udpatePose(swigCPtr, pose);
     if (SolARPipelineManagerPINVOKE.SWIGPendingException.Pending)
     {
         throw SolARPipelineManagerPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Ejemplo n.º 13
0
        public int LastIndexOf(string value)
        {
            int ret = SolARPipelineManagerPINVOKE.StringVector_LastIndexOf(swigCPtr, value);

            if (SolARPipelineManagerPINVOKE.SWIGPendingException.Pending)
            {
                throw SolARPipelineManagerPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Ejemplo n.º 14
0
        public bool Remove(string value)
        {
            bool ret = SolARPipelineManagerPINVOKE.StringVector_Remove(swigCPtr, value);

            if (SolARPipelineManagerPINVOKE.SWIGPendingException.Pending)
            {
                throw SolARPipelineManagerPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Ejemplo n.º 15
0
        public PIPELINEMANAGER_RETURNCODE udpate(Transform3Df pose)
        {
            PIPELINEMANAGER_RETURNCODE ret = (PIPELINEMANAGER_RETURNCODE)SolARPipelineManagerPINVOKE.SolARPluginPipelineManager_udpate(swigCPtr, Transform3Df.getCPtr(pose));

            if (SolARPipelineManagerPINVOKE.SWIGPendingException.Pending)
            {
                throw SolARPipelineManagerPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Ejemplo n.º 16
0
        private string getitem(int index)
        {
            string ret = SolARPipelineManagerPINVOKE.StringVector_getitem(swigCPtr, index);

            if (SolARPipelineManagerPINVOKE.SWIGPendingException.Pending)
            {
                throw SolARPipelineManagerPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Ejemplo n.º 17
0
        public CameraParameters getCameraParameters()
        {
            CameraParameters ret = new CameraParameters(SolARPipelineManagerPINVOKE.SolARPluginPipelineManager_getCameraParameters(swigCPtr), true);

            if (SolARPipelineManagerPINVOKE.SWIGPendingException.Pending)
            {
                throw SolARPipelineManagerPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Ejemplo n.º 18
0
        public bool start(System.IntPtr textureHandle)
        {
            bool ret = SolARPipelineManagerPINVOKE.SolARPluginPipelineManager_start(swigCPtr, textureHandle);

            if (SolARPipelineManagerPINVOKE.SWIGPendingException.Pending)
            {
                throw SolARPipelineManagerPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Ejemplo n.º 19
0
        private uint capacity()
        {
            uint ret = SolARPipelineManagerPINVOKE.StringVector_capacity(swigCPtr);

            if (SolARPipelineManagerPINVOKE.SWIGPendingException.Pending)
            {
                throw SolARPipelineManagerPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Ejemplo n.º 20
0
        public bool init(string conf_path, string pipelineUUID)
        {
            bool ret = SolARPipelineManagerPINVOKE.SolARPluginPipelineManager_init(swigCPtr, conf_path, pipelineUUID);

            if (SolARPipelineManagerPINVOKE.SWIGPendingException.Pending)
            {
                throw SolARPipelineManagerPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Ejemplo n.º 21
0
        public bool stop()
        {
            bool ret = SolARPipelineManagerPINVOKE.SolARPluginPipelineManager_stop(swigCPtr);

            if (SolARPipelineManagerPINVOKE.SWIGPendingException.Pending)
            {
                throw SolARPipelineManagerPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Ejemplo n.º 22
0
        public PIPELINEMANAGER_RETURNCODE loadSourceImage(System.IntPtr sourceTextureHandle, int width, int height)
        {
            PIPELINEMANAGER_RETURNCODE ret = (PIPELINEMANAGER_RETURNCODE)SolARPipelineManagerPINVOKE.SolARPluginPipelineManager_loadSourceImage(swigCPtr, sourceTextureHandle, width, height);

            if (SolARPipelineManagerPINVOKE.SWIGPendingException.Pending)
            {
                throw SolARPipelineManagerPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Ejemplo n.º 23
0
        public StringVector GetRange(int index, int count)
        {
            global::System.IntPtr cPtr = SolARPipelineManagerPINVOKE.StringVector_GetRange(swigCPtr, index, count);
            StringVector          ret  = (cPtr == global::System.IntPtr.Zero) ? null : new StringVector(cPtr, true);

            if (SolARPipelineManagerPINVOKE.SWIGPendingException.Pending)
            {
                throw SolARPipelineManagerPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Ejemplo n.º 24
0
        public static StringVector Repeat(string value, int count)
        {
            global::System.IntPtr cPtr = SolARPipelineManagerPINVOKE.StringVector_Repeat(value, count);
            StringVector          ret  = (cPtr == global::System.IntPtr.Zero) ? null : new StringVector(cPtr, true);

            if (SolARPipelineManagerPINVOKE.SWIGPendingException.Pending)
            {
                throw SolARPipelineManagerPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Ejemplo n.º 25
0
 protected virtual void Dispose(bool disposing)
 {
     lock (this) {
         if (swigCPtr.Handle != global::System.IntPtr.Zero)
         {
             if (swigCMemOwn)
             {
                 swigCMemOwn = false;
                 SolARPipelineManagerPINVOKE.delete_SolARPluginPipelineManager(swigCPtr);
             }
             swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
         }
     }
 }