Operator Reference

deserialize_cam_parT_deserialize_cam_parDeserializeCamParDeserializeCamPardeserialize_cam_par (Operator)

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_parDeserializeCamParDeserializeCamPardeserialize_cam_par deserializes the internal camera parameters, that were serialized by serialize_cam_parserialize_cam_parSerializeCamParSerializeCamParserialize_cam_par (see fwrite_serialized_itemfwrite_serialized_itemFwriteSerializedItemFwriteSerializedItemfwrite_serialized_item for an introduction of the basic principle of serialization). The serialized camera parameters are defined by the handle SerializedItemHandleSerializedItemHandleSerializedItemHandleserializedItemHandleserialized_item_handle. The deserialized values are stored in an automatically created tuple with the handle CameraParamCameraParamCameraParamcameraParamcamera_param.

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

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

Handle of the serialized item.

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

Possible Predecessors

fread_serialized_itemfread_serialized_itemFreadSerializedItemFreadSerializedItemfread_serialized_item, receive_serialized_itemreceive_serialized_itemReceiveSerializedItemReceiveSerializedItemreceive_serialized_item, serialize_cam_parserialize_cam_parSerializeCamParSerializeCamParserialize_cam_par

Module

Foundation