Skip to content

clear_structured_light_modelClearStructuredLightModelClearStructuredLightModelclear_structured_light_modelT_clear_structured_light_model🔗

Short description🔗

clear_structured_light_modelClearStructuredLightModelClearStructuredLightModelclear_structured_light_modelT_clear_structured_light_model — Clear a structured light model and free the allocated memory.

Signature🔗

clear_structured_light_model( structured_light_model StructuredLightModel )void ClearStructuredLightModel( const HTuple& StructuredLightModel )static void HOperatorSet.ClearStructuredLightModel( HTuple structuredLightModel )def clear_structured_light_model( structured_light_model: MaybeSequence[HHandle] ) -> None

Herror T_clear_structured_light_model( const Htuple StructuredLightModel )

static void HStructuredLightModel::ClearStructuredLightModel( const HStructuredLightModelArray& StructuredLightModel )

void HStructuredLightModel::ClearStructuredLightModel( ) const

static void HStructuredLightModel.ClearStructuredLightModel( HStructuredLightModel[] structuredLightModel )

void HStructuredLightModel.ClearStructuredLightModel( )

Description🔗

The operator clear_structured_light_modelClearStructuredLightModel deletes a structured light model that was created by create_structured_light_modelCreateStructuredLightModel. All memory used by the model is freed. The handle of the model is passed in StructuredLightModelstructuredLightModelstructured_light_model. It is invalid after the operator call.

For an explanation of the concept of structured light and its supported applications, see the introduction of chapter Inspection / Structured Light.

Execution information🔗

Execution information
  • Multithreading type: reentrant (runs in parallel with non-exclusive operators).

  • Multithreading scope: global (may be called from any thread).

  • Processed without parallelization.

This operator modifies the state of the following input parameter:

During execution of this operator, access to the value of this parameter must be synchronized if it is used across multiple threads.

Parameters🔗

StructuredLightModelstructuredLightModelstructured_light_model (input_control, state is modified) structured_light_model(-array) → (handle)HTuple (HHandle)HStructuredLightModel, HTuple (IntPtr)MaybeSequence[HHandle]Htuple (handle)

Handle of the structured light model.

Result🔗

The operator clear_structured_light_modelClearStructuredLightModel returns the value 2 (H_MSG_TRUE) if a valid handle is passed and the referred structured light model can be freed correctly. Otherwise, an exception will be raised.

Combinations with other operators🔗

Combinations

See also

create_structured_light_modelCreateStructuredLightModel

Module🔗

3D Metrology