Skip to main content

M3dblobInquireDraw

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 analysis context.

Syntax

AIL_INT64 M3dblobInquireDraw(
AIL_ID DrawContext3dblobId, //in
AIL_INT64 Operation, //in
AIL_INT64 InquireType, //in
void * UserVarPtr //out
)

Description

This function inquires about a specified setting of a draw 3D blob analysis context. Draw blob settings establish which blob features to draw into the 3D graphics list when calling M3dblobDraw3d and how to draw them.

You can control the draw blob settings using M3dblobControlDraw.

Parameters

DrawContext3dblobId (in, AIL_ID)

Specifies the identifier of the draw 3D blob analysis context to inquire.

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 M3dblobInquireDraw function also returns the requested information, you can set this parameter to M_NULL.

Parameter Associations

For inquiring about a

The following Operation and InquireType parameter settings are available to inquire about settings.


M_DRAW_BLOBS

Inquires whether and how to draw the points inside each specified blob.

M_ACTIVE

Inquires whether to draw the graphic(s).

ValueDescription
(see M_ACTIVE)

M_COLOR

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

ValueDescription
(see M_COLOR)
Byte-encoded RGB valueSpecifies an encoded RGB value. To verify if the value is a byte-encoded RGB value, use theM_IS_RGB888 macro. To retrieve the R, G, and B bands, use the M_RGB888_R, M_RGB888_G, and M_RGB888_B macros.

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_BOX

Inquires whether and how to draw the bounding box of each specified blob. M_BOUNDING_BOX must have been calculated beforehand.

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)
Byte-encoded RGB valueSpecifies an encoded RGB value. To verify if the value is a byte-encoded RGB value, use theM_IS_RGB888 macro. To retrieve the R, G, and B bands, use the M_RGB888_R, M_RGB888_G, and M_RGB888_B macros.

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_EXCLUDED_POINTS

Inquires whether and how to draw the points that are not part of each specified blob (or not part of any blob).

M_ACTIVE

Inquires whether to draw the graphic(s).

ValueDescription
(see M_ACTIVE)

M_COLOR

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

ValueDescription
(see M_COLOR)
Byte-encoded RGB valueSpecifies an encoded RGB value. To verify if the value is a byte-encoded RGB value, use theM_IS_RGB888 macro. To retrieve the R, G, and B bands, use the M_RGB888_R, M_RGB888_G, and M_RGB888_B macros.

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_FERET_GENERAL

Inquires whether and how to draw the custom Feret of each specified blob. M_FERET_GENERAL and M_FERET_CONTACT_POINTS must have been calculated beforehand.

M_ACTIVE

Inquires whether to draw the graphic(s).

ValueDescription
(see M_ACTIVE)

M_COLOR

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

ValueDescription
(see M_COLOR)
Byte-encoded RGB valueSpecifies an encoded RGB value. To verify if the value is a byte-encoded RGB value, use theM_IS_RGB888 macro. To retrieve the R, G, and B bands, use the M_RGB888_R, M_RGB888_G, and M_RGB888_B macros.

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_FERET_MAX

Inquires whether and how to draw the maximum diameter Feret of each specified blob. M_FERET_MAX_DIAMETER and M_FERET_CONTACT_POINTS must have been calculated beforehand.

M_ACTIVE

Inquires whether to draw the graphic(s).

ValueDescription
(see M_ACTIVE)

M_COLOR

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

ValueDescription
(see M_COLOR)
Byte-encoded RGB valueSpecifies an encoded RGB value. To verify if the value is a byte-encoded RGB value, use theM_IS_RGB888 macro. To retrieve the R, G, and B bands, use the M_RGB888_R, M_RGB888_G, and M_RGB888_B macros.

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_FERET_MIN

Inquires whether and how to draw the minimum diameter Feret of each specified blob. M_FERET_MIN_DIAMETER and M_FERET_CONTACT_POINTS must have been calculated beforehand.

M_ACTIVE

Inquires whether to draw the graphic(s).

ValueDescription
(see M_ACTIVE)

M_COLOR

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

ValueDescription
(see M_COLOR)
Byte-encoded RGB valueSpecifies an encoded RGB value. To verify if the value is a byte-encoded RGB value, use theM_IS_RGB888 macro. To retrieve the R, G, and B bands, use the M_RGB888_R, M_RGB888_G, and M_RGB888_B macros.

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_INDEX

Inquires whether and how to draw the index at the centroid of each specified blob.

M_ACTIVE

Inquires whether to draw the graphic(s).

ValueDescription
(see M_ACTIVE)

M_COLOR

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

ValueDescription
(see M_COLOR)
Byte-encoded RGB valueSpecifies an encoded RGB value. To verify if the value is a byte-encoded RGB value, use theM_IS_RGB888 macro. To retrieve the R, G, and B bands, use the M_RGB888_R, M_RGB888_G, and M_RGB888_B macros.

M_FONT_SIZE

Inquires the size of the font with which to draw the graphic(s).

ValueDescription
(see M_FONT_SIZE)

M_OPACITY

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

ValueDescription
(see M_OPACITY)

M_RENDER_LAYER

Inquires the render layer on which to draw the graphic(s). The graphics on higher layers are always drawn completely in front of graphics on lower layers even if those on higher layers are farther away.

ValueDescription
(see M_RENDER_LAYER)

M_DRAW_LABEL

Inquires whether and how to draw the label(s) at the centroid of each specified blob.

M_ACTIVE

Inquires whether to draw the graphic(s).

ValueDescription
(see M_ACTIVE)

M_COLOR

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

ValueDescription
(see M_COLOR)
Byte-encoded RGB valueSpecifies an encoded RGB value. To verify if the value is a byte-encoded RGB value, use theM_IS_RGB888 macro. To retrieve the R, G, and B bands, use the M_RGB888_R, M_RGB888_G, and M_RGB888_B macros.

M_FONT_SIZE

Inquires the size of the font with which to draw the graphic(s).

ValueDescription
(see M_FONT_SIZE)

M_OPACITY

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

ValueDescription
(see M_OPACITY)

M_RENDER_LAYER

Inquires the render layer on which to draw the graphic(s). The graphics on higher layers are always drawn completely in front of graphics on lower layers even if those on higher layers are farther away.

ValueDescription
(see M_RENDER_LAYER)

M_DRAW_NEAREST_BLOB

Inquires whether and how to draw the shortest line from each specified blob to its nearest blob. M_NEAREST_BLOB must have been calculated beforehand. If M_NEAREST_BLOB was calculated but there was no nearest blob, nothing is drawn.

M_ACTIVE

Inquires whether to draw the graphic(s).

ValueDescription
(see M_ACTIVE)

M_COLOR

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

ValueDescription
(see M_COLOR)
Byte-encoded RGB valueSpecifies an encoded RGB value. To verify if the value is a byte-encoded RGB value, use theM_IS_RGB888 macro. To retrieve the R, G, and B bands, use the M_RGB888_R, M_RGB888_G, and M_RGB888_B macros.

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_PCA

Inquires whether and how to draw the principal component of each specified blob; this is drawn as perpendicular axes centered on each blob's centroid and oriented along the axis directions determined from a principal component analysis (PCA). M_PCA must have been calculated beforehand.

M_ACTIVE

Inquires whether to draw the graphic(s).

ValueDescription
(see M_ACTIVE)

M_THICKNESS

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

ValueDescription
(see M_THICKNESS)

M_DRAW_PCA_BOX

Inquires whether and how to draw the PCA-aligned bounding box of each specified blob. M_PCA_BOX must have been calculated beforehand.

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)
Byte-encoded RGB valueSpecifies an encoded RGB value. To verify if the value is a byte-encoded RGB value, use theM_IS_RGB888 macro. To retrieve the R, G, and B bands, use the M_RGB888_R, M_RGB888_G, and M_RGB888_B macros.

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_SEMI_ORIENTED_BOX

Specifies whether and how to draw the semi-oriented bounding box of each specified blob. M_SEMI_ORIENTED_BOX must have been calculated beforehand.

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)
Byte-encoded RGB valueSpecifies an encoded RGB value. To verify if the value is a byte-encoded RGB value, use theM_IS_RGB888 macro. To retrieve the R, G, and B bands, use the M_RGB888_R, M_RGB888_G, and M_RGB888_B macros.

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 blob analysis context setting.

M_PSEUDO_COLOR_OFFSET

Inquires the offset to apply to the blob's label when drawing with M_PSEUDO_COLOR.

ValueDescription
(see M_PSEUDO_COLOR_OFFSET)

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.