mirror of
https://github.com/eggplantlwj/VisionEdit.git
synced 2026-04-05 01:36:34 +08:00
1、更改所有位置显示窗体为自定义窗体,添加坐标及灰度显示
2、添加工具移除功能 3、PMA工具添加修改模板和定义搜索区域
This commit is contained in:
@@ -10,6 +10,7 @@ using System.Windows.Forms;
|
||||
using CommonMethods;
|
||||
using ChoiceTech.Halcon.Control;
|
||||
using HalconDotNet;
|
||||
using ViewROI;
|
||||
|
||||
namespace CaliperTool
|
||||
{
|
||||
@@ -18,7 +19,7 @@ namespace CaliperTool
|
||||
|
||||
public Caliper myCaliper = null;
|
||||
public IToolInfo myToolInfo = null;
|
||||
public HSmartWindowControl myHwindow = new HSmartWindowControl();
|
||||
public HWindowTool_Smart myHwindow = new HWindowTool_Smart();
|
||||
|
||||
private static FormCaliper _instance;
|
||||
public FormCaliper(ref object caliper)
|
||||
@@ -90,7 +91,7 @@ namespace CaliperTool
|
||||
private void btn_moveCliperRegion_Click(object sender, EventArgs e)
|
||||
{
|
||||
myCaliper.UpdateImage();
|
||||
myCaliper.DrawExpectLine(myHwindow.HalconWindow);
|
||||
myCaliper.DrawExpectLine(myHwindow.DispHWindow);
|
||||
}
|
||||
|
||||
private void btn_runCaliperool_Click(object sender, EventArgs e)
|
||||
|
||||
Reference in New Issue
Block a user