void DoProcess() { if (!(owner.Value is OpenCVForUnityPlayMakerActions.CalibrateCRF)) { LogError("owner is not initialized. Add Action \"newCalibrateCRF\"."); return; } OpenCVForUnity.PhotoModule.CalibrateCRF wrapped_owner = OpenCVForUnityPlayMakerActionsUtils.GetWrappedObject <OpenCVForUnityPlayMakerActions.CalibrateCRF, OpenCVForUnity.PhotoModule.CalibrateCRF>(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); wrapped_owner.process(wrapped_src, wrapped_dst, wrapped_times); OpenCVForUnityPlayMakerActionsUtils.ConvertListToFsmArray <OpenCVForUnity.CoreModule.Mat, OpenCVForUnityPlayMakerActions.Mat>(wrapped_src, src); }
public CalibrateCRF(OpenCVForUnity.PhotoModule.CalibrateCRF nativeObj) : base(nativeObj) { }