ClassesClasses | | Operators

serialize_descriptor_modelT_serialize_descriptor_modelSerializeDescriptorModelSerializeDescriptorModel (Operator)

Name

serialize_descriptor_modelT_serialize_descriptor_modelSerializeDescriptorModelSerializeDescriptorModel — 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()

Description

serialize_descriptor_modelserialize_descriptor_modelSerializeDescriptorModelSerializeDescriptorModelSerializeDescriptorModel serializes the data of a descriptor model (see fwrite_serialized_itemfwrite_serialized_itemFwriteSerializedItemFwriteSerializedItemFwriteSerializedItem for an introduction of the basic principle of serialization). The same data that is written in a file by write_descriptor_modelwrite_descriptor_modelWriteDescriptorModelWriteDescriptorModelWriteDescriptorModel is converted to a serialized item. The descriptor model is defined by the handle ModelIDModelIDModelIDModelIDmodelID. The serialized descriptor model is returned by the handle SerializedItemHandleSerializedItemHandleSerializedItemHandleSerializedItemHandleserializedItemHandle and can be deserialized by deserialize_descriptor_modeldeserialize_descriptor_modelDeserializeDescriptorModelDeserializeDescriptorModelDeserializeDescriptorModel.

Execution Information

Parameters

ModelIDModelIDModelIDModelIDmodelID (input_control)  descriptor_model HDescriptorModel, HTupleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)

Handle of a model to be saved.

SerializedItemHandleSerializedItemHandleSerializedItemHandleSerializedItemHandleserializedItemHandle (output_control)  serialized_item HSerializedItem, HTupleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)

Handle of the serialized item.

Result

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

Possible Predecessors

points_lepetitpoints_lepetitPointsLepetitPointsLepetitPointsLepetit, create_uncalib_descriptor_modelcreate_uncalib_descriptor_modelCreateUncalibDescriptorModelCreateUncalibDescriptorModelCreateUncalibDescriptorModel, create_calib_descriptor_modelcreate_calib_descriptor_modelCreateCalibDescriptorModelCreateCalibDescriptorModelCreateCalibDescriptorModel

Possible Successors

fwrite_serialized_itemfwrite_serialized_itemFwriteSerializedItemFwriteSerializedItemFwriteSerializedItem, send_serialized_itemsend_serialized_itemSendSerializedItemSendSerializedItemSendSerializedItem, deserialize_descriptor_modeldeserialize_descriptor_modelDeserializeDescriptorModelDeserializeDescriptorModelDeserializeDescriptorModel

See also

create_uncalib_descriptor_modelcreate_uncalib_descriptor_modelCreateUncalibDescriptorModelCreateUncalibDescriptorModelCreateUncalibDescriptorModel, create_calib_descriptor_modelcreate_calib_descriptor_modelCreateCalibDescriptorModelCreateCalibDescriptorModelCreateCalibDescriptorModel

Module

Matching


ClassesClasses | | Operators