Table: | For specifying the system |
Table: | For specifying the type |
MIL_ID SysId, | //in |
MIL_INT64 ContextType, | //in |
MIL_INT64 ControlFlag, | //in |
MIL_ID *ContextOrGeometry3dmapIdPtr | //out |
This function allocates a 3D reconstruction context or 3D draw context on the specified system. When the context is no longer required, you should release its memory, using M3dmapFree().
Specifies the identifier of the system on which to allocate the 3D reconstruction context or 3D draw context.
![]() |
|||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Description | ||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies the default Host system of the current MIL application. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies a valid system identifier, previously allocated using MsysAlloc(). |
Specifies to allocate a 3D reconstruction context or 3D draw context. This parameter must be set to one of the following:
![]() |
|||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Description | ||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies a 3D draw context. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies a 3D reconstruction context that will be used to perform laser line (sheet of light) profiling. |
Specifies the 3D reconstruction mode of the context, which determines how data is represented. The data representation determines whether depth maps can be fully corrected and whether 3D point clouds can be returned.
If allocating a 3D draw context, this parameter must be set to M_DEFAULT.
If allocating a 3D reconstruction context, this parameter must be set to one of the following values:
![]() |
|||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Description | ||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies that the 3D reconstruction context will include camera calibration information and depth correction information. This allows for the storage of 3D point clouds and the generation of fully corrected depth maps (shape and depth corrected). Note that the camera calibration context must have been allocated using McalAlloc() with M_TSAI_BASED or M_3D_ROBOTICS. (summarize)Specifies that the 3D reconstruction context will include camera calibration information and depth correction information. (more details...) |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies that the 3D reconstruction context will include depth correction information, but will not include camera calibration information. This allows for only partially corrected depth maps (depth, but not shape corrected). (summarize)Specifies that the 3D reconstruction context will include depth correction information, but will not include camera calibration information. (more details...) |
You can add one or more of the following values to the above-mentioned value to set the label of the camera or laser.
This is necessary when creating a multiple camera-laser pair setup.
![]() |
|||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Description | ||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies the label for the camera used by this 3D reconstruction context. Note that multiple 3D reconstruction contexts can share the same camera, and in those cases, they must also share the same camera label. (summarize)Specifies the label for the camera used by this 3D reconstruction context. (more details...) |
||||||||||||||||||||||||||||||||||||||
Parameters | |||||||||||||||||||||||||||||||||||||||
Specifies the value of a camera label. |
|||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies the label for the laser used by this 3D reconstruction context. Note that multiple 3D reconstruction contexts can share the same laser, and in those cases, they must also share the same laser label. (summarize)Specifies the label for the laser used by this 3D reconstruction context. (more details...) |
||||||||||||||||||||||||||||||||||||||
Parameters | |||||||||||||||||||||||||||||||||||||||
Specifies the value of a laser label. |
Header | Include mil.h. |
Library | Use mil.lib; mil3dmap.lib. |
DLL | Requires mil.dll; mil3dmap.dll. |