void DoProcess() { if (!(owner.Value is OpenCVForUnityPlayMakerActions.MatOfPoint3)) { LogError("owner is not initialized. Add Action \"newMatOfPoint3\"."); return; } OpenCVForUnity.CoreModule.MatOfPoint3 wrapped_owner = OpenCVForUnityPlayMakerActionsUtils.GetWrappedObject <OpenCVForUnityPlayMakerActions.MatOfPoint3, OpenCVForUnity.CoreModule.MatOfPoint3>(owner); wrapped_owner.alloc(elemNumber.Value); }
void DoProcess() { if (!(owner.Value is OpenCVForUnityPlayMakerActions.MatOfPoint3)) { LogError("owner is not initialized. Add Action \"newMatOfPoint3\"."); return; } OpenCVForUnity.CoreModule.MatOfPoint3 wrapped_owner = OpenCVForUnityPlayMakerActionsUtils.GetWrappedObject <OpenCVForUnityPlayMakerActions.MatOfPoint3, OpenCVForUnity.CoreModule.MatOfPoint3>(owner); OpenCVForUnity.CoreModule.Point3[] wrapped_a = new OpenCVForUnity.CoreModule.Point3[a.Length]; OpenCVForUnityPlayMakerActionsUtils.ConvertFsmArrayToArray <OpenCVForUnityPlayMakerActions.Point3, OpenCVForUnity.CoreModule.Point3>(a, wrapped_a); wrapped_owner.fromArray(wrapped_a); OpenCVForUnityPlayMakerActionsUtils.ConvertArrayToFsmArray <OpenCVForUnity.CoreModule.Point3, OpenCVForUnityPlayMakerActions.Point3>(wrapped_a, a); }
void DoProcess() { if (!(owner.Value is OpenCVForUnityPlayMakerActions.MatOfPoint3)) { LogError("owner is not initialized. Add Action \"newMatOfPoint3\"."); return; } OpenCVForUnity.CoreModule.MatOfPoint3 wrapped_owner = OpenCVForUnityPlayMakerActionsUtils.GetWrappedObject <OpenCVForUnityPlayMakerActions.MatOfPoint3, OpenCVForUnity.CoreModule.MatOfPoint3>(owner); List <OpenCVForUnity.CoreModule.Point3> wrapped_storeResult = wrapped_owner.toList(); if (!storeResult.IsNone) { OpenCVForUnityPlayMakerActionsUtils.ConvertListToFsmArray <OpenCVForUnity.CoreModule.Point3, OpenCVForUnityPlayMakerActions.Point3>(wrapped_storeResult, storeResult); } }
void DoProcess() { if (!(owner.Value is OpenCVForUnityPlayMakerActions.MatOfPoint3)) { LogError("owner is not initialized. Add Action \"newMatOfPoint3\"."); return; } OpenCVForUnity.CoreModule.MatOfPoint3 wrapped_owner = OpenCVForUnityPlayMakerActionsUtils.GetWrappedObject <OpenCVForUnityPlayMakerActions.MatOfPoint3, OpenCVForUnity.CoreModule.MatOfPoint3>(owner); List <OpenCVForUnity.CoreModule.Point3> wrapped_lp = new List <OpenCVForUnity.CoreModule.Point3>(); OpenCVForUnityPlayMakerActionsUtils.ConvertFsmArrayToList <OpenCVForUnityPlayMakerActions.Point3, OpenCVForUnity.CoreModule.Point3>(lp, wrapped_lp); wrapped_owner.fromList(wrapped_lp); OpenCVForUnityPlayMakerActionsUtils.ConvertListToFsmArray <OpenCVForUnity.CoreModule.Point3, OpenCVForUnityPlayMakerActions.Point3>(wrapped_lp, lp); }
public MatOfPoint3(OpenCVForUnity.CoreModule.MatOfPoint3 nativeObj) : base(nativeObj) { }