get_param_namesT_get_param_namesGetParamNamesGetParamNamesget_param_names (算子)
名称
get_param_namesT_get_param_namesGetParamNamesGetParamNamesget_param_names — 获取 HALCON 算子的参数名称。
签名
void GetParamNames(const HTuple& OperatorName, HTuple* InpObjPar, HTuple* OutpObjPar, HTuple* InpCtrlPar, HTuple* OutpCtrlPar)
static HTuple HInfo::GetParamNames(const HString& OperatorName, HTuple* OutpObjPar, HTuple* InpCtrlPar, HTuple* OutpCtrlPar)
static HTuple HInfo::GetParamNames(const char* OperatorName, HTuple* OutpObjPar, HTuple* InpCtrlPar, HTuple* OutpCtrlPar)
static HTuple HInfo::GetParamNames(const wchar_t* OperatorName, HTuple* OutpObjPar, HTuple* InpCtrlPar, HTuple* OutpCtrlPar)
(
Windows only)
def get_param_names(operator_name: str) -> Tuple[Sequence[str], Sequence[str], Sequence[str], Sequence[str]]
描述
For the HALCON-operator indicated in OperatorNameOperatorNameOperatorNameOperatorNameoperatorNameoperator_name the operator
get_param_namesget_param_namesGetParamNamesGetParamNamesGetParamNamesget_param_names returns the names of the input objects, the output objects,
of the input control parameters and the output control parameters.
执行信息
- 多线程类型:可重入(与非独占算子并行运行)。
- 多线程作用域:全局(可从任何线程调用)。
- 未采用并行化处理。
参数
OperatorNameOperatorNameOperatorNameOperatorNameoperatorNameoperator_name (输入控制) proc_name → HTuplestrHTupleHtuple (string) (string) (HString) (char*)
Name of the operator.
默认值:
'get_param_names'
"get_param_names"
"get_param_names"
"get_param_names"
"get_param_names"
"get_param_names"
InpObjParInpObjParInpObjParInpObjParinpObjParinp_obj_par (输出控制) string-array → HTupleSequence[str]HTupleHtuple (string) (string) (HString) (char*)
Names of the input objects.
OutpObjParOutpObjParOutpObjParOutpObjParoutpObjParoutp_obj_par (输出控制) string-array → HTupleSequence[str]HTupleHtuple (string) (string) (HString) (char*)
Names of the output objects.
InpCtrlParInpCtrlParInpCtrlParInpCtrlParinpCtrlParinp_ctrl_par (输出控制) string-array → HTupleSequence[str]HTupleHtuple (string) (string) (HString) (char*)
Names of the input control parameters.
OutpCtrlParOutpCtrlParOutpCtrlParOutpCtrlParoutpCtrlParoutp_ctrl_par (输出控制) string-array → HTupleSequence[str]HTupleHtuple (string) (string) (HString) (char*)
Names of the output control parameters.
结果
算子 get_param_namesget_param_namesGetParamNamesGetParamNamesGetParamNamesget_param_names 返回值 2 (
H_MSG_TRUE)
if the name of
the operator exists and the helpfiles are available.否则将抛出异常。
可能的前趋
get_keywordsget_keywordsGetKeywordsGetKeywordsGetKeywordsget_keywords,
search_operatorsearch_operatorSearchOperatorSearchOperatorSearchOperatorsearch_operator,
get_operator_nameget_operator_nameGetOperatorNameGetOperatorNameGetOperatorNameget_operator_name,
get_operator_infoget_operator_infoGetOperatorInfoGetOperatorInfoGetOperatorInfoget_operator_info
可能的后继
get_param_numget_param_numGetParamNumGetParamNumGetParamNumget_param_num,
get_param_typesget_param_typesGetParamTypesGetParamTypesGetParamTypesget_param_types
替代
get_operator_infoget_operator_infoGetOperatorInfoGetOperatorInfoGetOperatorInfoget_operator_info,
get_param_infoget_param_infoGetParamInfoGetParamInfoGetParamInfoget_param_info
另见
get_param_numget_param_numGetParamNumGetParamNumGetParamNumget_param_num,
get_param_typesget_param_typesGetParamTypesGetParamTypesGetParamTypesget_param_types,
get_operator_nameget_operator_nameGetOperatorNameGetOperatorNameGetOperatorNameget_operator_name
模块
基础