|
| static PointD | ToImageSpace (PointD p, PointD stage, double physX, double physY) |
| |
|
| override void | Dispose (bool disposing) |
| | Clean up any resources being used. More...
|
| |
Definition at line 19 of file SlideImager.cs.
◆ SlideImager()
| BioImager.SlideImager.SlideImager |
( |
| ) |
|
Definition at line 256 of file SlideImager.cs.
257 {
258 InitializeComponent();
259 foreach (Objectives.Objective o in Microscope.Objectives.List)
260 {
261 objBox.Items.Add(o);
262 }
263 foreach (Enums.ForeignTiffCompression o in (Enums.ForeignTiffCompression[])Enum.GetValues(typeof(Enums.ForeignTiffCompression)))
264 {
265 compBox.Items.Add(o);
266 }
267 }
◆ 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 27 of file SlideImager.cs.
28 {
29 PointD pp = new PointD();
30 pp.X = (float)((p.X - stage.X) / physX);
31 pp.Y = (float)((p.Y - stage.Y) / physY);
32 return pp;
33 }
The documentation for this class was generated from the following files: