mirror of
https://github.com/eggplantlwj/VisionEdit.git
synced 2026-03-31 22:26:39 +08:00
1、优化LOG显示与引用
2、添加PMA工具,工具内容待完善 3、修复流程树显示 4、添加开源项目,优化UI空间 5、其他BUG更改
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
using CommonMethods;
|
||||
using FindLineTool;
|
||||
using HalconTool;
|
||||
using PMAlignTool;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
@@ -104,4 +105,30 @@ namespace VisionJobFactory
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
[Serializable]
|
||||
[VisionToolAttribute(ToolType.PMAlignTool)]
|
||||
public class PMAlignToolToolInterface : IToolInfo
|
||||
{
|
||||
ToolIO inputImage = new ToolIO("InputImage", null, DataType.Image);
|
||||
ToolIO outPose = new ToolIO("GetPose", null, DataType.Pose);
|
||||
public PMAlignToolToolInterface(string toolName)
|
||||
{
|
||||
enable = true;
|
||||
toolType = ToolType.PMAlignTool;
|
||||
this.toolName = toolName;
|
||||
tool = new PMAlign();
|
||||
FormToolName = "PMAlignTool.FormPMAlignTool";
|
||||
FormTool = null;
|
||||
toolInput = new List<ToolIO>() { inputImage };
|
||||
toolOutput = new List<ToolIO>() { outPose };
|
||||
}
|
||||
/// <summary>
|
||||
/// 只获取选择工具的描述信息
|
||||
/// </summary>
|
||||
public PMAlignToolToolInterface()
|
||||
{
|
||||
toolDescription = "模板匹配工具,可得到根据图像捕获特征的姿态";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user