protected internal virtual void InitFieldAndProperty() { _ROIManager = new InteractiveROI.ROIManager(); _hWndCtrller = new InteractiveROI.HWndCtrller(this.hWndcDisplay); _hWndCtrller.ChangeGraphicSettings(ProVision.InteractiveROI.GraphicContext.GC_COLOR, new HalconDotNet.HTuple("yellow")); _hWndCtrller.ChangeGraphicSettings(ProVision.InteractiveROI.GraphicContext.GC_LINEWIDTH, new HalconDotNet.HTuple(2)); _hWndCtrller.RegisterROICtroller(_ROIManager); _hWndCtrller.RegisterHwndCtrlMouseEvents(); _matchModelAssistant = new ProVision.MatchModel.ShapeModelAssistant(); _img = new HalconDotNet.HObject(); _isAutoCalibrate = false; _isGrabbedImage = false; _isCalibrating = false; _isCalibratedOK = false; _positionStep = 0; _angleStep = 0; _isCirclePointUpdated = new bool[] { false, false, false }; }
public ImageProcess_LocateGlass() { _matchModelAssistant = new ProVision.MatchModel.ShapeModelAssistant(); _matchPara = new ProVision.Communal.ShapeModelParameter(); }