mirror of
https://github.com/eggplantlwj/VisionEdit.git
synced 2026-04-01 14:46:39 +08:00
1、优化LOG显示与引用
2、添加PMA工具,工具内容待完善 3、修复流程树显示 4、添加开源项目,优化UI空间 5、其他BUG更改
This commit is contained in:
@@ -65,6 +65,10 @@
|
||||
<Project>{F5669FB7-77EC-44B9-898B-6D575B7D26EA}</Project>
|
||||
<Name>HalconTool</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\PMAlignTool\PMAlignTool.csproj">
|
||||
<Project>{C1C08195-2EC8-42E9-93BB-D5331E6C6687}</Project>
|
||||
<Name>PMAlignTool</Name>
|
||||
</ProjectReference>
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
||||
|
||||
@@ -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