Obtain Point Cloud with Normals
This topic introduces how to obtain the point cloud with normals with the obtain_point_cloud_with_normals sample on Windows.
Please refer to Usage Guide for HALCON Samples to obtain the samples and check the prerequisites for using the samples. |
Obtain Point Cloud with Normals
Follow these steps to obtain the point cloud with normals:
-
Open the sample in HDevelop: Open HDevelop, and drag the sample into HDevelop.
-
Step over the program (click the button in the toolbar repeatedly), until the Variable Inspect: MechEyeCamers window pops up.
-
This window displays all the available cameras. Double-click the camera that you want to connect, and copy the name after unique_name: or user_name:.
user_name is the custom camera name. You can customize the camera name in Mech-Eye Viewer. -
Locate the following line, and replace MechEye with the copied unique_name or user_name.
DeviceInfo := 'MechEye'
-
Run the sample by clicking in the toolbar or pressing the F5 key.
-
When the obtained point cloud with normals is displayed in the Graphics Window, click the Continue button in this window to resume the execution of the program.
-
View the point cloud in the ObjectModel3D variable.