ClassesClasses | | Operators

clear_deformable_modelclear_deformable_modelClearDeformableModelClearDeformableModel (Operator)

Name

clear_deformable_modelclear_deformable_modelClearDeformableModelClearDeformableModel — Free the memory of a deformable model.

Signature

clear_deformable_model( : : ModelID : )

Herror clear_deformable_model(const Hlong ModelID)

Herror T_clear_deformable_model(const Htuple ModelID)

void ClearDeformableModel(const HTuple& ModelID)

static void HOperatorSet.ClearDeformableModel(HTuple modelID)

Description

The operator clear_deformable_modelclear_deformable_modelClearDeformableModelClearDeformableModelClearDeformableModel frees the memory of a deformable model that was created by create_planar_uncalib_deformable_modelcreate_planar_uncalib_deformable_modelCreatePlanarUncalibDeformableModelCreatePlanarUncalibDeformableModelCreatePlanarUncalibDeformableModel or create_planar_calib_deformable_modelcreate_planar_calib_deformable_modelCreatePlanarCalibDeformableModelCreatePlanarCalibDeformableModelCreatePlanarCalibDeformableModel. After calling clear_deformable_modelclear_deformable_modelClearDeformableModelClearDeformableModelClearDeformableModel, the deformable 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)  deformable_model(-array) HDeformableModel, HTupleHTupleHtuple (integer) (IntPtr) (Hlong) (Hlong)

Handle of the model.

Result

If the parameters are valid, the operator clear_deformable_modelclear_deformable_modelClearDeformableModelClearDeformableModelClearDeformableModel returns the value 2 (H_MSG_TRUE). If necessary an exception is raised.

See also

create_planar_uncalib_deformable_modelcreate_planar_uncalib_deformable_modelCreatePlanarUncalibDeformableModelCreatePlanarUncalibDeformableModelCreatePlanarUncalibDeformableModel, create_planar_calib_deformable_modelcreate_planar_calib_deformable_modelCreatePlanarCalibDeformableModelCreatePlanarCalibDeformableModelCreatePlanarCalibDeformableModel, create_local_deformable_modelcreate_local_deformable_modelCreateLocalDeformableModelCreateLocalDeformableModelCreateLocalDeformableModel

Module

Matching


ClassesClasses | | Operators