//javadoc: BlockMeanHash::create() public static BlockMeanHash create() { #if ((UNITY_ANDROID || UNITY_IOS || UNITY_WEBGL) && !UNITY_EDITOR) || UNITY_5 || UNITY_5_3_OR_NEWER BlockMeanHash retVal = BlockMeanHash.__fromPtr__(img_1hash_BlockMeanHash_create_11()); return(retVal); #else return(null); #endif }
void DoProcess() { if (!(owner.Value is OpenCVForUnityPlayMakerActions.BlockMeanHash)) { LogError("owner is not initialized. Add Action \"newBlockMeanHash\"."); return; } OpenCVForUnity.Img_hashModule.BlockMeanHash wrapped_owner = OpenCVForUnityPlayMakerActionsUtils.GetWrappedObject <OpenCVForUnityPlayMakerActions.BlockMeanHash, OpenCVForUnity.Img_hashModule.BlockMeanHash>(owner); wrapped_owner.setMode(mode.Value); }
void DoProcess() { if (!(owner.Value is OpenCVForUnityPlayMakerActions.BlockMeanHash)) { LogError("owner is not initialized. Add Action \"newBlockMeanHash\"."); return; } OpenCVForUnity.Img_hashModule.BlockMeanHash wrapped_owner = OpenCVForUnityPlayMakerActionsUtils.GetWrappedObject <OpenCVForUnityPlayMakerActions.BlockMeanHash, OpenCVForUnity.Img_hashModule.BlockMeanHash>(owner); if (!(storeResult.Value is OpenCVForUnityPlayMakerActions.MatOfDouble)) { storeResult.Value = new OpenCVForUnityPlayMakerActions.MatOfDouble(); } ((OpenCVForUnityPlayMakerActions.MatOfDouble)storeResult.Value).wrappedObject = wrapped_owner.getMean(); }
public BlockMeanHash(OpenCVForUnity.Img_hashModule.BlockMeanHash nativeObj) : base(nativeObj) { }
public static BlockMeanHash create() { return(BlockMeanHash.__fromPtr__(img_1hash_BlockMeanHash_create_11())); }
// // C++: static Ptr_BlockMeanHash cv::img_hash::BlockMeanHash::create(int mode = BLOCK_MEAN_HASH_MODE_0) // public static BlockMeanHash create(int mode) { return(BlockMeanHash.__fromPtr__(img_1hash_BlockMeanHash_create_10(mode))); }