//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 }
//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); }
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) { }
public static BoostDesc create() { return(BoostDesc.__fromPtr__(xfeatures2d_BoostDesc_create_13())); }
public static BoostDesc create(int desc) { return(BoostDesc.__fromPtr__(xfeatures2d_BoostDesc_create_12(desc))); }
public static BoostDesc create(int desc, bool use_scale_orientation) { return(BoostDesc.__fromPtr__(xfeatures2d_BoostDesc_create_11(desc, use_scale_orientation))); }
// // 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))); }