MIL_ID SysId, | //in |
MIL_INT64 ContextType, | //in |
MIL_INT64 ControlFlag, | //in |
MIL_ID *Context3dregIdPtr | //out |
This function allocates a 3D registration context on the specified system. A 3D registration context contains information needed to perform a registration operation, using M3dregCalculate(). A 3D registration context contains global registration settings and registration elements; each registration element stores the registration information for a single point cloud. Specify how many registration elements are in the 3D registration context using M3dregControl() with M_NUMBER_OF_REGISTRATION_ELEMENTS. This registration information is set using M3dregControl() and M3dregSetLocation().
When the 3D registration context is no longer required, you should release its memory, using M3dregFree().
Specifies the identifier of the system on which to allocate the 3D registration context. Set this parameter to one of the values below:
For specifying the system identifier
|
|||||||||||||||||||||||||||||||||||||||
Value | Description | ||||||||||||||||||||||||||||||||||||||
M_DEFAULT_HOST |
Specifies the default Host system of the current MIL application. |
||||||||||||||||||||||||||||||||||||||
MIL system identifier |
Specifies a valid system identifier, previously allocated using MsysAlloc(). |
Specifies the type of 3D registration context to allocate. Set this parameter to the value below:
For specifying the type of 3D registration
context
|
|||||||||||||||||||||||||||||||||||||||
Value | Description | ||||||||||||||||||||||||||||||||||||||
M_PAIRWISE_REGISTRATION_CONTEXT |
Specifies a pairwise 3D registration context. |
Header | Include mil.h. |
Library | Use mil.lib; mil3dreg.lib. |
DLL | Requires mil.dll; mil3dreg.dll. |