예제 #1
0
 public ViewWindow(HWindowControl window)
 {
     this._hWndControl   = new Model.HWndCtrl(window);
     this._roiController = new Model.ROIController();
     this._hWndControl.setROIController(this._roiController);
     this._hWndControl.setViewState(Model.HWndCtrl.MODE_VIEW_NONE);
 }
예제 #2
0
 /// <summary>
 /// Registers an instance of an ROIController with this window
 /// controller (and vice versa).
 /// </summary>
 /// <param name="rC">
 /// Controller that manages interactive ROIs for the HALCON window
 /// </param>
 protected internal void setROIController(ROIController rC)
 {
     roiManager = rC;
     rC.setViewController(this);
     this.setViewState(HWndCtrl.MODE_VIEW_NONE);
 }