serialize_poseT_serialize_poseSerializePoseSerializePoseserialize_pose (Operator)
Name
serialize_poseT_serialize_poseSerializePoseSerializePoseserialize_pose
— Serialize a pose.
Signature
def serialize_pose(pose: Sequence[Union[int, float]]) -> HHandle
Description
serialize_poseserialize_poseSerializePoseSerializePoseserialize_pose
serializes the data of a pose (see
fwrite_serialized_itemfwrite_serialized_itemFwriteSerializedItemFwriteSerializedItemfwrite_serialized_item
for an introduction of the basic
principle of serialization). The same data that is written in a
file by write_posewrite_poseWritePoseWritePosewrite_pose
is converted to a serialized item.
The pose is defined by the handle PosePosePoseposepose
. The
serialized pose is returned by the handle
SerializedItemHandleSerializedItemHandleSerializedItemHandleserializedItemHandleserialized_item_handle
and can be deserialized by
deserialize_posedeserialize_poseDeserializePoseDeserializePosedeserialize_pose
.
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
PosePosePoseposepose
(input_control) pose →
HPose, HTupleSequence[Union[int, float]]HTupleHtuple (real / integer) (double / int / long) (double / Hlong) (double / Hlong)
3D pose.
Number of elements:
7
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_poseserialize_poseSerializePoseSerializePoseserialize_pose
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_posedeserialize_poseDeserializePoseDeserializePosedeserialize_pose
Module
Foundation