ClassesClasses | | Operators

read_sheet_of_light_modelT_read_sheet_of_light_modelReadSheetOfLightModelReadSheetOfLightModel (Operator)

Name

read_sheet_of_light_modelT_read_sheet_of_light_modelReadSheetOfLightModelReadSheetOfLightModel — Read a sheet-of-light model from a file and create a new model.

Signature

read_sheet_of_light_model( : : FileName : SheetOfLightModelID)

Herror T_read_sheet_of_light_model(const Htuple FileName, Htuple* SheetOfLightModelID)

void ReadSheetOfLightModel(const HTuple& FileName, HTuple* SheetOfLightModelID)

void HSheetOfLightModel::HSheetOfLightModel(const HString& FileName)

void HSheetOfLightModel::HSheetOfLightModel(const char* FileName)

void HSheetOfLightModel::ReadSheetOfLightModel(const HString& FileName)

void HSheetOfLightModel::ReadSheetOfLightModel(const char* FileName)

static void HOperatorSet.ReadSheetOfLightModel(HTuple fileName, out HTuple sheetOfLightModelID)

public HSheetOfLightModel(string fileName)

void HSheetOfLightModel.ReadSheetOfLightModel(string fileName)

Description

The operator read_sheet_of_light_modelread_sheet_of_light_modelReadSheetOfLightModelReadSheetOfLightModelReadSheetOfLightModel reads the sheet-of-light model from the file FileNameFileNameFileNameFileNamefileName and creates a new model that is an identical copy of the saved model. The parameter SheetOfLightModelIDSheetOfLightModelIDSheetOfLightModelIDSheetOfLightModelIDsheetOfLightModelID returns the handle of the new model. The model file FileNameFileNameFileNameFileNamefileName must have been created by the operator write_sheet_of_light_modelwrite_sheet_of_light_modelWriteSheetOfLightModelWriteSheetOfLightModelWriteSheetOfLightModel. The default HALCON file extension for sheet-of-light model is 'solm'.

Execution Information

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.

Parameters

FileNameFileNameFileNameFileNamefileName (input_control)  filename.read 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

SheetOfLightModelIDSheetOfLightModelIDSheetOfLightModelIDSheetOfLightModelIDsheetOfLightModelID (output_control)  sheet_of_light_model HSheetOfLightModel, HTupleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)

Handle of the sheet-of-light model.

Result

The operator read_sheet_of_light_modelread_sheet_of_light_modelReadSheetOfLightModelReadSheetOfLightModelReadSheetOfLightModel returns the value 2 (H_MSG_TRUE) if the named file was found and correctly read. Otherwise, an exception is raised.

Possible Successors

measure_profile_sheet_of_lightmeasure_profile_sheet_of_lightMeasureProfileSheetOfLightMeasureProfileSheetOfLightMeasureProfileSheetOfLight

Alternatives

create_sheet_of_light_modelcreate_sheet_of_light_modelCreateSheetOfLightModelCreateSheetOfLightModelCreateSheetOfLightModel

See also

write_sheet_of_light_modelwrite_sheet_of_light_modelWriteSheetOfLightModelWriteSheetOfLightModelWriteSheetOfLightModel

Module

3D Metrology


ClassesClasses | | Operators