serialize_poseT_serialize_poseSerializePoseSerializePoseserialize_pose (Operator)

Name

serialize_poseT_serialize_poseSerializePoseSerializePoseserialize_pose — Serialize a pose.

Signature

serialize_pose( : : Pose : SerializedItemHandle)

Herror T_serialize_pose(const Htuple Pose, Htuple* SerializedItemHandle)

void SerializePose(const HTuple& Pose, HTuple* SerializedItemHandle)

HSerializedItem HPose::SerializePose() const

static void HOperatorSet.SerializePose(HTuple pose, out HTuple serializedItemHandle)

HSerializedItem HPose.SerializePose()

def serialize_pose(pose: Sequence[Union[int, float]]) -> HHandle

Description

serialize_poseserialize_poseSerializePoseSerializePoseSerializePoseserialize_pose serializes the data of a pose (see fwrite_serialized_itemfwrite_serialized_itemFwriteSerializedItemFwriteSerializedItemFwriteSerializedItemfwrite_serialized_item for an introduction of the basic principle of serialization). The same data that is written in a file by write_posewrite_poseWritePoseWritePoseWritePosewrite_pose is converted to a serialized item. The pose is defined by the handle PosePosePosePoseposepose. The serialized pose is returned by the handle SerializedItemHandleSerializedItemHandleSerializedItemHandleSerializedItemHandleserializedItemHandleserialized_item_handle and can be deserialized by deserialize_posedeserialize_poseDeserializePoseDeserializePoseDeserializePosedeserialize_pose.

Execution Information

Parameters

PosePosePosePoseposepose (input_control)  pose HPose, HTupleSequence[Union[int, float]]HTupleHtuple (real / integer) (double / int / long) (double / Hlong) (double / Hlong)

3D pose.

Number of elements: 7

SerializedItemHandleSerializedItemHandleSerializedItemHandleSerializedItemHandleserializedItemHandleserialized_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_poseSerializePoseSerializePoseSerializePoseserialize_pose returns the value TRUE. If necessary, an exception is raised.

Possible Successors

fwrite_serialized_itemfwrite_serialized_itemFwriteSerializedItemFwriteSerializedItemFwriteSerializedItemfwrite_serialized_item, send_serialized_itemsend_serialized_itemSendSerializedItemSendSerializedItemSendSerializedItemsend_serialized_item, deserialize_posedeserialize_poseDeserializePoseDeserializePoseDeserializePosedeserialize_pose

Module

Foundation