deserialize_cam_parT_deserialize_cam_parDeserializeCamParDeserializeCamPardeserialize_cam_par (Operator)

Name

deserialize_cam_parT_deserialize_cam_parDeserializeCamParDeserializeCamPardeserialize_cam_par — Deserialize the serialized internal camera parameters.

Signature

deserialize_cam_par( : : SerializedItemHandle : CameraParam)

Herror T_deserialize_cam_par(const Htuple SerializedItemHandle, Htuple* CameraParam)

void DeserializeCamPar(const HTuple& SerializedItemHandle, HTuple* CameraParam)

void HCamPar::DeserializeCamPar(const HSerializedItem& SerializedItemHandle)

static void HOperatorSet.DeserializeCamPar(HTuple serializedItemHandle, out HTuple cameraParam)

void HCamPar.DeserializeCamPar(HSerializedItem serializedItemHandle)

def deserialize_cam_par(serialized_item_handle: HHandle) -> Sequence[Union[int, float, str]]

Description

deserialize_cam_pardeserialize_cam_parDeserializeCamParDeserializeCamParDeserializeCamPardeserialize_cam_par deserializes the internal camera parameters, that were serialized by serialize_cam_parserialize_cam_parSerializeCamParSerializeCamParSerializeCamParserialize_cam_par (see fwrite_serialized_itemfwrite_serialized_itemFwriteSerializedItemFwriteSerializedItemFwriteSerializedItemfwrite_serialized_item for an introduction of the basic principle of serialization). The serialized camera parameters are defined by the handle SerializedItemHandleSerializedItemHandleSerializedItemHandleSerializedItemHandleserializedItemHandleserialized_item_handle. The deserialized values are stored in an automatically created tuple with the handle CameraParamCameraParamCameraParamCameraParamcameraParamcamera_param.

Execution Information

Parameters

SerializedItemHandleSerializedItemHandleSerializedItemHandleSerializedItemHandleserializedItemHandleserialized_item_handle (input_control)  serialized_item HSerializedItem, HTupleHHandleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)

Handle of the serialized item.

CameraParamCameraParamCameraParamCameraParamcameraParamcamera_param (output_control)  campar HCamPar, HTupleSequence[Union[int, float, str]]HTupleHtuple (real / integer / string) (double / int / long / string) (double / Hlong / HString) (double / Hlong / char*)

Internal camera parameters.

Result

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

Possible Predecessors

fread_serialized_itemfread_serialized_itemFreadSerializedItemFreadSerializedItemFreadSerializedItemfread_serialized_item, receive_serialized_itemreceive_serialized_itemReceiveSerializedItemReceiveSerializedItemReceiveSerializedItemreceive_serialized_item, serialize_cam_parserialize_cam_parSerializeCamParSerializeCamParSerializeCamParserialize_cam_par

Module

Foundation