Skip to main content

M3dmodPreprocess

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

Preprocess a 3D model finder context.

Syntax

void M3dmodPreprocess(
AIL_ID Context3dmodId, //in
AIL_INT64 ControlFlag //in
)

Description

This function preprocesses the specified 3D model finder context. It sets internal search settings so that future searches will be optimized for speed and robustness.

This function must be called before performing the first M3dmodFind search. Call this function after all search settings have been set. When you save the 3D model finder context, the model's preprocessing changes are not stored with the model. Upon restoration, the model must be preprocessed again.

Note that if some of the model's search settings are changed after a call to M3dmodPreprocess, the model must be preprocessed again.

Parameters

Context3dmodId (in, AIL_ID)

Specifies the identifier of the 3D model finder context to preprocess. The context must have been previously allocated using M3dmodAlloc with M_FIND_BOX_CONTEXT, M_FIND_CYLINDER_CONTEXT, M_FIND_RECTANGULAR_PLANE_CONTEXT, M_FIND_SPHERE_CONTEXT, M_FIND_PLANAR_SURFACE_CONTEXT, or M_FIND_SURFACE_CONTEXT.

ControlFlag (in, AIL_INT64)

Reserved for future expansion and must be set to M_DEFAULT.

Copyright © 2026 Zebra Technologies.