void DoProcess() { if (!(owner.Value is OpenCVForUnityPlayMakerActions.Algorithm)) { LogError("owner is not initialized. Add Action \"newAlgorithm\"."); return; } OpenCVForUnity.CoreModule.Algorithm wrapped_owner = OpenCVForUnityPlayMakerActionsUtils.GetWrappedObject <OpenCVForUnityPlayMakerActions.Algorithm, OpenCVForUnity.CoreModule.Algorithm>(owner); storeResult.Value = wrapped_owner.getDefaultName(); }
void DoProcess() { if (!(owner.Value is OpenCVForUnityPlayMakerActions.Algorithm)) { LogError("owner is not initialized. Add Action \"newAlgorithm\"."); return; } OpenCVForUnity.CoreModule.Algorithm wrapped_owner = OpenCVForUnityPlayMakerActionsUtils.GetWrappedObject <OpenCVForUnityPlayMakerActions.Algorithm, OpenCVForUnity.CoreModule.Algorithm>(owner); wrapped_owner.save(filename.Value); }
public Algorithm(OpenCVForUnity.CoreModule.Algorithm nativeObj) : base(nativeObj) { }