get_sheet_of_light_result_object_model_3d — Get the result of a calibrated measurement performed with the sheet-of-light technique as a 3D object model.
The operator get_sheet_of_light_result_object_model_3d returns the result of a fully calibrated sheet-of-light measurement as a 3D object model. The handle of the sheet-of-light model with which the measurement is performed must be passed to SheetOfLightModelID. The calibration extent of the sheet-of-light model ('calibration') must have been set to 'xyz' or 'offset_scale' before applying the measurement, otherwise the computed coordinates cannot be returned as a 3D object model and an exception is raised.
The handle of the 3D object model resulting from the measurement is returned in ObjectModel3D. For the 3D points within this 3D object model no triangular meshing is available, therefore no faces are stored in the 3D object model. If a 3D object model with triangular meshing is required for the subsequent processing, use the operator get_sheet_of_light_result in order to retrieve the 'x', 'y', and 'z' coordinates from the sheet-of-light model and then call the operator xyz_to_object_model_3d with suitable parameters. Refer to xyz_to_object_model_3d for more information about 3D object models.
The unit of the returned coordinates depends on the value of the parameter 'scale' that was set for the sheet-of-light model before applying the measurement. See create_sheet_of_light_model and set_sheet_of_light_param for details on the possible values of the model parameter 'scale'. The operator get_sheet_of_light_result_object_model_3d returns a handle to an empty 3D object model if the desired result has not been measured yet.
Note that if a 3D object model is no longer needed or should be overwritten, the memory has to be freed first by calling the operator clear_object_model_3d.
Handle for accessing the sheet-of-light model.
Handle of the resulting 3D object model.
The operator get_sheet_of_light_result_object_model_3d returns the value 2 (H_MSG_TRUE) if the given parameters are correct. Otherwise, an exception will be raised.