read_shape_model_3dT_read_shape_model_3dReadShapeModel3dReadShapeModel3dread_shape_model_3d (算子名称)
名称
read_shape_model_3dT_read_shape_model_3dReadShapeModel3dReadShapeModel3dread_shape_model_3d
— Read a 3D shape model from a file.
参数签名
def read_shape_model_3d(file_name: str) -> HHandle
描述
The operator read_shape_model_3dread_shape_model_3dReadShapeModel3dReadShapeModel3dReadShapeModel3dread_shape_model_3d
reads a 3D shape model, which
has been written with write_shape_model_3dwrite_shape_model_3dWriteShapeModel3dWriteShapeModel3dWriteShapeModel3dwrite_shape_model_3d
, from the file
FileNameFileNameFileNameFileNamefileNamefile_name
. The default HALCON file extension for the 3D
shape model is 'sm3'.
运行信息
- Multithreading type: reentrant (runs in parallel with non-exclusive operators).
- Multithreading scope: global (may be called from any thread).
- Processed without parallelization.
This operator returns a handle. Note that the state of an instance of this handle type may be changed by specific operators even though the handle is used as an input parameter by those operators.
参数表
FileNameFileNameFileNameFileNamefileNamefile_name
(input_control) filename.read →
HTuplestrHTupleHtuple (string) (string) (HString) (char*)
File name.
File extension:
.sm3
ShapeModel3DIDShapeModel3DIDShapeModel3DIDShapeModel3DIDshapeModel3DIDshape_model_3did
(output_control) shape_model_3d →
HShapeModel3D, HTupleHHandleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)
Handle of the 3D shape model.
结果
If the file name is valid, the operator read_shape_model_3dread_shape_model_3dReadShapeModel3dReadShapeModel3dReadShapeModel3dread_shape_model_3d
returns the value 2 (
H_MSG_TRUE)
. If necessary an exception is raised.
可能的后置算子
find_shape_model_3dfind_shape_model_3dFindShapeModel3dFindShapeModel3dFindShapeModel3dfind_shape_model_3d
,
get_shape_model_3d_paramsget_shape_model_3d_paramsGetShapeModel3dParamsGetShapeModel3dParamsGetShapeModel3dParamsget_shape_model_3d_params
参考其它
create_shape_model_3dcreate_shape_model_3dCreateShapeModel3dCreateShapeModel3dCreateShapeModel3dcreate_shape_model_3d
,
clear_shape_model_3dclear_shape_model_3dClearShapeModel3dClearShapeModel3dClearShapeModel3dclear_shape_model_3d
模块
3D Metrology