示例#1
0
        //javadoc: BoostDesc::create()
        public static BoostDesc create()
        {
#if ((UNITY_ANDROID || UNITY_IOS || UNITY_WEBGL) && !UNITY_EDITOR) || UNITY_5 || UNITY_5_3_OR_NEWER
            BoostDesc retVal = BoostDesc.__fromPtr__(xfeatures2d_BoostDesc_create_13());

            return(retVal);
#else
            return(null);
#endif
        }
示例#2
0
        //javadoc: BoostDesc::create(desc, use_scale_orientation)
        public static BoostDesc create(int desc, bool use_scale_orientation)
        {
#if ((UNITY_ANDROID || UNITY_IOS || UNITY_WEBGL) && !UNITY_EDITOR) || UNITY_5 || UNITY_5_3_OR_NEWER
            BoostDesc retVal = BoostDesc.__fromPtr__(xfeatures2d_BoostDesc_create_11(desc, use_scale_orientation));

            return(retVal);
#else
            return(null);
#endif
        }
        void DoProcess()
        {
            if (!(owner.Value is OpenCVForUnityPlayMakerActions.BoostDesc))
            {
                LogError("owner is not initialized. Add Action \"newBoostDesc\".");
                return;
            }
            OpenCVForUnity.Xfeatures2dModule.BoostDesc wrapped_owner = OpenCVForUnityPlayMakerActionsUtils.GetWrappedObject <OpenCVForUnityPlayMakerActions.BoostDesc, OpenCVForUnity.Xfeatures2dModule.BoostDesc>(owner);

            wrapped_owner.setScaleFactor(scale_factor.Value);
        }
示例#4
0
        void DoProcess()
        {
            if (!(owner.Value is OpenCVForUnityPlayMakerActions.BoostDesc))
            {
                LogError("owner is not initialized. Add Action \"newBoostDesc\".");
                return;
            }
            OpenCVForUnity.Xfeatures2dModule.BoostDesc wrapped_owner = OpenCVForUnityPlayMakerActionsUtils.GetWrappedObject <OpenCVForUnityPlayMakerActions.BoostDesc, OpenCVForUnity.Xfeatures2dModule.BoostDesc>(owner);

            storeResult.Value = wrapped_owner.getUseScaleOrientation();

            Fsm.Event(storeResult.Value ? trueEvent : falseEvent);
        }
 public BoostDesc(OpenCVForUnity.Xfeatures2dModule.BoostDesc nativeObj) : base(nativeObj)
 {
 }
示例#6
0
 public static BoostDesc create()
 {
     return(BoostDesc.__fromPtr__(xfeatures2d_BoostDesc_create_13()));
 }
示例#7
0
 public static BoostDesc create(int desc)
 {
     return(BoostDesc.__fromPtr__(xfeatures2d_BoostDesc_create_12(desc)));
 }
示例#8
0
 public static BoostDesc create(int desc, bool use_scale_orientation)
 {
     return(BoostDesc.__fromPtr__(xfeatures2d_BoostDesc_create_11(desc, use_scale_orientation)));
 }
示例#9
0
        //
        // C++: static Ptr_BoostDesc cv::xfeatures2d::BoostDesc::create(int desc = BoostDesc::BINBOOST_256, bool use_scale_orientation = true, float scale_factor = 6.25f)
        //

        public static BoostDesc create(int desc, bool use_scale_orientation, float scale_factor)
        {
            return(BoostDesc.__fromPtr__(xfeatures2d_BoostDesc_create_10(desc, use_scale_orientation, scale_factor)));
        }