|
| override void | Dispose (bool disposing) |
| | Clean up any resources being used. More...
|
| |
Definition at line 13 of file ROIManager.cs.
◆ ROIManager()
| BioImager.ROIManager.ROIManager |
( |
| ) |
|
Definition at line 15 of file ROIManager.cs.
16 {
17 InitializeComponent();
18 foreach (ROI.Type item in Enum.GetValues(typeof(ROI.Type)))
19 {
20 typeBox.Items.Add(item);
21 }
22 }
◆ 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 24 of file ROIManager.cs.
25 {
26 if (ImageView.SelectedImage == null)
27 return;
28 roiView.Items.Clear();
29 foreach (ROI an in ImageView.SelectedImage.Annotations)
30 {
31 ListViewItem it = new ListViewItem();
32 it.Tag = an;
33 it.Text = an.ToString();
34 roiView.Items.Add(it);
35 }
36 }
◆ UpdateOverlay()
| void BioImager.ROIManager.UpdateOverlay |
( |
| ) |
|
Definition at line 37 of file ROIManager.cs.
38 {
39 if(App.viewer != null)
40 App.viewer.UpdateOverlay();
41 }
◆ UpdatePointBox()
| void BioImager.ROIManager.UpdatePointBox |
( |
| ) |
|
Definition at line 253 of file ROIManager.cs.
254 {
255 if (anno == null)
256 return;
257 PointD d = anno.
GetPoint((
int)pointIndexBox.Value);
258 pointXBox.Value = (int)d.X;
259 pointYBox.Value = (int)d.Y;
260 }
◆ updateROI()
| void BioImager.ROIManager.updateROI |
( |
int |
index, |
|
|
ROI |
an |
|
) |
| |
Definition at line 42 of file ROIManager.cs.
43 {
44 if (ImageView.SelectedImage == null)
45 return;
46 ImageView.SelectedImage.Annotations[index] = an;
47 UpdateOverlay();
48 }
◆ anno
| ROI BioImager.ROIManager.anno = new ROI() |
◆ autoUpdate
| bool BioImager.ROIManager.autoUpdate = true |
The documentation for this class was generated from the following files: