|
| override void | Dispose (bool disposing) |
| | Clean up any resources being used.
|
| |
Definition at line 3 of file ROIManager.Designer.cs.
◆ ROIManager()
| BioImager.ROIManager.ROIManager |
( |
| ) |
|
Definition at line 17 of file ROIManager.cs.
18 {
19 InitializeComponent();
20 foreach (ROI.Type item in Enum.GetValues(typeof(ROI.Type)))
21 {
22 typeBox.Items.Add(item);
23 }
24 }
◆ Dispose()
| override void BioImager.ROIManager.Dispose |
( |
bool | disposing | ) |
|
|
protected |
Clean up any resources being used.
- Parameters
-
| disposing | true if managed resources should be disposed; otherwise, false. |
Definition at line 14 of file ROIManager.Designer.cs.
15 {
16 if (disposing && (components != null))
17 {
18 components.Dispose();
19 }
20 base.Dispose(disposing);
21 }
◆ UpdateAnnotationList()
| void BioImager.ROIManager.UpdateAnnotationList |
( |
| ) |
|
Definition at line 26 of file ROIManager.cs.
27 {
28 if (ImageView.SelectedImage == null)
29 return;
30 roiView.Items.Clear();
31 foreach (ROI an in ImageView.SelectedImage.Annotations)
32 {
33 ListViewItem it = new ListViewItem();
34 it.Tag = an;
35 it.Text = an.ToString();
36 roiView.Items.Add(it);
37 }
38 }
◆ UpdateOverlay()
| void BioImager.ROIManager.UpdateOverlay |
( |
| ) |
|
Definition at line 39 of file ROIManager.cs.
40 {
41 if(App.viewer != null)
42 App.viewer.UpdateOverlay();
43 }
◆ UpdatePointBox()
| void BioImager.ROIManager.UpdatePointBox |
( |
| ) |
|
Definition at line 256 of file ROIManager.cs.
257 {
258 if (anno == null)
259 return;
260 PointD d = anno.GetPoint((int)pointIndexBox.Value);
261 pointXBox.Value = (int)d.X;
262 pointYBox.Value = (int)d.Y;
263 }
◆ updateROI()
| void BioImager.ROIManager.updateROI |
( |
int | index, |
|
|
ROI | an ) |
Definition at line 44 of file ROIManager.cs.
45 {
46 if (ImageView.SelectedImage == null)
47 return;
48 ImageView.SelectedImage.Annotations[index] = an;
49 UpdateOverlay();
50 }
◆ anno
| ROI BioImager.ROIManager.anno = new ROI() |
◆ autoUpdate
| bool BioImager.ROIManager.autoUpdate = true |
The documentation for this class was generated from the following files: