ClassesClassesClassesClasses | | | | Operators

read_ncc_modelread_ncc_modelReadNccModelread_ncc_modelReadNccModelReadNccModel (Operator)

Name

read_ncc_modelread_ncc_modelReadNccModelread_ncc_modelReadNccModelReadNccModel — Read an NCC model from a file.

Signature

read_ncc_model( : : FileName : ModelID)

Herror read_ncc_model(const char* FileName, Hlong* ModelID)

Herror T_read_ncc_model(const Htuple FileName, Htuple* ModelID)

Herror read_ncc_model(const HTuple& FileName, Hlong* ModelID)

void HNCCModel::ReadNccModel(const HTuple& FileName)

void ReadNccModel(const HTuple& FileName, HTuple* ModelID)

void HNCCModel::HNCCModel(const HString& FileName)

void HNCCModel::HNCCModel(const char* FileName)

void HNCCModel::ReadNccModel(const HString& FileName)

void HNCCModel::ReadNccModel(const char* FileName)

void HOperatorSetX.ReadNccModel(
[in] VARIANT FileName, [out] VARIANT* ModelID)

void HNCCModelX.ReadNccModel([in] BSTR FileName)

static void HOperatorSet.ReadNccModel(HTuple fileName, out HTuple modelID)

public HNCCModel(string fileName)

void HNCCModel.ReadNccModel(string fileName)

Description

The operator read_ncc_modelread_ncc_modelReadNccModelread_ncc_modelReadNccModelReadNccModel reads an NCC model, which has been written with write_ncc_modelwrite_ncc_modelWriteNccModelwrite_ncc_modelWriteNccModelWriteNccModel, from the file FileNameFileNameFileNameFileNameFileNamefileName. The default HALCON file extension for the NCC model is 'ncm'.

Parallelization

Parameters

FileNameFileNameFileNameFileNameFileNamefileName (input_control)  filename.read HTupleHTupleHTupleVARIANTHtuple (string) (string) (HString) (char*) (BSTR) (char*)

File name.

File extension: .ncm

ModelIDModelIDModelIDModelIDModelIDmodelID (output_control)  ncc_model HNCCModel, HTupleHTupleHNCCModel, HTupleHNCCModelX, VARIANTHtuple (integer) (IntPtr) (Hlong) (Hlong) (Hlong) (Hlong)

Handle of the model.

Result

If the file name is valid, the operator read_ncc_modelread_ncc_modelReadNccModelread_ncc_modelReadNccModelReadNccModel returns the value 2 (H_MSG_TRUE). If necessary an exception is raised.

Possible Successors

find_ncc_modelfind_ncc_modelFindNccModelfind_ncc_modelFindNccModelFindNccModel

See also

create_ncc_modelcreate_ncc_modelCreateNccModelcreate_ncc_modelCreateNccModelCreateNccModel, clear_ncc_modelclear_ncc_modelClearNccModelclear_ncc_modelClearNccModelClearNccModel

Module

Matching


ClassesClassesClassesClasses | | | | Operators