コード例 #1
0
ファイル: I2DOverlay.cs プロジェクト: Staskkk/VRPhone
 public virtual void drawSBPattern(SquaredBinaryPattern pattern, Image displayImage)
 {
     solar_api_displayPINVOKE.I2DOverlay_drawSBPattern(swigCPtr, SquaredBinaryPattern.getCPtr(pattern), Image.getCPtr(displayImage));
     if (solar_api_displayPINVOKE.SWIGPendingException.Pending)
     {
         throw solar_api_displayPINVOKE.SWIGPendingException.Retrieve();
     }
 }
コード例 #2
0
        public virtual FrameworkReturnCode extract(SquaredBinaryPattern pattern, DescriptorBuffer descriptor)
        {
            FrameworkReturnCode ret = (FrameworkReturnCode)solar_api_featuresPINVOKE.IDescriptorsExtractorSBPattern_extract__SWIG_1(swigCPtr, SquaredBinaryPattern.getCPtr(pattern), DescriptorBuffer.getCPtr(descriptor));

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