serialize_descriptor_modelT_serialize_descriptor_modelSerializeDescriptorModelSerializeDescriptorModelserialize_descriptor_model (Operator)

Name

serialize_descriptor_modelT_serialize_descriptor_modelSerializeDescriptorModelSerializeDescriptorModelserialize_descriptor_model — Serialize a descriptor model.

Signature

serialize_descriptor_model( : : ModelID : SerializedItemHandle)

Herror T_serialize_descriptor_model(const Htuple ModelID, Htuple* SerializedItemHandle)

void SerializeDescriptorModel(const HTuple& ModelID, HTuple* SerializedItemHandle)

HSerializedItem HDescriptorModel::SerializeDescriptorModel() const

static void HOperatorSet.SerializeDescriptorModel(HTuple modelID, out HTuple serializedItemHandle)

HSerializedItem HDescriptorModel.SerializeDescriptorModel()

def serialize_descriptor_model(model_id: HHandle) -> HHandle

Description

serialize_descriptor_modelserialize_descriptor_modelSerializeDescriptorModelSerializeDescriptorModelSerializeDescriptorModelserialize_descriptor_model serializes the data of a descriptor 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_descriptor_modelwrite_descriptor_modelWriteDescriptorModelWriteDescriptorModelWriteDescriptorModelwrite_descriptor_model is converted to a serialized item. The descriptor model is defined by the handle ModelIDModelIDModelIDModelIDmodelIDmodel_id. The serialized descriptor model is returned by the handle SerializedItemHandleSerializedItemHandleSerializedItemHandleSerializedItemHandleserializedItemHandleserialized_item_handle and can be deserialized by deserialize_descriptor_modeldeserialize_descriptor_modelDeserializeDescriptorModelDeserializeDescriptorModelDeserializeDescriptorModeldeserialize_descriptor_model.

Execution Information

Parameters

ModelIDModelIDModelIDModelIDmodelIDmodel_id (input_control)  descriptor_model HDescriptorModel, 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_descriptor_modelserialize_descriptor_modelSerializeDescriptorModelSerializeDescriptorModelSerializeDescriptorModelserialize_descriptor_model returns the value TRUE. If necessary, an exception is raised.

Possible Predecessors

points_lepetitpoints_lepetitPointsLepetitPointsLepetitPointsLepetitpoints_lepetit, create_uncalib_descriptor_modelcreate_uncalib_descriptor_modelCreateUncalibDescriptorModelCreateUncalibDescriptorModelCreateUncalibDescriptorModelcreate_uncalib_descriptor_model, create_calib_descriptor_modelcreate_calib_descriptor_modelCreateCalibDescriptorModelCreateCalibDescriptorModelCreateCalibDescriptorModelcreate_calib_descriptor_model

Possible Successors

fwrite_serialized_itemfwrite_serialized_itemFwriteSerializedItemFwriteSerializedItemFwriteSerializedItemfwrite_serialized_item, send_serialized_itemsend_serialized_itemSendSerializedItemSendSerializedItemSendSerializedItemsend_serialized_item, deserialize_descriptor_modeldeserialize_descriptor_modelDeserializeDescriptorModelDeserializeDescriptorModelDeserializeDescriptorModeldeserialize_descriptor_model

See also

create_uncalib_descriptor_modelcreate_uncalib_descriptor_modelCreateUncalibDescriptorModelCreateUncalibDescriptorModelCreateUncalibDescriptorModelcreate_uncalib_descriptor_model, create_calib_descriptor_modelcreate_calib_descriptor_modelCreateCalibDescriptorModelCreateCalibDescriptorModelCreateCalibDescriptorModelcreate_calib_descriptor_model

Module

Matching