serialize_deformable_modelT_serialize_deformable_modelSerializeDeformableModelSerializeDeformableModelserialize_deformable_model (Operator)
Name
serialize_deformable_modelT_serialize_deformable_modelSerializeDeformableModelSerializeDeformableModelserialize_deformable_model
— Serialize a deformable model.
Signature
def serialize_deformable_model(model_id: HHandle) -> HHandle
Description
serialize_deformable_modelserialize_deformable_modelSerializeDeformableModelSerializeDeformableModelSerializeDeformableModelserialize_deformable_model
serializes the data of a deformable
model (see fwrite_serialized_itemfwrite_serialized_itemFwriteSerializedItemFwriteSerializedItemFwriteSerializedItemfwrite_serialized_item
for an introduction of the
basic principle of serialization). The same data that is written
in a file by write_deformable_modelwrite_deformable_modelWriteDeformableModelWriteDeformableModelWriteDeformableModelwrite_deformable_model
is converted to a serialized
item. The deformable model is defined by the handle
ModelIDModelIDModelIDModelIDmodelIDmodel_id
. The serialized deformable model is returned by the
handle SerializedItemHandleSerializedItemHandleSerializedItemHandleSerializedItemHandleserializedItemHandleserialized_item_handle
and can be deserialized
by deserialize_deformable_modeldeserialize_deformable_modelDeserializeDeformableModelDeserializeDeformableModelDeserializeDeformableModeldeserialize_deformable_model
.
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
ModelIDModelIDModelIDModelIDmodelIDmodel_id
(input_control) deformable_model →
HDeformableModel, HTupleHHandleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)
Handle of a model to be saved.
SerializedItemHandleSerializedItemHandleSerializedItemHandleSerializedItemHandleserializedItemHandleserialized_item_handle
(output_control) serialized_item →
HSerializedItem, HTupleHHandleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)
Handle of the serialized item.
Result
If the parameters are valid, the operator
serialize_deformable_modelserialize_deformable_modelSerializeDeformableModelSerializeDeformableModelSerializeDeformableModelserialize_deformable_model
returns the value 2 (
H_MSG_TRUE)
. If
necessary, an exception is raised.
Possible Predecessors
create_planar_uncalib_deformable_modelcreate_planar_uncalib_deformable_modelCreatePlanarUncalibDeformableModelCreatePlanarUncalibDeformableModelCreatePlanarUncalibDeformableModelcreate_planar_uncalib_deformable_model
,
create_planar_calib_deformable_modelcreate_planar_calib_deformable_modelCreatePlanarCalibDeformableModelCreatePlanarCalibDeformableModelCreatePlanarCalibDeformableModelcreate_planar_calib_deformable_model
,
create_local_deformable_modelcreate_local_deformable_modelCreateLocalDeformableModelCreateLocalDeformableModelCreateLocalDeformableModelcreate_local_deformable_model
Possible Successors
fwrite_serialized_itemfwrite_serialized_itemFwriteSerializedItemFwriteSerializedItemFwriteSerializedItemfwrite_serialized_item
,
send_serialized_itemsend_serialized_itemSendSerializedItemSendSerializedItemSendSerializedItemsend_serialized_item
,
deserialize_deformable_modeldeserialize_deformable_modelDeserializeDeformableModelDeserializeDeformableModelDeserializeDeformableModeldeserialize_deformable_model
Module
Matching