• 大小: 0.64M
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2020-12-26
  • 语言: C#
  • 标签: c  Halcon  a  

资源简介

Halcon绘制ROI

资源截图

代码片段和文件信息

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using HalconDotNet;

namespace DrawRoi
{
    public partial class Form1 : Form
    {
        public HWindow hWin;
        public Form1()
        {
            InitializeComponent();
        }

        private void Form1_Load(object sender EventArgs e)
        {
            hWin = hWindowControl1.HalconWindow;

            HOperatorSet.SetSystem(“width“ 450);
            HOperatorSet.SetSystem(“height“ 370);
            HOperatorSet.SetPart(hWin 0 0 370 450);
            HOperatorSet.SetDraw(hWin “margin“);
            HOperatorSet.SetLineWidth(hWin 3);
            
        }

        priv

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2017-11-24 10:35  DrawRoi\
     目录           0  2017-11-24 10:35  DrawRoi\DrawRoi\
     文件         911  2017-11-24 10:35  DrawRoi\DrawRoi.sln
     文件       27648  2017-11-24 11:07  DrawRoi\DrawRoi.v11.suo
     目录           0  2017-11-24 10:35  DrawRoi\DrawRoi\bin\
     目录           0  2017-11-24 10:44  DrawRoi\DrawRoi\bin\Debug\
     文件       10752  2017-11-24 11:07  DrawRoi\DrawRoi\bin\Debug\DrawRoi.exe
     文件       24064  2017-11-24 11:07  DrawRoi\DrawRoi\bin\Debug\DrawRoi.pdb
     文件       21472  2017-11-24 11:07  DrawRoi\DrawRoi\bin\Debug\DrawRoi.vshost.exe
     文件         490  2010-03-17 22:39  DrawRoi\DrawRoi\bin\Debug\DrawRoi.vshost.exe.manifest
     文件     1279544  2014-11-15 02:27  DrawRoi\DrawRoi\bin\Debug\halcondotnet.dll
     文件     4074746  2014-11-15 01:07  DrawRoi\DrawRoi\bin\Debug\halcondotnet.xml
     文件        3822  2017-11-24 10:44  DrawRoi\DrawRoi\DrawRoi.csproj
     文件        2197  2017-11-24 11:07  DrawRoi\DrawRoi\Form1.cs
     文件        5518  2017-11-24 11:07  DrawRoi\DrawRoi\Form1.Designer.cs
     文件        5817  2017-11-24 11:07  DrawRoi\DrawRoi\Form1.resx
     目录           0  2017-11-24 10:35  DrawRoi\DrawRoi\obj\
     目录           0  2017-11-24 11:07  DrawRoi\DrawRoi\obj\Debug\
     文件        9839  2017-11-24 10:36  DrawRoi\DrawRoi\obj\Debug\DesignTimeResolveAssemblyReferences.cache
     文件        6621  2017-11-24 10:43  DrawRoi\DrawRoi\obj\Debug\DesignTimeResolveAssemblyReferencesInput.cache
     文件         708  2017-11-24 11:07  DrawRoi\DrawRoi\obj\Debug\DrawRoi.csproj.FileListAbsolute.txt
     文件         847  2017-11-24 11:07  DrawRoi\DrawRoi\obj\Debug\DrawRoi.csproj.GenerateResource.Cache
     文件       10085  2017-11-24 10:43  DrawRoi\DrawRoi\obj\Debug\DrawRoi.csprojResolveAssemblyReference.cache
     文件       10752  2017-11-24 11:07  DrawRoi\DrawRoi\obj\Debug\DrawRoi.exe
     文件         180  2017-11-24 11:07  DrawRoi\DrawRoi\obj\Debug\DrawRoi.Form1.resources
     文件       24064  2017-11-24 11:07  DrawRoi\DrawRoi\obj\Debug\DrawRoi.pdb
     文件         180  2017-11-24 10:44  DrawRoi\DrawRoi\obj\Debug\DrawRoi.Properties.Resources.resources
     文件           0  2017-11-24 10:35  DrawRoi\DrawRoi\obj\Debug\TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs
     文件           0  2017-11-24 10:35  DrawRoi\DrawRoi\obj\Debug\TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs
     文件           0  2017-11-24 10:35  DrawRoi\DrawRoi\obj\Debug\TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs
     目录           0  2017-11-24 10:35  DrawRoi\DrawRoi\obj\Debug\TempPE\
............此处省略7个文件信息

评论

共有 条评论