ClassesClasses | | Operators

serialize_object_model_3dserialize_object_model_3dSerializeObjectModel3dSerializeObjectModel3d (Operator)

Name

serialize_object_model_3dserialize_object_model_3dSerializeObjectModel3dSerializeObjectModel3d — Serialize a 3D object model.

Signature

serialize_object_model_3d( : : ObjectModel3D : SerializedItemHandle)

Herror serialize_object_model_3d(const Hlong ObjectModel3D, Hlong* SerializedItemHandle)

Herror T_serialize_object_model_3d(const Htuple ObjectModel3D, Htuple* SerializedItemHandle)

void SerializeObjectModel3d(const HTuple& ObjectModel3D, HTuple* SerializedItemHandle)

HSerializedItem HObjectModel3D::SerializeObjectModel3d() const

static void HOperatorSet.SerializeObjectModel3d(HTuple objectModel3D, out HTuple serializedItemHandle)

HSerializedItem HObjectModel3D.SerializeObjectModel3d()

Description

serialize_object_model_3dserialize_object_model_3dSerializeObjectModel3dSerializeObjectModel3dSerializeObjectModel3d serializes the data of a 3D object 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 using the file format 'om3' of write_object_model_3dwrite_object_model_3dWriteObjectModel3dWriteObjectModel3dWriteObjectModel3d is converted to a serialized item. The 3D object model is defined by the handle ObjectModel3DObjectModel3DObjectModel3DObjectModel3DobjectModel3D. The serialized 3D object model is returned by the handle SerializedItemHandleSerializedItemHandleSerializedItemHandleSerializedItemHandleserializedItemHandle and can be deserialized by deserialize_object_model_3ddeserialize_object_model_3dDeserializeObjectModel3dDeserializeObjectModel3dDeserializeObjectModel3d.

Execution Information

Parameters

ObjectModel3DObjectModel3DObjectModel3DObjectModel3DobjectModel3D (input_control)  object_model_3d HObjectModel3D, HTupleHTupleHtuple (integer) (IntPtr) (Hlong) (Hlong)

Handle of the 3D object model.

SerializedItemHandleSerializedItemHandleSerializedItemHandleSerializedItemHandleserializedItemHandle (output_control)  serialized_item HSerializedItem, HTupleHTupleHtuple (integer) (IntPtr) (Hlong) (Hlong)

Handle of the serialized item.

Result

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

Possible Predecessors

read_object_model_3dread_object_model_3dReadObjectModel3dReadObjectModel3dReadObjectModel3d, xyz_to_object_model_3dxyz_to_object_model_3dXyzToObjectModel3dXyzToObjectModel3dXyzToObjectModel3d

Possible Successors

read_object_model_3dread_object_model_3dReadObjectModel3dReadObjectModel3dReadObjectModel3d, fwrite_serialized_itemfwrite_serialized_itemFwriteSerializedItemFwriteSerializedItemFwriteSerializedItem, send_serialized_itemsend_serialized_itemSendSerializedItemSendSerializedItemSendSerializedItem, deserialize_object_model_3ddeserialize_object_model_3dDeserializeObjectModel3dDeserializeObjectModel3dDeserializeObjectModel3d

See also

read_object_model_3dread_object_model_3dReadObjectModel3dReadObjectModel3dReadObjectModel3d

Module

3D Metrology


ClassesClasses | | Operators