ClassesClassesClassesClasses | | | | Operators

get_metrology_model_paramget_metrology_model_paramGetMetrologyModelParamget_metrology_model_paramGetMetrologyModelParamGetMetrologyModelParam (Operator)

Name

get_metrology_model_paramget_metrology_model_paramGetMetrologyModelParamget_metrology_model_paramGetMetrologyModelParamGetMetrologyModelParam — Get parameters that are valid for the entire metrology model.

Signature

get_metrology_model_param( : : MetrologyHandle, GenParamName : GenParamValue)

Herror get_metrology_model_param(const Hlong MetrologyHandle, const char* GenParamName, char* GenParamValue)

Herror T_get_metrology_model_param(const Htuple MetrologyHandle, const Htuple GenParamName, Htuple* GenParamValue)

Herror get_metrology_model_param(const HTuple& MetrologyHandle, const HTuple& GenParamName, char* GenParamValue)

Herror get_metrology_model_param(const HTuple& MetrologyHandle, const HTuple& GenParamName, HTuple* GenParamValue)

HTuple HMetrologyModel::GetMetrologyModelParam(const HTuple& GenParamName) const

void GetMetrologyModelParam(const HTuple& MetrologyHandle, const HTuple& GenParamName, HTuple* GenParamValue)

HTuple HMetrologyModel::GetMetrologyModelParam(const HString& GenParamName) const

HTuple HMetrologyModel::GetMetrologyModelParam(const char* GenParamName) const

void HOperatorSetX.GetMetrologyModelParam(
[in] VARIANT MetrologyHandle, [in] VARIANT GenParamName, [out] VARIANT* GenParamValue)

VARIANT HMetrologyModelX.GetMetrologyModelParam([in] BSTR GenParamName)

static void HOperatorSet.GetMetrologyModelParam(HTuple metrologyHandle, HTuple genParamName, out HTuple genParamValue)

HTuple HMetrologyModel.GetMetrologyModelParam(string genParamName)

Description

get_metrology_model_paramget_metrology_model_paramGetMetrologyModelParamget_metrology_model_paramGetMetrologyModelParamGetMetrologyModelParam queries parameters that are valid for the entire metrology model.

For an explanation of the concept of 2D metrology see the introduction of chapter 2D Metrology.

The metrology model is defined by the handle MetrologyHandleMetrologyHandleMetrologyHandleMetrologyHandleMetrologyHandlemetrologyHandle.

The following generic parameter names for GenParamNameGenParamNameGenParamNameGenParamNameGenParamNamegenParamName are possible:

'camera_param'"camera_param""camera_param""camera_param""camera_param""camera_param":

The internal camera parameters that are set for the metrology model.

'plane_pose'"plane_pose""plane_pose""plane_pose""plane_pose""plane_pose":

The 3D pose of the measurement plane that is set for the metrology model. The 3D pose is given in camera coordinates.

'reference_system'"reference_system""reference_system""reference_system""reference_system""reference_system":

The rotation and translation of the current reference coordinate system with respect to the image coordinate system. The tuple returned in GenParamValueGenParamValueGenParamValueGenParamValueGenParamValuegenParamValue contains [row, column, angle].

'scale'"scale""scale""scale""scale""scale":

The scaling factor or unit of the results of the measurement returned by get_metrology_object_resultget_metrology_object_resultGetMetrologyObjectResultget_metrology_object_resultGetMetrologyObjectResultGetMetrologyObjectResult.

Parallelization

Parameters

MetrologyHandleMetrologyHandleMetrologyHandleMetrologyHandleMetrologyHandlemetrologyHandle (input_control)  metrology_model HMetrologyModel, HTupleHTupleHMetrologyModel, HTupleHMetrologyModelX, VARIANTHtuple (integer) (IntPtr) (Hlong) (Hlong) (Hlong) (Hlong)

Handle of the metrology model.

GenParamNameGenParamNameGenParamNameGenParamNameGenParamNamegenParamName (input_control)  attribute.name HTupleHTupleHTupleVARIANTHtuple (string) (string) (HString) (char*) (BSTR) (char*)

Name of the generic parameter.

Default value: 'camera_param' "camera_param" "camera_param" "camera_param" "camera_param" "camera_param"

List of values: 'camera_param'"camera_param""camera_param""camera_param""camera_param""camera_param", 'plane_pose'"plane_pose""plane_pose""plane_pose""plane_pose""plane_pose", 'reference_system'"reference_system""reference_system""reference_system""reference_system""reference_system", 'scale'"scale""scale""scale""scale""scale"

GenParamValueGenParamValueGenParamValueGenParamValueGenParamValuegenParamValue (output_control)  attribute.value(-array) HTupleHTupleHTupleVARIANTHtuple (string / real / integer) (string / double / int / long) (HString / double / Hlong) (char* / double / Hlong) (BSTR / double / Hlong) (char* / double / Hlong)

Value of the generic parameter.

Result

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

Possible Predecessors

get_metrology_object_indicesget_metrology_object_indicesGetMetrologyObjectIndicesget_metrology_object_indicesGetMetrologyObjectIndicesGetMetrologyObjectIndices, set_metrology_model_paramset_metrology_model_paramSetMetrologyModelParamset_metrology_model_paramSetMetrologyModelParamSetMetrologyModelParam

Possible Successors

get_metrology_object_paramget_metrology_object_paramGetMetrologyObjectParamget_metrology_object_paramGetMetrologyObjectParamGetMetrologyObjectParam

See also

get_metrology_object_paramget_metrology_object_paramGetMetrologyObjectParamget_metrology_object_paramGetMetrologyObjectParamGetMetrologyObjectParam, get_metrology_object_num_instancesget_metrology_object_num_instancesGetMetrologyObjectNumInstancesget_metrology_object_num_instancesGetMetrologyObjectNumInstancesGetMetrologyObjectNumInstances

Module

2D Metrology


ClassesClassesClassesClasses | | | | Operators