void DoProcess() { if (!(owner.Value is OpenCVForUnityPlayMakerActions.Retina)) { LogError("owner is not initialized. Add Action \"newRetina\"."); return; } OpenCVForUnity.BioinspiredModule.Retina wrapped_owner = OpenCVForUnityPlayMakerActionsUtils.GetWrappedObject <OpenCVForUnityPlayMakerActions.Retina, OpenCVForUnity.BioinspiredModule.Retina>(owner); if (!(storeResult.Value is OpenCVForUnityPlayMakerActions.Mat)) { storeResult.Value = new OpenCVForUnityPlayMakerActions.Mat(); } ((OpenCVForUnityPlayMakerActions.Mat)storeResult.Value).wrappedObject = wrapped_owner.getParvoRAW(); }
void DoProcess() { if (!(owner.Value is OpenCVForUnityPlayMakerActions.Retina)) { LogError("owner is not initialized. Add Action \"newRetina\"."); return; } OpenCVForUnity.BioinspiredModule.Retina wrapped_owner = OpenCVForUnityPlayMakerActionsUtils.GetWrappedObject <OpenCVForUnityPlayMakerActions.Retina, OpenCVForUnity.BioinspiredModule.Retina>(owner); if (!(retinaOutput_parvo.Value is OpenCVForUnityPlayMakerActions.Mat)) { LogError("retinaOutput_parvo is not initialized. Add Action \"newMat\"."); return; } OpenCVForUnity.CoreModule.Mat wrapped_retinaOutput_parvo = OpenCVForUnityPlayMakerActionsUtils.GetWrappedObject <OpenCVForUnityPlayMakerActions.Mat, OpenCVForUnity.CoreModule.Mat>(retinaOutput_parvo); wrapped_owner.getParvoRAW(wrapped_retinaOutput_parvo); }