void DoProcess() { if (!(owner.Value is OpenCVForUnityPlayMakerActions.GeneralizedHoughGuil)) { LogError("owner is not initialized. Add Action \"newGeneralizedHoughGuil\"."); return; } OpenCVForUnity.ImgprocModule.GeneralizedHoughGuil wrapped_owner = OpenCVForUnityPlayMakerActionsUtils.GetWrappedObject <OpenCVForUnityPlayMakerActions.GeneralizedHoughGuil, OpenCVForUnity.ImgprocModule.GeneralizedHoughGuil>(owner); wrapped_owner.setScaleThresh(scaleThresh.Value); }
void DoProcess() { if (!(owner.Value is OpenCVForUnityPlayMakerActions.GeneralizedHoughGuil)) { LogError("owner is not initialized. Add Action \"newGeneralizedHoughGuil\"."); return; } OpenCVForUnity.ImgprocModule.GeneralizedHoughGuil wrapped_owner = OpenCVForUnityPlayMakerActionsUtils.GetWrappedObject <OpenCVForUnityPlayMakerActions.GeneralizedHoughGuil, OpenCVForUnity.ImgprocModule.GeneralizedHoughGuil>(owner); storeResult.Value = (float)wrapped_owner.getMinAngle(); }
void DoProcess() { if (!(owner.Value is OpenCVForUnityPlayMakerActions.GeneralizedHoughGuil)) { LogError("owner is not initialized. Add Action \"newGeneralizedHoughGuil\"."); return; } OpenCVForUnity.ImgprocModule.GeneralizedHoughGuil wrapped_owner = OpenCVForUnityPlayMakerActionsUtils.GetWrappedObject <OpenCVForUnityPlayMakerActions.GeneralizedHoughGuil, OpenCVForUnity.ImgprocModule.GeneralizedHoughGuil>(owner); if (!(storeResult.Value is OpenCVForUnityPlayMakerActions.Double)) { storeResult.Value = new OpenCVForUnityPlayMakerActions.Double(); } ((OpenCVForUnityPlayMakerActions.Double)storeResult.Value).wrappedObject = wrapped_owner.getAngleEpsilon(); }
void DoProcess() { if (!(owner.Value is OpenCVForUnityPlayMakerActions.GeneralizedHoughGuil)) { LogError("owner is not initialized. Add Action \"newGeneralizedHoughGuil\"."); return; } OpenCVForUnity.ImgprocModule.GeneralizedHoughGuil wrapped_owner = OpenCVForUnityPlayMakerActionsUtils.GetWrappedObject <OpenCVForUnityPlayMakerActions.GeneralizedHoughGuil, OpenCVForUnity.ImgprocModule.GeneralizedHoughGuil>(owner); if (!(minScale.Value is OpenCVForUnityPlayMakerActions.Double)) { LogError("minScale is not initialized. Add Action \"newDouble\"."); return; } System.Double wrapped_minScale = OpenCVForUnityPlayMakerActionsUtils.GetWrappedObject <OpenCVForUnityPlayMakerActions.Double, System.Double>(minScale); wrapped_owner.setMinScale(wrapped_minScale); }
public GeneralizedHoughGuil(OpenCVForUnity.ImgprocModule.GeneralizedHoughGuil nativeObj) : base(nativeObj) { }