integer_to_objinteger_to_objIntegerToObjIntegerToObjinteger_to_obj (算子)
名称
integer_to_objinteger_to_objIntegerToObjIntegerToObjinteger_to_obj — 将“整数”转换为图标对象。
签名
描述
integer_to_objinteger_to_objIntegerToObjIntegerToObjIntegerToObjinteger_to_obj is the inverse operator to
obj_to_integerobj_to_integerObjToIntegerObjToIntegerObjToIntegerobj_to_integer。All surrogates of objects passed in
SurrogateTupleSurrogateTupleSurrogateTupleSurrogateTuplesurrogateTuplesurrogate_tuple are stored as objects. In contrast to
obj_to_integerobj_to_integerObjToIntegerObjToIntegerObjToIntegerobj_to_integer, the objects are duplicated.
integer_to_objinteger_to_objIntegerToObjIntegerToObjIntegerToObjinteger_to_obj is intended especially for use in
HALCON/C, because iconic objects and control parameters are treated
differently in C. Please note that if you pass the value 0 in
SurrogateTupleSurrogateTupleSurrogateTupleSurrogateTuplesurrogateTuplesurrogate_tuple, the program will crash because 0 is no
valid pointer.
For a short description of the iconic objects that are available in HALCON
see the introduction of chapter 对象。
注意
The objects are duplicated in the database.
执行信息
- 支持计算设备上的对象。
- 多线程类型:可重入(与非独占算子并行运行)。
- 多线程作用域:全局(可从任何线程调用)。
- 未采用并行化处理。
参数
ObjectsObjectsObjectsObjectsobjectsobjects (输出对象) object(-array) → objectHObjectHObjectHObjectHobject *
Created objects.
SurrogateTupleSurrogateTupleSurrogateTupleSurrogateTuplesurrogateTuplesurrogate_tuple (输入控制) pointer(-array) → HTupleMaybeSequence[int]HTupleHtuple (integer) (IntPtr) (Hlong) (Hlong)
Tuple of object surrogates.
结果
integer_to_objinteger_to_objIntegerToObjIntegerToObjIntegerToObjinteger_to_obj returns 2 (
H_MSG_TRUE)
if all parameters are
correct, i.e., if they are valid object keys. 如果输入为空则可设置行为通过 set_system(::'no_object_result',<Result>:)set_system("no_object_result",<Result>)SetSystem("no_object_result",<Result>)SetSystem("no_object_result",<Result>)SetSystem("no_object_result",<Result>)set_system("no_object_result",<Result>)。如有必要,则抛出异常。
另见
obj_to_integerobj_to_integerObjToIntegerObjToIntegerObjToIntegerobj_to_integer
模块
基础