mirror of
https://github.com/eggplantlwj/VisionEdit.git
synced 2026-03-26 18:26:35 +08:00
版本初始化,建立主窗体页面
This commit is contained in:
30
ImageWindow/Model/IViewWindow.cs
Normal file
30
ImageWindow/Model/IViewWindow.cs
Normal file
@@ -0,0 +1,30 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using HalconDotNet;
|
||||
|
||||
namespace ViewWindow.Model
|
||||
{
|
||||
interface IViewWindow
|
||||
{
|
||||
void displayImage(HObject img);
|
||||
void resetWindowImage();
|
||||
void zoomWindowImage();
|
||||
void moveWindowImage();
|
||||
void noneWindowImage();
|
||||
void genRect1(double row1, double col1, double row2, double col2, ref List<ROI> rois);
|
||||
void genRect2(double row, double col, double phi, double length1, double length2, ref List<ROI> rois);
|
||||
void genCircle(double row, double col, double radius, ref List<ROI> rois);
|
||||
void genCircularArc(double row, double col, double radius,double startPhi, double extentPhi,string direct, ref List<ROI> rois);
|
||||
void genLine(double beginRow, double beginCol, double endRow, double endCol, ref List<ROI> rois);
|
||||
List<double> smallestActiveROI(out string name,out int index);
|
||||
ROI smallestActiveROI(out List<double> data, out int index);
|
||||
void selectROI(int index);
|
||||
void selectROI(List<ROI> rois, int index);
|
||||
void displayROI(List<ROI> rois);
|
||||
void removeActiveROI(ref List<ROI> rois);
|
||||
void saveROI(List<ROI> rois, string fileNmae);
|
||||
void loadROI(string fileName, out List<ROI> rois);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user