2.3   Visualizing the Result

If your matching approach was successful you can check the result by visualizing it with the procedure visualize_object_model_3d (see figure 2.3). Therefore, display your model in the scene after translating and rotating it according to the result pose(s) that are returned by find_surface_model or find_surface_model_image in the parameter Pose. If used for the matching, you can also display the 3D edges in this visualization.

rigid_trans_object_model_3d (ObjectModel3D, Pose, ObjectModel3DRigidTrans)
visualize_object_model_3d (WindowHandle, [Scene, ObjectModel3DRigidTrans], [], [], [], \
                           [], [], [], [], VisPose)
    

Figure 2.3: Use the HDevelop procedure visualize_object_model_3d to inspect your results (green).