|
| static PointD | ToImageSpace (PointD p, PointD stage, double physX, double physY) |
| |
|
| override void | Dispose (bool disposing) |
| | Clean up any resources being used.
|
| |
Definition at line 3 of file SlideImager.Designer.cs.
◆ SlideImager()
| BioImager.SlideImager.SlideImager |
( |
| ) |
|
Definition at line 254 of file SlideImager.cs.
255 {
256 InitializeComponent();
257 foreach (Objectives.Objective o in Microscope.Objectives.List)
258 {
259 objBox.Items.Add(o);
260 }
261 foreach (Enums.ForeignTiffCompression o in (Enums.ForeignTiffCompression[])Enum.GetValues(typeof(Enums.ForeignTiffCompression)))
262 {
263 compBox.Items.Add(o);
264 }
265 }
◆ Dispose()
| override void BioImager.SlideImager.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 SlideImager.Designer.cs.
15 {
16 if (disposing && (components != null))
17 {
18 components.Dispose();
19 }
20 base.Dispose(disposing);
21 }
◆ ToImageSpace()
| static PointD BioImager.SlideImager.ToImageSpace |
( |
PointD | p, |
|
|
PointD | stage, |
|
|
double | physX, |
|
|
double | physY ) |
|
static |
Convert a point in the stage coordinate system to a point in the image coordinate system
- Parameters
-
- Returns
- A PointF object.
Definition at line 25 of file SlideImager.cs.
26 {
27 PointD pp = new PointD();
28 pp.X = (float)((p.X - stage.X) / physX);
29 pp.Y = (float)((p.Y - stage.Y) / physY);
30 return pp;
31 }
The documentation for this class was generated from the following files: