Skip to main content

M3dmeasInquireDraw

BoardSupported
Host SystemYes
V4L2Yes
Clarity UHDYes
Concord PoENo
GenTLYes
GevIQYes
GigE VisionYes
IndioNo
Iris GTXYes
Radient eV-CLYes
Rapixo CLYes
Rapixo CoFYes
Rapixo CXPYes
USB3 VisionYes

Inquire about a setting of a draw 3D measurement context.

Syntax​

AIL_INT64 M3dmeasInquireDraw(
AIL_ID DrawContext3dmeasId, //in
AIL_INT64 Operation, //in
AIL_INT64 InquireType, //in
void * UserVarPtr //out
)

Description​

This function inquires about a specified setting of a draw 3D measurement context. These settings establish which 3D measurement results to draw into the 3D graphics list when calling M3dmeasDraw3d and how to draw them.

You can control the draw 3D measurement context settings using M3dmeasControlDraw.

Parameters​

DrawContext3dmeasId (in, AIL_ID)​

Specifies the identifier of the draw 3D measurement context to inquire. The draw 3D measurement context must have been previously allocated on the required system using M3dmeasAlloc with M_DRAW_3D_PROFILE_CONTEXT, M_DRAW_3D_PATH_CONTEXT, or M_DRAW_3D_TEMPLATE_CONTEXT.

Operation (in, AIL_INT64)​

Specifies the draw operation about which to inquire.

InquireType (in, AIL_INT64)​

Specifies the type of setting about which to inquire.

UserVarPtr *(out, void)​

Specifies the address in which to write the requested information. Since the M3dmeasInquireDraw function also returns the requested information, you can set this parameter to M_NULL.

Parameter Associations​

For inquiring a draw profile, path, or template 3D measurement context​

The following Operation and InquireType parameter settings are available to inquire about draw profile, path, or template 3D measurement context settings.


M_DRAW_MARKERS​

Inquires whether and how to draw the cross-like symbol at each specified marker's position, and for pair markers, a rectangle connecting the two transitions with a cross-like symbol at each transition position, when calling M3dmeasDraw3d.

M_ACTIVE​

Inquires whether to draw the graphic(s).

ValueDescription
(see M_ACTIVE)

M_APPEARANCE​

Inquires whether to draw the graphic(s) as a solid surface, wireframe, or points.

ValueDescription
(see M_APPEARANCE)

M_COLOR​

Inquires the color with which to draw the graphic(s).

ValueDescription
(see M_COLOR)

M_OPACITY​

Inquires the opacity with which to draw the graphic(s).

ValueDescription
(see M_OPACITY)

M_THICKNESS​

Inquires the thickness with which to draw the graphic(s).

ValueDescription
(see M_THICKNESS)

M_DRAW_MARKERS_POSITION​

Inquires whether and how to draw the cross-like symbol at each specified marker's position when calling M3dmeasDraw3d.

M_ACTIVE​

Inquires whether to draw the graphic(s).

ValueDescription
(see M_ACTIVE)

M_APPEARANCE​

Inquires whether to draw the graphic(s) as a solid surface, wireframe, or points.

ValueDescription
(see M_APPEARANCE)

M_COLOR​

Inquires the color with which to draw the graphic(s).

ValueDescription
(see M_COLOR)

M_OPACITY​

Inquires the opacity with which to draw the graphic(s).

ValueDescription
(see M_OPACITY)

M_THICKNESS​

Inquires the thickness with which to draw the graphic(s).

ValueDescription
(see M_THICKNESS)

M_DRAW_MARKERS_WIDTH​

Inquires whether and how to draw the width of each specified pair marker when calling M3dmeasDraw3d. The width is drawn as a rectangle connecting the two transitions with a cross-like symbol at each transition position. This operation is only supported for pair markers.

M_ACTIVE​

Inquires whether to draw the graphic(s).

ValueDescription
(see M_ACTIVE)

M_APPEARANCE​

Inquires whether to draw the graphic(s) as a solid surface, wireframe, or points.

ValueDescription
(see M_APPEARANCE)

M_COLOR​

Inquires the color with which to draw the graphic(s).

ValueDescription
(see M_COLOR)

M_OPACITY​

Inquires the opacity with which to draw the graphic(s).

ValueDescription
(see M_OPACITY)

M_THICKNESS​

Inquires the thickness with which to draw the graphic(s).

ValueDescription
(see M_THICKNESS)

M_DRAW_PROFILE_EXTRACTED​

Inquires whether and how to draw the extracted points that form each specified profile when calling M3dmeasDraw3d.

M_ACTIVE​

Inquires whether to draw the graphic(s).

ValueDescription
(see M_ACTIVE)

M_APPEARANCE​

Inquires whether to draw the graphic(s) as a solid surface, wireframe, or points.

ValueDescription
(see M_APPEARANCE)

M_COLOR​

Inquires the color with which to draw the graphic(s).

ValueDescription
(see M_COLOR)

M_OPACITY​

Inquires the opacity with which to draw the graphic(s).

ValueDescription
(see M_OPACITY)

M_THICKNESS​

Inquires the thickness with which to draw the graphic(s).

ValueDescription
(see M_THICKNESS)

M_DRAW_PROFILE_REGION​

Inquires whether and how to draw the region where each specified profile was extracted when calling M3dmeasDraw3d.

M_ACTIVE​

Inquires whether to draw the graphic(s).

ValueDescription
(see M_ACTIVE)

M_APPEARANCE​

Inquires whether to draw the graphic(s) as a solid surface, wireframe, or points.

ValueDescription
(see M_APPEARANCE)

M_COLOR​

Inquires the color with which to draw the graphic(s).

ValueDescription
(see M_COLOR)

M_OPACITY​

Inquires the opacity with which to draw the graphic(s).

ValueDescription
(see M_OPACITY)

M_THICKNESS​

Inquires the thickness with which to draw the graphic(s).

ValueDescription
(see M_THICKNESS)

M_DRAW_PROFILE_RESPONSE​

Inquires whether and how to draw the response of each specified profile (after applying the filter) when calling M3dmeasDraw3d.

M_ACTIVE​

Inquires whether to draw the graphic(s).

ValueDescription
(see M_ACTIVE)

M_APPEARANCE​

Inquires whether to draw the graphic(s) as a solid surface, wireframe, or points.

ValueDescription
(see M_APPEARANCE)

M_COLOR​

Inquires the color with which to draw the graphic(s).

ValueDescription
(see M_COLOR)

M_OPACITY​

Inquires the opacity with which to draw the graphic(s).

ValueDescription
(see M_OPACITY)

M_THICKNESS​

Inquires the thickness with which to draw the graphic(s).

ValueDescription
(see M_THICKNESS)

M_DRAW_TRANSITIONS​

Inquires whether and how to draw the step-like symbol at each specified marker's transition position when calling M3dmeasDraw3d.

M_ACTIVE​

Inquires whether to draw the graphic(s).

ValueDescription
(see M_ACTIVE)

M_APPEARANCE​

Inquires whether to draw the graphic(s) as a solid surface, wireframe, or points.

ValueDescription
(see M_APPEARANCE)

M_COLOR​

Inquires the color with which to draw the graphic(s).

ValueDescription
(see M_COLOR)

M_OPACITY​

Inquires the opacity with which to draw the graphic(s).

ValueDescription
(see M_OPACITY)

M_THICKNESS​

Inquires the thickness with which to draw the graphic(s).

ValueDescription
(see M_THICKNESS)

M_GLOBAL_DRAW_SETTINGS​

Inquires a global draw 3D measurement context setting.

M_PSEUDO_COLOR_OFFSET​

Inquires the index of the volume element to draw.

ValueDescription
(see M_PSEUDO_COLOR_OFFSET)

For inquiring a draw path 3D measurement context​

The following Operation and InquireType parameter settings are available to inquire about draw path 3D measurement context settings.


M_DRAW_PATH​

Inquires whether and how to draw the path defined in the path 3D measurement context when calling M3dmeasDraw3d.

M_ACTIVE​

Inquires whether to draw the graphic(s).

ValueDescription
(see M_ACTIVE)

M_APPEARANCE​

Inquires whether to draw the graphic(s) as a solid surface, wireframe, or points.

ValueDescription
(see M_APPEARANCE)

M_COLOR​

Inquires the color with which to draw the graphic(s).

ValueDescription
(see M_COLOR)

M_OPACITY​

Inquires the opacity with which to draw the graphic(s).

ValueDescription
(see M_OPACITY)

M_THICKNESS​

Inquires the thickness with which to draw the graphic(s).

ValueDescription
(see M_THICKNESS)

M_DRAW_PATH_PROJECTED​

Inquires whether and how to draw the projection of the path defined in the path 3D measurement context when calling M3dmeasDraw3d.

M_ACTIVE​

Inquires whether to draw the graphic(s).

ValueDescription
(see M_ACTIVE)

M_APPEARANCE​

Inquires whether to draw the graphic(s) as a solid surface, wireframe, or points.

ValueDescription
(see M_APPEARANCE)

M_COLOR​

Inquires the color with which to draw the graphic(s).

ValueDescription
(see M_COLOR)

M_OPACITY​

Inquires the opacity with which to draw the graphic(s).

ValueDescription
(see M_OPACITY)

M_THICKNESS​

Inquires the thickness with which to draw the graphic(s).

ValueDescription
(see M_THICKNESS)

For inquiring a draw template 3D measurement context​

The following Operation and InquireType parameter settings are available to inquire about draw template 3D measurement context settings.


M_DRAW_FIND_GEOMETRY​

Inquires whether and how to draw the line segments connecting the extracted markers when calling M3dmeasDraw3d.

M_ACTIVE​

Inquires whether to draw the graphic(s).

ValueDescription
(see M_ACTIVE)

M_APPEARANCE​

Inquires whether to draw the graphic(s) as a solid surface, wireframe, or points.

ValueDescription
(see M_APPEARANCE)

M_COLOR​

Inquires the color with which to draw the graphic(s).

ValueDescription
(see M_COLOR)

M_OPACITY​

Inquires the opacity with which to draw the graphic(s).

ValueDescription
(see M_OPACITY)

M_THICKNESS​

Inquires the thickness with which to draw the graphic(s).

ValueDescription
(see M_THICKNESS)

M_DRAW_FIND_GEOMETRY_PROJECTED​

Inquires whether and how to draw the planes connecting the projections of the extracted markers when calling M3dmeasDraw3d.

M_ACTIVE​

Inquires whether to draw the graphic(s).

ValueDescription
(see M_ACTIVE)

M_APPEARANCE​

Inquires whether to draw the graphic(s) as a solid surface, wireframe, or points.

ValueDescription
(see M_APPEARANCE)

M_COLOR​

Inquires the color with which to draw the graphic(s).

ValueDescription
(see M_COLOR)

M_OPACITY​

Inquires the opacity with which to draw the graphic(s).

ValueDescription
(see M_OPACITY)

M_THICKNESS​

Inquires the thickness with which to draw the graphic(s).

ValueDescription
(see M_THICKNESS)

M_DRAW_FIT_GEOMETRY​

Inquires whether and how to draw the fitted 3D geometry when calling M3dmeasDraw3d.

M_ACTIVE​

Inquires whether to draw the graphic(s).

ValueDescription
(see M_ACTIVE)

M_APPEARANCE​

Inquires whether to draw the graphic(s) as a solid surface, wireframe, or points.

ValueDescription
(see M_APPEARANCE)

M_COLOR​

Inquires the color with which to draw the graphic(s).

ValueDescription
(see M_COLOR)

M_OPACITY​

Inquires the opacity with which to draw the graphic(s).

ValueDescription
(see M_OPACITY)

M_THICKNESS​

Inquires the thickness with which to draw the graphic(s).

ValueDescription
(see M_THICKNESS)

M_DRAW_FIT_GEOMETRY_PROJECTED​

Inquires whether and how to draw the projection of the fitted 3D geometry when calling M3dmeasDraw3d.

M_ACTIVE​

Inquires whether to draw the graphic(s).

ValueDescription
(see M_ACTIVE)

M_APPEARANCE​

Inquires whether to draw the graphic(s) as a solid surface, wireframe, or points.

ValueDescription
(see M_APPEARANCE)

M_COLOR​

Inquires the color with which to draw the graphic(s).

ValueDescription
(see M_COLOR)

M_OPACITY​

Inquires the opacity with which to draw the graphic(s).

ValueDescription
(see M_OPACITY)

M_THICKNESS​

Inquires the thickness with which to draw the graphic(s).

ValueDescription
(see M_THICKNESS)

M_DRAW_FIT_MARKERS​

Inquires whether and how to draw the cross-like symbol at the position of each marker that was used for the fit operation when calling M3dmeasDraw3d.

M_ACTIVE​

Inquires whether to draw the graphic(s).

ValueDescription
(see M_ACTIVE)

M_APPEARANCE​

Inquires whether to draw the graphic(s) as a solid surface, wireframe, or points.

ValueDescription
(see M_APPEARANCE)

M_COLOR​

Inquires the color with which to draw the graphic(s).

ValueDescription
(see M_COLOR)

M_OPACITY​

Inquires the opacity with which to draw the graphic(s).

ValueDescription
(see M_OPACITY)

M_THICKNESS​

Inquires the thickness with which to draw the graphic(s).

ValueDescription
(see M_THICKNESS)

M_DRAW_FIT_MARKERS_OUTLIERS​

Inquires whether and how to draw the cross-like symbol at the position of each marker that was considered an outlier for the fit operation when calling M3dmeasDraw3d.

M_ACTIVE​

Inquires whether to draw the graphic(s).

ValueDescription
(see M_ACTIVE)

M_APPEARANCE​

Inquires whether to draw the graphic(s) as a solid surface, wireframe, or points.

ValueDescription
(see M_APPEARANCE)

M_COLOR​

Inquires the color with which to draw the graphic(s).

ValueDescription
(see M_COLOR)

M_OPACITY​

Inquires the opacity with which to draw the graphic(s).

ValueDescription
(see M_OPACITY)

M_THICKNESS​

Inquires the thickness with which to draw the graphic(s).

ValueDescription
(see M_THICKNESS)

M_DRAW_TEMPLATE​

Inquires whether and how to draw the template defined in the template 3D measurement context when calling M3dmeasDraw3d.

M_ACTIVE​

Inquires whether to draw the graphic(s).

ValueDescription
(see M_ACTIVE)

M_APPEARANCE​

Inquires whether to draw the graphic(s) as a solid surface, wireframe, or points.

ValueDescription
(see M_APPEARANCE)

M_COLOR​

Inquires the color with which to draw the graphic(s).

ValueDescription
(see M_COLOR)

M_OPACITY​

Inquires the opacity with which to draw the graphic(s).

ValueDescription
(see M_OPACITY)

M_THICKNESS​

Inquires the thickness with which to draw the graphic(s).

ValueDescription
(see M_THICKNESS)

M_DRAW_TEMPLATE_PROJECTED​

Inquires whether and how to draw the projection of the template defined in the template 3D measurement context when calling M3dmeasDraw3d.

M_ACTIVE​

Inquires whether to draw the graphic(s).

ValueDescription
(see M_ACTIVE)

M_APPEARANCE​

Inquires whether to draw the graphic(s) as a solid surface, wireframe, or points.

ValueDescription
(see M_APPEARANCE)

M_COLOR​

Inquires the color with which to draw the graphic(s).

ValueDescription
(see M_COLOR)

M_OPACITY​

Inquires the opacity with which to draw the graphic(s).

ValueDescription
(see M_OPACITY)

M_THICKNESS​

Inquires the thickness with which to draw the graphic(s).

ValueDescription
(see M_THICKNESS)

Combination Constants — For inquiring about the default value​

Optional.

Usage: You can add one of the following values to the above-mentioned values to get information about the default value of an inquire type, regardless of the current value of the inquire type.

M_DEFAULT​

Inquires the default value of the specified inquire type.

M_IS_SET_TO_DEFAULT​

Inquires whether the specified inquire type is set to its default value.

ValueDescription
M_FALSESpecifies that the inquire type is not set to its default value.
M_TRUESpecifies that the inquire type is set to its default value.

Combination Constants — For inquiring whether an inquire type has a default value or whether it is supported​

Optional.

Usage: You can add one of the following values to the above-mentioned values to determine whether an inquire type has a default value or whether it is supported.

M_HAS_DEFAULT​

Inquires whether the specified inquire type has a default value.

ValueDescription
M_FALSESpecifies that the inquire type does not have a default value.
M_TRUESpecifies that the inquire type has a default value.

M_SUPPORTED​

Inquires whether the specified inquire type is supported.

ValueDescription
M_FALSESpecifies that the inquire type is not supported.
M_TRUESpecifies that the inquire type is supported.

Combination Constants — For specifying the data type​

Optional.

Usage: You can add one of the following values to the above-mentioned values to cast the requested information to the required data type.

M_TYPE_AIL_DOUBLE​

Casts the requested information to an AIL_DOUBLE.

M_TYPE_AIL_FLOAT​

Casts the requested information to an AIL_FLOAT.

M_TYPE_AIL_INT​

Casts the requested information to an AIL_INT.

M_TYPE_AIL_INT32​

Casts the requested information to an AIL_INT32.

M_TYPE_AIL_INT64​

Casts the requested information to an AIL_INT64.

Return Value​

Type: AIL_INT64

The returned value is the requested information, cast to an AIL_INT64. If the requested information does not fit into an AIL_INT64, this function will return M_NULLor truncate the information.

Copyright © 2026 Zebra Technologies.