ClassesClasses | | Operators

write_variation_modelT_write_variation_modelWriteVariationModelWriteVariationModel (Operator)

Name

write_variation_modelT_write_variation_modelWriteVariationModelWriteVariationModel — Write a variation model to a file.

Signature

write_variation_model( : : ModelID, FileName : )

Herror T_write_variation_model(const Htuple ModelID, const Htuple FileName)

void WriteVariationModel(const HTuple& ModelID, const HTuple& FileName)

void HVariationModel::WriteVariationModel(const HString& FileName) const

void HVariationModel::WriteVariationModel(const char* FileName) const

static void HOperatorSet.WriteVariationModel(HTuple modelID, HTuple fileName)

void HVariationModel.WriteVariationModel(string fileName)

Description

write_variation_modelwrite_variation_modelWriteVariationModelWriteVariationModelWriteVariationModel writes a variation model to the file FileNameFileNameFileNameFileNamefileName. The model can be read with read_variation_modelread_variation_modelReadVariationModelReadVariationModelReadVariationModel. The default HALCON file extension for a variation model is 'vam'.

Execution Information

Parameters

ModelIDModelIDModelIDModelIDmodelID (input_control)  variation_model HVariationModel, HTupleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)

ID of the variation model.

FileNameFileNameFileNameFileNamefileName (input_control)  filename.write HTupleHTupleHtuple (string) (string) (HString) (char*)

File name.

File extension: .vam

Result

If the file name is valid (write permission), the operator write_variation_modelwrite_variation_modelWriteVariationModelWriteVariationModelWriteVariationModel returns 2 (H_MSG_TRUE). If necessary an exception is raised.

Possible Predecessors

train_variation_modeltrain_variation_modelTrainVariationModelTrainVariationModelTrainVariationModel

See also

read_variation_modelread_variation_modelReadVariationModelReadVariationModelReadVariationModel

Module

Matching


ClassesClasses | | Operators