void DoProcess() { if (!(owner.Value is OpenCVForUnityPlayMakerActions.MergeExposures)) { LogError("owner is not initialized. Add Action \"newMergeExposures\"."); return; } OpenCVForUnity.PhotoModule.MergeExposures wrapped_owner = OpenCVForUnityPlayMakerActionsUtils.GetWrappedObject <OpenCVForUnityPlayMakerActions.MergeExposures, OpenCVForUnity.PhotoModule.MergeExposures>(owner); List <OpenCVForUnity.CoreModule.Mat> wrapped_src = new List <OpenCVForUnity.CoreModule.Mat>(); OpenCVForUnityPlayMakerActionsUtils.ConvertFsmArrayToList <OpenCVForUnityPlayMakerActions.Mat, OpenCVForUnity.CoreModule.Mat>(src, wrapped_src); if (!(dst.Value is OpenCVForUnityPlayMakerActions.Mat)) { LogError("dst is not initialized. Add Action \"newMat\"."); return; } OpenCVForUnity.CoreModule.Mat wrapped_dst = OpenCVForUnityPlayMakerActionsUtils.GetWrappedObject <OpenCVForUnityPlayMakerActions.Mat, OpenCVForUnity.CoreModule.Mat>(dst); if (!(times.Value is OpenCVForUnityPlayMakerActions.Mat)) { LogError("times is not initialized. Add Action \"newMat\"."); return; } OpenCVForUnity.CoreModule.Mat wrapped_times = OpenCVForUnityPlayMakerActionsUtils.GetWrappedObject <OpenCVForUnityPlayMakerActions.Mat, OpenCVForUnity.CoreModule.Mat>(times); if (!(response.Value is OpenCVForUnityPlayMakerActions.Mat)) { LogError("response is not initialized. Add Action \"newMat\"."); return; } OpenCVForUnity.CoreModule.Mat wrapped_response = OpenCVForUnityPlayMakerActionsUtils.GetWrappedObject <OpenCVForUnityPlayMakerActions.Mat, OpenCVForUnity.CoreModule.Mat>(response); wrapped_owner.process(wrapped_src, wrapped_dst, wrapped_times, wrapped_response); OpenCVForUnityPlayMakerActionsUtils.ConvertListToFsmArray <OpenCVForUnity.CoreModule.Mat, OpenCVForUnityPlayMakerActions.Mat>(wrapped_src, src); }
public MergeExposures(OpenCVForUnity.PhotoModule.MergeExposures nativeObj) : base(nativeObj) { }