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 rois); void genRect2(double row, double col, double phi, double length1, double length2, ref List rois); void genCircle(double row, double col, double radius, ref List rois); void genLine(double beginRow, double beginCol, double endRow, double endCol, ref List rois); List smallestActiveROI(out string name,out int index); ROI smallestActiveROI(out List data, out int index); void selectROI(int index); void selectROI(List rois, int index); void displayROI(List rois); void removeActiveROI(ref List rois); void saveROI(List rois, string fileNmae); void loadROI(string fileName, out List rois); } }