MIL_CONST_TEXT_PTR FileName, | //in |
MIL_ID SysId, | //in |
MIL_INT64 ControlFlag, | //in |
MIL_ID *ContextOrResult3dregIdPtr | //out |
This function restores a 3D registration context or 3D registration result buffer that was previously saved to a file, using M3dregSave() or M3dregStream(). This function restores all of the 3D registration context's or 3D registration result buffer's settings that were in effect when it was saved.
Specifies the name and path of the file from which to restore the 3D registration context or 3D registration result buffer. The function handles (internally) the opening and closing of the file.
![]() |
|||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Description | ||||||||||||||||||||||||||||||||||||||
![]() ![]() |
[This is
only applicable to Windows]
Opens the File Open dialog box from which you can interactively specify the drive, directory, and name of the file. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies the drive, directory, and name of the file (for example, "C:\mydirectory\myfile"). Typically, 3D registration context files have an M3DREG extension. To specify a file on a remote computer (under Distributed MIL), prefix the specified file name string with "remote:///" (for example, "remote:///C:\mydirectory\myfile"). (summarize)Specifies the drive, directory, and name of the file (for example, "C:\mydirectory\myfile"). (more details...) |
1 If you are passing the value in a variable, don't enclose it in MIL_TEXT().
Specifies the system on which to restore the 3D registration context or 3D registration result buffer.
This parameter should be set to one of the following values:
![]() |
|||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Description | ||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies the default Host system of the current MIL application. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies a valid system identifier, previously allocated using MsysAlloc(). |
Specifies the address of the variable in which to write the 3D registration context or 3D registration result buffer identifier. Since the M3dregRestore() function also returns the 3D registration registration context or 3D registration result buffer identifier, you can set this parameter to M_NULL. If allocation fails, M_NULL is written as the identifier.
Header | Include mil.h. |
Library | Use mil.lib; mil3dreg.lib. |
DLL | Requires mil.dll; mil3dreg.dll. |