ClassesClasses | | Operators

serialize_cam_parT_serialize_cam_parSerializeCamParSerializeCamPar (Operator)

Name

serialize_cam_parT_serialize_cam_parSerializeCamParSerializeCamPar — Serialize the internal camera parameters.

Signature

serialize_cam_par( : : CameraParam : SerializedItemHandle)

Herror T_serialize_cam_par(const Htuple CameraParam, Htuple* SerializedItemHandle)

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

HSerializedItem HCamPar::SerializeCamPar() const

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

HSerializedItem HCamPar.SerializeCamPar()

Description

serialize_cam_parserialize_cam_parSerializeCamParSerializeCamParSerializeCamPar serializes the internal camera parameters (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_cam_parwrite_cam_parWriteCamParWriteCamParWriteCamPar is converted to a serialized item. The camera parameters are defined by the tuple CameraParamCameraParamCameraParamCameraParamcameraParam. The serialized camera parameters are returned by the handle SerializedItemHandleSerializedItemHandleSerializedItemHandleSerializedItemHandleserializedItemHandle and can be deserialized by deserialize_cam_pardeserialize_cam_parDeserializeCamParDeserializeCamParDeserializeCamPar.

Execution Information

Parameters

CameraParamCameraParamCameraParamCameraParamcameraParam (input_control)  campar HCamPar, HTupleHTupleHtuple (real / integer / string) (double / int / long / string) (double / Hlong / HString) (double / Hlong / char*)

Internal camera parameters.

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_cam_parserialize_cam_parSerializeCamParSerializeCamParSerializeCamPar 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_cam_pardeserialize_cam_parDeserializeCamParDeserializeCamParDeserializeCamPar

Module

Foundation


ClassesClasses | | Operators