//javadoc: DISOpticalFlow::create() public static DISOpticalFlow create() { #if ((UNITY_ANDROID || UNITY_IOS || UNITY_WEBGL) && !UNITY_EDITOR) || UNITY_5 || UNITY_5_3_OR_NEWER DISOpticalFlow retVal = DISOpticalFlow.__fromPtr__(video_DISOpticalFlow_create_11()); return(retVal); #else return(null); #endif }
void DoProcess() { if (!(owner.Value is OpenCVForUnityPlayMakerActions.DISOpticalFlow)) { LogError("owner is not initialized. Add Action \"newDISOpticalFlow\"."); return; } OpenCVForUnity.VideoModule.DISOpticalFlow wrapped_owner = OpenCVForUnityPlayMakerActionsUtils.GetWrappedObject <OpenCVForUnityPlayMakerActions.DISOpticalFlow, OpenCVForUnity.VideoModule.DISOpticalFlow>(owner); storeResult.Value = wrapped_owner.getVariationalRefinementDelta(); }
void DoProcess() { if (!(owner.Value is OpenCVForUnityPlayMakerActions.DISOpticalFlow)) { LogError("owner is not initialized. Add Action \"newDISOpticalFlow\"."); return; } OpenCVForUnity.VideoModule.DISOpticalFlow wrapped_owner = OpenCVForUnityPlayMakerActionsUtils.GetWrappedObject <OpenCVForUnityPlayMakerActions.DISOpticalFlow, OpenCVForUnity.VideoModule.DISOpticalFlow>(owner); wrapped_owner.setUseSpatialPropagation(val.Value); }
void DoProcess() { if (!(owner.Value is OpenCVForUnityPlayMakerActions.DISOpticalFlow)) { LogError("owner is not initialized. Add Action \"newDISOpticalFlow\"."); return; } OpenCVForUnity.VideoModule.DISOpticalFlow wrapped_owner = OpenCVForUnityPlayMakerActionsUtils.GetWrappedObject <OpenCVForUnityPlayMakerActions.DISOpticalFlow, OpenCVForUnity.VideoModule.DISOpticalFlow>(owner); storeResult.Value = wrapped_owner.getUseMeanNormalization(); Fsm.Event(storeResult.Value ? trueEvent : falseEvent); }
/** * Creates an instance of DISOpticalFlow * * return automatically generated */ public static DISOpticalFlow create() { return(DISOpticalFlow.__fromPtr__(video_DISOpticalFlow_create_11())); }
// // C++: static Ptr_DISOpticalFlow cv::DISOpticalFlow::create(int preset = DISOpticalFlow::PRESET_FAST) // /** * Creates an instance of DISOpticalFlow * * param preset one of PRESET_ULTRAFAST, PRESET_FAST and PRESET_MEDIUM * return automatically generated */ public static DISOpticalFlow create(int preset) { return(DISOpticalFlow.__fromPtr__(video_DISOpticalFlow_create_10(preset))); }
public DISOpticalFlow(OpenCVForUnity.VideoModule.DISOpticalFlow nativeObj) : base(nativeObj) { }