55 lines
2.2 KiB
C#
55 lines
2.2 KiB
C#
using Aurora.Api.DataType;
|
|
using System.Collections.Generic;
|
|
|
|
namespace VisionCommon {
|
|
public interface ICameraDisplay {
|
|
FovInfo GetDisplayFovInfo();
|
|
|
|
object GetImageObject();
|
|
int SetImage(object image);
|
|
void ClearImage();
|
|
bool IsSetImage();
|
|
|
|
eDisplayType GetDisplayType();
|
|
|
|
void SetCurrentPatternInfo(PatternInfo patternInfo);
|
|
|
|
/// <summary>
|
|
/// 레퍼런스 위치에 십자가 그리기
|
|
/// </summary>
|
|
/// <param name="length">십자가 길이</param>
|
|
/// <param name="color">십자가 색상</param>
|
|
void DrawRefCross(int length = 10, eColor color = eColor.Yellow);
|
|
int AddCross(Cross cross, eColor color);
|
|
int AddLine(eColor color, ImagePoint p1, ImagePoint p2);
|
|
|
|
void AddRoi(ROI roi, eColor color, bool isRotatable = false);
|
|
int AddTrainRoi(ImagePoint imageCenter, bool isRotatable = false);
|
|
int AddTrainRoi(ROI trainRoi, bool isRotatable = false);
|
|
ROI GetTrainRoi();
|
|
int AddTrainOrigin(Cross imageCenter);
|
|
Cross GetTrainOrigin();
|
|
|
|
int AddDefaultFindRoi(ImageSize imageSize, bool isRotatable = false);
|
|
int AddFindRoi(ROI findRoi, bool isRotatable = false, eColor color = eColor.Cyan);
|
|
ROI GetFindRoi();
|
|
bool HasFindRoi();
|
|
|
|
int AddTextList(eColor color, ImagePoint p, List<string> msgs);
|
|
int AddTextList(object color, ImagePoint p, List<string> msgs);
|
|
int AddTextList(object color, ImagePoint p, List<string> msgs, int lineInterval);
|
|
int AddColorTextList(ImagePoint p, List<ColorText> colorTextList);
|
|
int AddColorTextList(ImagePoint p, List<ColorText> colorTextList, int lineInterval);
|
|
|
|
int SetPatternTracking(Cross cross);
|
|
int DrawPatternTrackings(List<Cross> crosses);
|
|
|
|
int ClearAllGraphics();
|
|
int ClearMeasureGraphics(eGraphicToClear graphicToClear = eGraphicToClear.ALL);
|
|
int ClearTrainGraphics(eGraphicToClear graphicToClear = eGraphicToClear.ALL);
|
|
int ClearFindGraphics(eGraphicToClear graphicToClear = eGraphicToClear.ALL);
|
|
int ClearPatternTrackingGraphics(eGraphicToClear graphicToClear = eGraphicToClear.ALL);
|
|
|
|
void SetVisibility();
|
|
}
|
|
} |