void DoProcess() { if (!(owner.Value is OpenCVForUnityPlayMakerActions.DisparityWLSFilter)) { LogError("owner is not initialized. Add Action \"newDisparityWLSFilter\"."); return; } OpenCVForUnity.XimgprocModule.DisparityWLSFilter wrapped_owner = OpenCVForUnityPlayMakerActionsUtils.GetWrappedObject <OpenCVForUnityPlayMakerActions.DisparityWLSFilter, OpenCVForUnity.XimgprocModule.DisparityWLSFilter>(owner); wrapped_owner.setLambda((float)_lambda.Value); }
void DoProcess() { if (!(owner.Value is OpenCVForUnityPlayMakerActions.DisparityWLSFilter)) { LogError("owner is not initialized. Add Action \"newDisparityWLSFilter\"."); return; } OpenCVForUnity.XimgprocModule.DisparityWLSFilter wrapped_owner = OpenCVForUnityPlayMakerActionsUtils.GetWrappedObject <OpenCVForUnityPlayMakerActions.DisparityWLSFilter, OpenCVForUnity.XimgprocModule.DisparityWLSFilter>(owner); storeResult.Value = wrapped_owner.getDepthDiscontinuityRadius(); }
void DoProcess() { if (!(owner.Value is OpenCVForUnityPlayMakerActions.DisparityWLSFilter)) { LogError("owner is not initialized. Add Action \"newDisparityWLSFilter\"."); return; } OpenCVForUnity.XimgprocModule.DisparityWLSFilter wrapped_owner = OpenCVForUnityPlayMakerActionsUtils.GetWrappedObject <OpenCVForUnityPlayMakerActions.DisparityWLSFilter, OpenCVForUnity.XimgprocModule.DisparityWLSFilter>(owner); if (!(storeResult.Value is OpenCVForUnityPlayMakerActions.Double)) { storeResult.Value = new OpenCVForUnityPlayMakerActions.Double(); } ((OpenCVForUnityPlayMakerActions.Double)storeResult.Value).wrappedObject = wrapped_owner.getSigmaColor(); }
void DoProcess() { if (!(owner.Value is OpenCVForUnityPlayMakerActions.DisparityWLSFilter)) { LogError("owner is not initialized. Add Action \"newDisparityWLSFilter\"."); return; } OpenCVForUnity.XimgprocModule.DisparityWLSFilter wrapped_owner = OpenCVForUnityPlayMakerActionsUtils.GetWrappedObject <OpenCVForUnityPlayMakerActions.DisparityWLSFilter, OpenCVForUnity.XimgprocModule.DisparityWLSFilter>(owner); if (!(_sigma_color.Value is OpenCVForUnityPlayMakerActions.Double)) { LogError("_sigma_color is not initialized. Add Action \"newDouble\"."); return; } System.Double wrapped__sigma_color = OpenCVForUnityPlayMakerActionsUtils.GetWrappedObject <OpenCVForUnityPlayMakerActions.Double, System.Double>(_sigma_color); wrapped_owner.setSigmaColor(wrapped__sigma_color); }
public DisparityWLSFilter(OpenCVForUnity.XimgprocModule.DisparityWLSFilter nativeObj) : base(nativeObj) { }