ClassesClasses | | Operators

serialize_shape_modelT_serialize_shape_modelSerializeShapeModelSerializeShapeModel (Operator)

Name

serialize_shape_modelT_serialize_shape_modelSerializeShapeModelSerializeShapeModel — Serialize a shape model.

Signature

serialize_shape_model( : : ModelID : SerializedItemHandle)

Herror T_serialize_shape_model(const Htuple ModelID, Htuple* SerializedItemHandle)

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

HSerializedItem HShapeModel::SerializeShapeModel() const

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

HSerializedItem HShapeModel.SerializeShapeModel()

Description

serialize_shape_modelserialize_shape_modelSerializeShapeModelSerializeShapeModelSerializeShapeModel serializes the data of a shape 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_shape_modelwrite_shape_modelWriteShapeModelWriteShapeModelWriteShapeModel is converted to a serialized item. The shape model is defined by the handle ModelIDModelIDModelIDModelIDmodelID. The serialized shape model is returned by the handle SerializedItemHandleSerializedItemHandleSerializedItemHandleSerializedItemHandleserializedItemHandle and can be deserialized by deserialize_shape_modeldeserialize_shape_modelDeserializeShapeModelDeserializeShapeModelDeserializeShapeModel.

Execution Information

Parameters

ModelIDModelIDModelIDModelIDmodelID (input_control)  shape_model HShapeModel, HTupleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)

Handle of the model.

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_shape_modelserialize_shape_modelSerializeShapeModelSerializeShapeModelSerializeShapeModel returns the value 2 (H_MSG_TRUE). If necessary, an exception is raised.

Possible Predecessors

create_shape_modelcreate_shape_modelCreateShapeModelCreateShapeModelCreateShapeModel, create_scaled_shape_modelcreate_scaled_shape_modelCreateScaledShapeModelCreateScaledShapeModelCreateScaledShapeModel, create_aniso_shape_modelcreate_aniso_shape_modelCreateAnisoShapeModelCreateAnisoShapeModelCreateAnisoShapeModel

Possible Successors

fwrite_serialized_itemfwrite_serialized_itemFwriteSerializedItemFwriteSerializedItemFwriteSerializedItem, send_serialized_itemsend_serialized_itemSendSerializedItemSendSerializedItemSendSerializedItem, deserialize_shape_modeldeserialize_shape_modelDeserializeShapeModelDeserializeShapeModelDeserializeShapeModel

Module

Matching


ClassesClasses | | Operators