Пример #1
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);
        }
Пример #2
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);
        }