Пример #1
0
        //javadoc: PCTSignatures::create()
        public static PCTSignatures create()
        {
#if UNITY_PRO_LICENSE || ((UNITY_ANDROID || UNITY_IOS || UNITY_WEBGL) && !UNITY_EDITOR) || UNITY_5 || UNITY_5_3_OR_NEWER
            PCTSignatures retVal = PCTSignatures.__fromPtr__(xfeatures2d_PCTSignatures_create_11());

            return(retVal);
#else
            return(null);
#endif
        }
Пример #2
0
        //
        // C++: static Ptr_PCTSignatures create(int initSampleCount = 2000, int initSeedCount = 400, int pointDistribution = 0)
        //

        //javadoc: PCTSignatures::create(initSampleCount, initSeedCount, pointDistribution)
        public static PCTSignatures create(int initSampleCount, int initSeedCount, int pointDistribution)
        {
#if UNITY_PRO_LICENSE || ((UNITY_ANDROID || UNITY_IOS || UNITY_WEBGL) && !UNITY_EDITOR) || UNITY_5 || UNITY_5_3_OR_NEWER
            PCTSignatures retVal = PCTSignatures.__fromPtr__(xfeatures2d_PCTSignatures_create_10(initSampleCount, initSeedCount, pointDistribution));

            return(retVal);
#else
            return(null);
#endif
        }
Пример #3
0
        //
        // C++: static Ptr_PCTSignatures create(vector_Point2f initSamplingPoints, int initSeedCount)
        //

        //javadoc: PCTSignatures::create(initSamplingPoints, initSeedCount)
        public static PCTSignatures create(MatOfPoint2f initSamplingPoints, int initSeedCount)
        {
            if (initSamplingPoints != null)
            {
                initSamplingPoints.ThrowIfDisposed();
            }
#if UNITY_PRO_LICENSE || ((UNITY_ANDROID || UNITY_IOS || UNITY_WEBGL) && !UNITY_EDITOR) || UNITY_5 || UNITY_5_3_OR_NEWER
            Mat           initSamplingPoints_mat = initSamplingPoints;
            PCTSignatures retVal = PCTSignatures.__fromPtr__(xfeatures2d_PCTSignatures_create_12(initSamplingPoints_mat.nativeObj, initSeedCount));

            return(retVal);
#else
            return(null);
#endif
        }