ClassesClasses | | Operators

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

write_sheet_of_light_model( : : SheetOfLightModelID, FileName : )

Herror T_write_sheet_of_light_model(const Htuple SheetOfLightModelID, const Htuple FileName)

void WriteSheetOfLightModel(const HTuple& SheetOfLightModelID, const HTuple& FileName)

void HSheetOfLightModel::WriteSheetOfLightModel(const HString& FileName) const

void HSheetOfLightModel::WriteSheetOfLightModel(const char* FileName) const

static void HOperatorSet.WriteSheetOfLightModel(HTuple sheetOfLightModelID, HTuple fileName)

void HSheetOfLightModel.WriteSheetOfLightModel(string fileName)

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

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


ClassesClasses | | Operators