serialize_poseT_serialize_poseSerializePoseSerializePose (Operator)

Name

serialize_poseT_serialize_poseSerializePoseSerializePose — 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()

Description

serialize_poseserialize_poseSerializePoseSerializePoseSerializePose serializes the data of a pose (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_posewrite_poseWritePoseWritePoseWritePose is converted to a serialized item. The pose is defined by the handle PosePosePosePosepose. The serialized pose is returned by the handle SerializedItemHandleSerializedItemHandleSerializedItemHandleSerializedItemHandleserializedItemHandle and can be deserialized by deserialize_posedeserialize_poseDeserializePoseDeserializePoseDeserializePose.

Execution Information

Parameters

PosePosePosePosepose (input_control)  pose HPose, HTupleHTupleHtuple (real / integer) (double / int / long) (double / Hlong) (double / Hlong)

3D pose.

Number of elements: 7

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

Possible Successors

fwrite_serialized_itemfwrite_serialized_itemFwriteSerializedItemFwriteSerializedItemFwriteSerializedItem, send_serialized_itemsend_serialized_itemSendSerializedItemSendSerializedItemSendSerializedItem, deserialize_posedeserialize_poseDeserializePoseDeserializePoseDeserializePose

Module

Foundation