clear_descriptor_modelT_clear_descriptor_modelClearDescriptorModelClearDescriptorModel (Operator)

Name

clear_descriptor_modelT_clear_descriptor_modelClearDescriptorModelClearDescriptorModel — Free the memory of a descriptor model.

Signature

clear_descriptor_model( : : ModelID : )

Herror T_clear_descriptor_model(const Htuple ModelID)

void ClearDescriptorModel(const HTuple& ModelID)

static void HDescriptorModel::ClearDescriptorModel(const HDescriptorModelArray& ModelID)

void HDescriptorModel::ClearDescriptorModel() const

static void HOperatorSet.ClearDescriptorModel(HTuple modelID)

static void HDescriptorModel.ClearDescriptorModel(HDescriptorModel[] modelID)

void HDescriptorModel.ClearDescriptorModel()

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 (handle) (IntPtr) (HHandle) (handle)

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