From 27c431bc4719eaa493238e7e8c082c2da71ca3c3 Mon Sep 17 00:00:00 2001 From: Samuel Felton Date: Wed, 28 Feb 2024 13:14:36 +0100 Subject: [PATCH] more configuration for core module bindings --- modules/python/config/core.json | 44 +++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) diff --git a/modules/python/config/core.json b/modules/python/config/core.json index 588eb0dbe7..32b5811e9f 100644 --- a/modules/python/config/core.json +++ b/modules/python/config/core.json @@ -675,6 +675,21 @@ "static": true, "signature": "void displayCircle(const vpImage &, int, int, unsigned int, const vpColor &, bool, unsigned int)", "custom_name": "displayCircleStatic" + }, + { + "static": true, + "signature": "bool getKeyboardEvent(const vpImage&, std::string&, bool)", + "use_default_param_policy": false, + "param_is_input": [ + true, + false, + true + ], + "param_is_output": [ + false, + true, + false + ] } ] }, @@ -964,6 +979,35 @@ "specializations": [["TypePythonScalar"]] } ] + }, + "vpHistogram": { + "methods": [ + { + "static": false, + "signature": "unsigned getPeaks(std::list&)", + "use_default_param_policy": false, + "param_is_input": [false], + "param_is_output": [true] + }, + { + "static": false, + "signature": "unsigned getValey(std::list&)", + "use_default_param_policy": false, + "param_is_input": [false], + "param_is_output": [true] + }, + { + "static": false, + "signature": "unsigned sort(std::list&)", + "use_default_param_policy": false, + "param_is_input": [ + true + ], + "param_is_output": [ + true + ] + } + ] } } }