ClassesClassesClassesClasses | | | | Operators

get_disp_object_model_3d_infoget_disp_object_model_3d_infoGetDispObjectModel3dInfoget_disp_object_model_3d_infoGetDispObjectModel3dInfoGetDispObjectModel3dInfo (Operator)

Name

get_disp_object_model_3d_infoget_disp_object_model_3d_infoGetDispObjectModel3dInfoget_disp_object_model_3d_infoGetDispObjectModel3dInfoGetDispObjectModel3dInfo — Get the depth or the index of a displayed 3D object model.

Signature

get_disp_object_model_3d_info( : : WindowHandle, Row, Column, Information : Value)

Herror get_disp_object_model_3d_info(const Hlong WindowHandle, double Row, double Column, const char* Information, Hlong* Value)

Herror T_get_disp_object_model_3d_info(const Htuple WindowHandle, const Htuple Row, const Htuple Column, const Htuple Information, Htuple* Value)

Herror get_disp_object_model_3d_info(const HTuple& WindowHandle, const HTuple& Row, const HTuple& Column, const HTuple& Information, Hlong* Value)

Herror get_disp_object_model_3d_info(const HTuple& WindowHandle, const HTuple& Row, const HTuple& Column, const HTuple& Information, HTuple* Value)

HTuple HObjectModel3D::GetDispObjectModel3dInfo(const HTuple& WindowHandle, const HTuple& Row, const HTuple& Column, const HTuple& Information)

void GetDispObjectModel3dInfo(const HTuple& WindowHandle, const HTuple& Row, const HTuple& Column, const HTuple& Information, HTuple* Value)

static HTuple HObjectModel3D::GetDispObjectModel3dInfo(const HWindow& WindowHandle, const HTuple& Row, const HTuple& Column, const HTuple& Information)

static Hlong HObjectModel3D::GetDispObjectModel3dInfo(const HWindow& WindowHandle, double Row, double Column, const HString& Information)

static Hlong HObjectModel3D::GetDispObjectModel3dInfo(const HWindow& WindowHandle, double Row, double Column, const char* Information)

void HOperatorSetX.GetDispObjectModel3dInfo(
[in] VARIANT WindowHandle, [in] VARIANT Row, [in] VARIANT Column, [in] VARIANT Information, [out] VARIANT* Value)

VARIANT HObjectModel3DX.GetDispObjectModel3dInfo(
[in] IHWindowX* WindowHandle, [in] VARIANT Row, [in] VARIANT Column, [in] VARIANT Information)

static void HOperatorSet.GetDispObjectModel3dInfo(HTuple windowHandle, HTuple row, HTuple column, HTuple information, out HTuple value)

static HTuple HObjectModel3D.GetDispObjectModel3dInfo(HWindow windowHandle, HTuple row, HTuple column, HTuple information)

static int HObjectModel3D.GetDispObjectModel3dInfo(HWindow windowHandle, double row, double column, string information)

Description

get_disp_object_model_3d_infoget_disp_object_model_3d_infoGetDispObjectModel3dInfoget_disp_object_model_3d_infoGetDispObjectModel3dInfoGetDispObjectModel3dInfo returns information on the 3D object models that have been displayed with disp_object_model_3ddisp_object_model_3dDispObjectModel3ddisp_object_model_3dDispObjectModel3dDispObjectModel3d in the window WindowHandleWindowHandleWindowHandleWindowHandleWindowHandlewindowHandle. The requested information at the positions (RowRowRowRowRowrow, ColumnColumnColumnColumnColumncolumn) is returned in ValueValueValueValueValuevalue.

The following values can be queried via InformationInformationInformationInformationInformationinformation:

'object_index'"object_index""object_index""object_index""object_index""object_index"

The indices of the 3D object models that have been displayed at the positions (RowRowRowRowRowrow, ColumnColumnColumnColumnColumncolumn). If no 3D object model was displayed at this position, -1 is returned. In order to retrieve this information, disp_object_model_3ddisp_object_model_3dDispObjectModel3ddisp_object_model_3dDispObjectModel3dDispObjectModel3d must have been called with the generic parameter 'object_index_persistence'"object_index_persistence""object_index_persistence""object_index_persistence""object_index_persistence""object_index_persistence" set to 'true'"true""true""true""true""true".

'depth'"depth""depth""depth""depth""depth"

The depth (i.e. the Z coordinate in the camera coordinate system) at the positions (RowRowRowRowRowrow, ColumnColumnColumnColumnColumncolumn). If no 3D object model was displayed at one of these positions, -1.0 is returned for this position. In order to retrieve this information, disp_object_model_3ddisp_object_model_3dDispObjectModel3ddisp_object_model_3dDispObjectModel3dDispObjectModel3d must have been called with the generic parameter 'depth_persistence'"depth_persistence""depth_persistence""depth_persistence""depth_persistence""depth_persistence" set to 'true'"true""true""true""true""true".

The window coordinates RowRowRowRowRowrow, ColumnColumnColumnColumnColumncolumn must be provided in respect to the current image part. As a consequence, these coordinates are subpixel coordinates. Given the current image part (row1,column1,row2, column2), the upper left corner corresponds to the coordinates (row1 - 0.5, col1 - 0.5). Accordingly, the bottom right corner corresponds to the coordinates (row2 - 0.5, col2 - 0.5). Use get_mposition_sub_pixget_mposition_sub_pixGetMpositionSubPixget_mposition_sub_pixGetMpositionSubPixGetMpositionSubPix or get_mbutton_sub_pixget_mbutton_sub_pixGetMbuttonSubPixget_mbutton_sub_pixGetMbuttonSubPixGetMbuttonSubPix to obtain these coordinates directly.

Parallelization

Parameters

WindowHandleWindowHandleWindowHandleWindowHandleWindowHandlewindowHandle (input_control)  window HWindow, HTupleHTupleHTupleHWindowX, VARIANTHtuple (integer) (IntPtr) (Hlong) (Hlong) (Hlong) (Hlong)

Window identifier.

RowRowRowRowRowrow (input_control)  integer(-array) HTupleHTupleHTupleVARIANTHtuple (real / integer) (double / int / long) (double / Hlong) (double / Hlong) (double / Hlong) (double / Hlong)

Row coordinates.

ColumnColumnColumnColumnColumncolumn (input_control)  integer(-array) HTupleHTupleHTupleVARIANTHtuple (real / integer) (double / int / long) (double / Hlong) (double / Hlong) (double / Hlong) (double / Hlong)

Column coordinates.

InformationInformationInformationInformationInformationinformation (input_control)  string(-array) HTupleHTupleHTupleVARIANTHtuple (string) (string) (HString) (char*) (BSTR) (char*)

Information.

Default value: 'depth' "depth" "depth" "depth" "depth" "depth"

List of values: 'depth'"depth""depth""depth""depth""depth", 'object_index'"object_index""object_index""object_index""object_index""object_index"

ValueValueValueValueValuevalue (output_control)  integer(-array) HTupleHTupleHTupleVARIANTHtuple (integer / real) (int / long / double) (Hlong / double) (Hlong / double) (Hlong / double) (Hlong / double)

Indices or the depth of the objects at (Row,Column).

Result

get_disp_object_model_3d_infoget_disp_object_model_3d_infoGetDispObjectModel3dInfoget_disp_object_model_3d_infoGetDispObjectModel3dInfoGetDispObjectModel3dInfo returns 2 (H_MSG_TRUE) if all parameters are correct. If necessary, an exception is raised.

Possible Predecessors

disp_object_model_3ddisp_object_model_3dDispObjectModel3ddisp_object_model_3dDispObjectModel3dDispObjectModel3d, get_mbuttonget_mbuttonGetMbuttonget_mbuttonGetMbuttonGetMbutton, get_mbutton_sub_pixget_mbutton_sub_pixGetMbuttonSubPixget_mbutton_sub_pixGetMbuttonSubPixGetMbuttonSubPix, get_mpositionget_mpositionGetMpositionget_mpositionGetMpositionGetMposition, get_mposition_sub_pixget_mposition_sub_pixGetMpositionSubPixget_mposition_sub_pixGetMpositionSubPixGetMpositionSubPix

See also

disp_object_model_3ddisp_object_model_3dDispObjectModel3ddisp_object_model_3dDispObjectModel3dDispObjectModel3d

Module

3D Metrology


ClassesClassesClassesClasses | | | | Operators