Skip to content

serialize_deformable_modelSerializeDeformableModelSerializeDeformableModelserialize_deformable_modelT_serialize_deformable_model🔗

Short description🔗

serialize_deformable_modelSerializeDeformableModelSerializeDeformableModelserialize_deformable_modelT_serialize_deformable_model — Serialize a deformable model.

Signature🔗

serialize_deformable_model( deformable_model ModelID, out serialized_item SerializedItemHandle )void SerializeDeformableModel( const HTuple& ModelID, HTuple* SerializedItemHandle )static void HOperatorSet.SerializeDeformableModel( HTuple modelID, out HTuple serializedItemHandle )def serialize_deformable_model( model_id: HHandle ) -> HHandle

Herror T_serialize_deformable_model( const Htuple ModelID, Htuple* SerializedItemHandle )

HSerializedItem HDeformableModel::SerializeDeformableModel( ) const

HSerializedItem HDeformableModel.SerializeDeformableModel( )

Description🔗

serialize_deformable_modelSerializeDeformableModel serializes the data of a deformable model (see fwrite_serialized_itemFwriteSerializedItem for an introduction of the basic principle of serialization). The same data that is written in a file by write_deformable_modelWriteDeformableModel is converted to a serialized item. The deformable model is defined by the handle ModelIDmodelIDmodel_id. The serialized deformable model is returned by the handle SerializedItemHandleserializedItemHandleserialized_item_handle and can be deserialized by deserialize_deformable_modelDeserializeDeformableModel.

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🔗

ModelIDmodelIDmodel_id (input_control) deformable_model → (handle)HTuple (HHandle)HDeformableModel, HTuple (IntPtr)HHandleHtuple (handle)

Handle of a model to be saved.

SerializedItemHandleserializedItemHandleserialized_item_handle (output_control) serialized_item → (handle)HTuple (HHandle)HSerializedItem, HTuple (IntPtr)HHandleHtuple (handle)

Handle of the serialized item.

Result🔗

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

Combinations with other operators🔗

Combinations

Possible predecessors

create_planar_uncalib_deformable_modelCreatePlanarUncalibDeformableModel, create_planar_calib_deformable_modelCreatePlanarCalibDeformableModel, create_local_deformable_modelCreateLocalDeformableModel

Possible successors

fwrite_serialized_itemFwriteSerializedItem, send_serialized_itemSendSerializedItem, deserialize_deformable_modelDeserializeDeformableModel

Module🔗

Matching