serialize_hom_mat3dT_serialize_hom_mat3dSerializeHomMat3dSerializeHomMat3dserialize_hom_mat3d (Operator)
Name
serialize_hom_mat3dT_serialize_hom_mat3dSerializeHomMat3dSerializeHomMat3dserialize_hom_mat3d
— Serialize a homogeneous 3D transformation matrix.
Signature
def serialize_hom_mat3d(hom_mat_3d: Sequence[float]) -> HHandle
Description
serialize_hom_mat3dserialize_hom_mat3dSerializeHomMat3dSerializeHomMat3dserialize_hom_mat3d
serializes the data of a homogeneous 3D
transformation matrix (see fwrite_serialized_itemfwrite_serialized_itemFwriteSerializedItemFwriteSerializedItemfwrite_serialized_item
for an
introduction of the basic principle of serialization).
The transformation matrix is defined by the handle HomMat3DHomMat3DHomMat3DhomMat3Dhom_mat_3d
.
The serialized transformation matrix is returned by the handle
SerializedItemHandleSerializedItemHandleSerializedItemHandleserializedItemHandleserialized_item_handle
and can be deserialized by
deserialize_hom_mat3ddeserialize_hom_mat3dDeserializeHomMat3dDeserializeHomMat3ddeserialize_hom_mat3d
.
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
HomMat3DHomMat3DHomMat3DhomMat3Dhom_mat_3d
(input_control) hom_mat3d →
HHomMat3D, HTupleSequence[float]HTupleHtuple (real) (double) (double) (double)
Transformation matrix.
SerializedItemHandleSerializedItemHandleSerializedItemHandleserializedItemHandleserialized_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_hom_mat3dserialize_hom_mat3dSerializeHomMat3dSerializeHomMat3dserialize_hom_mat3d
returns the value 2 (
H_MSG_TRUE)
. If
necessary, an exception is raised.
Possible Successors
fwrite_serialized_itemfwrite_serialized_itemFwriteSerializedItemFwriteSerializedItemfwrite_serialized_item
,
send_serialized_itemsend_serialized_itemSendSerializedItemSendSerializedItemsend_serialized_item
,
deserialize_hom_mat3ddeserialize_hom_mat3dDeserializeHomMat3dDeserializeHomMat3ddeserialize_hom_mat3d
Module
Foundation