ClassesClasses | | Operators

clear_descriptor_modelclear_descriptor_modelClearDescriptorModelClearDescriptorModel (Operator)

Name

clear_descriptor_modelclear_descriptor_modelClearDescriptorModelClearDescriptorModel — Free the memory of a descriptor model.

Signature

clear_descriptor_model( : : ModelID : )

Herror clear_descriptor_model(const Hlong ModelID)

Herror T_clear_descriptor_model(const Htuple ModelID)

void ClearDescriptorModel(const HTuple& ModelID)

static void HOperatorSet.ClearDescriptorModel(HTuple modelID)

Description

The operator clear_descriptor_modelclear_descriptor_modelClearDescriptorModelClearDescriptorModelClearDescriptorModel frees the memory of a descriptor model that was created by create_calib_descriptor_modelcreate_calib_descriptor_modelCreateCalibDescriptorModelCreateCalibDescriptorModelCreateCalibDescriptorModel or create_uncalib_descriptor_modelcreate_uncalib_descriptor_modelCreateUncalibDescriptorModelCreateUncalibDescriptorModelCreateUncalibDescriptorModel. After calling clear_descriptor_modelclear_descriptor_modelClearDescriptorModelClearDescriptorModelClearDescriptorModel, the model can no longer be used. The handle ModelIDModelIDModelIDModelIDmodelID becomes invalid.

Execution Information

This operator modifies the state of the following input parameter:

The value of this parameter may not be shared across multiple threads without external synchronization.

Parameters

ModelIDModelIDModelIDModelIDmodelID (input_control, state is modified)  descriptor_model(-array) HDescriptorModel, HTupleHTupleHtuple (integer) (IntPtr) (Hlong) (Hlong)

Handle of the descriptor model.

Result

If the handle of the model is valid, the operator clear_descriptor_modelclear_descriptor_modelClearDescriptorModelClearDescriptorModelClearDescriptorModel returns the value 2 (H_MSG_TRUE). If necessary an exception is raised.

See also

create_uncalib_descriptor_modelcreate_uncalib_descriptor_modelCreateUncalibDescriptorModelCreateUncalibDescriptorModelCreateUncalibDescriptorModel, create_calib_descriptor_modelcreate_calib_descriptor_modelCreateCalibDescriptorModelCreateCalibDescriptorModelCreateCalibDescriptorModel

Module

Matching


ClassesClasses | | Operators