Beispiel #1
0
		public override void Initialize()
        {
            base.Initialize();
			
			_coordinator = SynchronizationToolCoordinator.Get(base.ImageViewer);
        	_coordinator.SetSpatialLocatorTool(this);
        }
Beispiel #2
0
		public override void Initialize()
		{
			base.Initialize();

			_coordinator = SynchronizationToolCoordinator.Get(base.ImageViewer);
			_coordinator.SetReferenceLineTool(this);

			base.ImageViewer.EventBroker.ImageDrawing += OnImageDrawing;
		}
		public override void Initialize()
		{
			base.Initialize();

			base.ImageViewer.EventBroker.DisplaySetChanging += OnDisplaySetChanging;
			base.ImageViewer.EventBroker.DisplaySetChanged += OnDisplaySetChanged;
			base.ImageViewer.PhysicalWorkspace.LayoutCompleted += OnLayoutCompleted;
			SynchronizationToolSettingsHelper.Default.PropertyChanged += OnSynchronizationToolSettingsPropertyChanged;

			_coordinator = SynchronizationToolCoordinator.Get(base.ImageViewer);
			_coordinator.SetStackingSynchronizationTool(this);
		}
		protected override void Dispose(bool disposing)
		{
			base.ImageViewer.EventBroker.ImageDrawing -= OnImageDrawing;

			_coordinator.Release();
			_coordinator = null;
			_currentReferenceImagePlane = null;

			base.Dispose(disposing);
		}