- hWindowControl.Invoke((EventHandler)delegate
- {
- try
- {
- hWindowControl.HalconWindow.ClearWindow();
- HTuple objectModel3D = new HTuple();
- HTuple Bounding_BOX = new HTuple();
- HOperatorSet.GenObjectModel3dFromPoints(D_GrayImage[D_3D[listBox2.SelectedIndex]].HTupleModel3D[0], D_GrayImage[D_3D[listBox2.SelectedIndex]].HTupleModel3D[1], D_GrayImage[D_3D[listBox2.SelectedIndex]].HTupleModel3D[2], out [color=#ff0000]objectModel3D[/color]);
- HOperatorSet.GetObjectModel3dParams(objectModel3D, "bounding_box1", out Bounding_BOX);
- HOperatorSet.SelectPointsObjectModel3d([color=#ff0000]objectModel3D[/color], "point_coord_z", Bounding_BOX[2], Bounding_BOX[5], out [color=#ff0000]objectModel3D[/color]);
- HOperatorSet.[backcolor=yellow]DispObjectModel3d[/backcolor](hWindowControl.HalconID, [color=#ff0000]objectModel3D[/color], [backcolor=lime]new HTuple()[/backcolor], [backcolor=lime]new HTuple()[/backcolor], new HTuple(), new HTuple());
- }
- catch (Exception ex)
- {
- }
- });
复制代码
问题:
①点云显示不全
②点云大小在窗口显示异常
③不能拖拽、移动、缩放、旋转等
求各位路过的大神指点指点
|