| Customize Help
| Save Settings

M3dregCopy



Function Map
Synopsis
Copy a preregistration transformation matrix from a 3D registration context into a transformation matrix object.
Syntax
void M3dregCopy(
MIL_ID SrcContext3dregId, //in
MIL_INT SrcIndex, //in
MIL_ID DstMatrix3dgeoId, //in
MIL_INT DstIndex, //in
MIL_INT64 CopyType, //in
MIL_INT64 ControlFlag //in
)
Description

This function copies the preregistration transformation matrix of a registration element in a 3D registration context, into a transformation matrix object. To copy a transformation matrix that M3dregCalculate() has calculated, use M3dregCopyResult() instead.

Once copied, you can use the transformation matrix with other functions like M3dimMatrix...() and M3dgeoMatrix...().

Note that this function reference has not been updated for a MIL system added during a MIL update. Refer to the MIL system's release note to see if there is complementary information.
Parameters
This function is not supported on the selected boards.
Parameters
SrcContext3dregId

Specifies the identifier of the 3D registration context. The context must have been previously allocated using M3dregAlloc() with M_PAIRWISE_REGISTRATION_CONTEXT.

SrcIndex

Specifies the index of the registration element in the context.

DstMatrix3dgeoId

Specifies the identifier of a transformation matrix. The transformation matrix must have been previously allocated using M3dgeoAlloc() with M_TRANSFORMATION_MATRIX.

DstIndex

Reserved for future expansion and must be set to M_DEFAULT.

CopyType

Specifies the type of copy operation to perform.

function map Specifies the type of copy operation
Click to summarizeValue Description
Click to summarize M_PREREGISTRATION_MATRIX

Copies the preregistration transformation matrix found in the registration element of the 3D registration context into a transformation matrix object. This transformation matrix specifies the rough location of a point cloud relative to its reference point cloud, and is initially set using M3dregSetLocation().

(summarize)
ControlFlag

Reserved for future expansion and must be set to M_DEFAULT.

Compilation information
Header Include mil.h.
Library Use mil.lib; mil3dreg.lib.
DLL Requires mil.dll; mil3dreg.dll.
NUMBER OF REGISTRATION ELEMENTS PREREGISTRATION MATRIX