write_sheet_of_light_modelT_write_sheet_of_light_modelWriteSheetOfLightModelWriteSheetOfLightModel (Operator)
Name
write_sheet_of_light_modelT_write_sheet_of_light_modelWriteSheetOfLightModelWriteSheetOfLightModel
— Write a sheet-of-light model to a file.
Signature
Description
The operator write_sheet_of_light_modelwrite_sheet_of_light_modelWriteSheetOfLightModelWriteSheetOfLightModelWriteSheetOfLightModel
writes the sheet-of-light
model SheetOfLightModelIDSheetOfLightModelIDSheetOfLightModelIDSheetOfLightModelIDsheetOfLightModelID
to the file FileNameFileNameFileNameFileNamefileName
. The model
can be read again with read_sheet_of_light_modelread_sheet_of_light_modelReadSheetOfLightModelReadSheetOfLightModelReadSheetOfLightModel
.
The stored data contains all generic model parameters
(see set_sheet_of_light_paramset_sheet_of_light_paramSetSheetOfLightParamSetSheetOfLightParamSetSheetOfLightParam
) and the results of
calibrate_sheet_of_lightcalibrate_sheet_of_lightCalibrateSheetOfLightCalibrateSheetOfLightCalibrateSheetOfLight
.
The default HALCON file extension for sheet-of-light model is 'solm'.
Execution Information
- Multithreading type: reentrant (runs in parallel with non-exclusive operators).
- Multithreading scope: global (may be called from any thread).
- Processed without parallelization.
Parameters
SheetOfLightModelIDSheetOfLightModelIDSheetOfLightModelIDSheetOfLightModelIDsheetOfLightModelID
(input_control) sheet_of_light_model →
HSheetOfLightModel, HTupleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)
Handle of the sheet-of-light model.
FileNameFileNameFileNameFileNamefileName
(input_control) filename.write →
HTupleHTupleHtuple (string) (string) (HString) (char*)
Name of the sheet-of-light model file.
Default value:
'sheet_of_light_model.solm'
"sheet_of_light_model.solm"
"sheet_of_light_model.solm"
"sheet_of_light_model.solm"
"sheet_of_light_model.solm"
File extension: .solm
Result
The operator write_sheet_of_light_modelwrite_sheet_of_light_modelWriteSheetOfLightModelWriteSheetOfLightModelWriteSheetOfLightModel
returns the value 2 (H_MSG_TRUE)
if the passed handle is valid and if the model can be written into
the named file.
Otherwise, an exception is raised.
Possible Predecessors
create_sheet_of_light_modelcreate_sheet_of_light_modelCreateSheetOfLightModelCreateSheetOfLightModelCreateSheetOfLightModel
,
set_sheet_of_light_paramset_sheet_of_light_paramSetSheetOfLightParamSetSheetOfLightParamSetSheetOfLightParam
See also
read_sheet_of_light_modelread_sheet_of_light_modelReadSheetOfLightModelReadSheetOfLightModelReadSheetOfLightModel
Module
3D Metrology