Skip to main content

M3dregSave

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

Save a 3D registration context or 3D registration result buffer to a file.

Syntax

void M3dregSave(
AIL_CONST_TEXT_PTR FileName, //in
AIL_ID ContextOrResult3dregId, //in
AIL_INT64 ControlFlag //in
)

Description

This function saves all the information about a previously allocated 3D registration context or 3D registration result buffer to disk.

To load a saved context or result, use either M3dregRestore or M3dregStream.

Parameters

FileName (in, AIL_CONST_TEXT_PTR)

Specifies the name and path of the file in which to save the 3D registration context or 3D registration result buffer. It is recommended that you use the M3DREG file extension for easier use with other Aurora Imaging software products. The function handles (internally) the opening and closing of this file. If this file already exists, it will be overwritten.

For specifying the file name and path

ValueDescription
M_INTERACTIVEOpens the File Save As dialog box from which you can interactively specify the drive, directory, and name of the file.
"FileName"Specifies the drive, directory, and name of the file (for example, "C:\mydirectory\myfile"). The recommended extension is M3DREG.

To specify a file on a remote computer (under Distributed Aurora Imaging Library), prefix the specified file name string with "remote:///" (for example, "remote:///C:\mydirectory\myfile"). |

ContextOrResult3dregId (in, AIL_ID)

Specifies the identifier of the 3D registration context or 3D registration result buffer to save. These must have been successfully allocated (using M3dregAlloc or M3dregAllocResult) prior to calling this function.

ControlFlag (in, AIL_INT64)

Reserved for future expansion and must be set to M_DEFAULT.

Copyright © 2026 Zebra Technologies.