Skip to content

write_deformable_surface_modelWriteDeformableSurfaceModelWriteDeformableSurfaceModelwrite_deformable_surface_modelT_write_deformable_surface_model🔗

Short description🔗

write_deformable_surface_modelWriteDeformableSurfaceModelWriteDeformableSurfaceModelwrite_deformable_surface_modelT_write_deformable_surface_model — Write a deformable surface model to a file.

Signature🔗

write_deformable_surface_model( deformable_surface_model DeformableSurfaceModel, filename.write FileName )void WriteDeformableSurfaceModel( const HTuple& DeformableSurfaceModel, const HTuple& FileName )static void HOperatorSet.WriteDeformableSurfaceModel( HTuple deformableSurfaceModel, HTuple fileName )def write_deformable_surface_model( deformable_surface_model: HHandle, file_name: str ) -> None

Herror T_write_deformable_surface_model( const Htuple DeformableSurfaceModel, const Htuple FileName )

void HDeformableSurfaceModel::WriteDeformableSurfaceModel( const HString& FileName ) const

void HDeformableSurfaceModel::WriteDeformableSurfaceModel( const char* FileName ) const

void HDeformableSurfaceModel::WriteDeformableSurfaceModel( const wchar_t* FileName ) const (Windows only)

void HDeformableSurfaceModel.WriteDeformableSurfaceModel( string fileName )

Description🔗

The operator write_deformable_surface_modelWriteDeformableSurfaceModel writes a deformable surface model to the file FileNamefileNamefile_name. The file can be read again with read_deformable_surface_modelReadDeformableSurfaceModel. The default HALCON file extension for the deformable surface model file is 'dsfm'.

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.

Parameters🔗

DeformableSurfaceModeldeformableSurfaceModeldeformable_surface_model (input_control) deformable_surface_model → (handle)HTuple (HHandle)HDeformableSurfaceModel, HTuple (IntPtr)HHandleHtuple (handle)

Handle of the deformable surface model to write.

FileNamefileNamefile_name (input_control) filename.write → (string)HTuple (HString)HTuple (string)strHtuple (char*)

File name to write to.

File extension: .dsfm

Result🔗

write_deformable_surface_modelWriteDeformableSurfaceModel returns 2 (H_MSG_TRUE) if all parameters are correct and the HALCON process has write permission to the file. If necessary, an exception is raised.

Combinations with other operators🔗

Combinations

Possible predecessors

read_deformable_surface_modelReadDeformableSurfaceModel, create_deformable_surface_modelCreateDeformableSurfaceModel, get_deformable_surface_model_paramGetDeformableSurfaceModelParam

Possible successors

clear_deformable_surface_modelClearDeformableSurfaceModel

See also

create_deformable_surface_modelCreateDeformableSurfaceModel, read_deformable_surface_modelReadDeformableSurfaceModel

Module🔗

3D Metrology