|
| enum | Actions {
StageUp
, StageRight
, StageDown
, StageLeft
,
StageFieldUp
, StageFieldRight
, StageFieldDown
, StageFieldLeft
,
FocusUp
, FocusDown
, TL
, RL
,
Acquisition
, Locate
} |
| |
|
| static void | Initialize () |
| |
| static Point3D | GetPosition () |
| |
| static void | SetPosition (Point3D p) |
| |
| static void | SetPosition (PointD p) |
| |
| static void | OpenRL () |
| | If the shutter is closed, open it.
|
| |
| static void | OpenTL () |
| | If the shutter is closed, open it.
|
| |
| static void | CloseRL () |
| | If the shutter is open, then close it.
|
| |
| static void | CloseTL () |
| | If the shutter is open, then we close it.
|
| |
| static void | SetTL (uint tl) |
| |
| static void | SetRL (uint tr) |
| |
| static int | GetTL () |
| |
| static int | GetRL () |
| |
| static void | MoveUp (double d) |
| |
| static void | MoveRight (double d) |
| |
| static void | MoveDown (double d) |
| |
| static void | MoveLeft (double d) |
| |
| static void | MoveFieldUp () |
| | Move the field up by the height of the current objective.
|
| |
| static void | MoveFieldRight () |
| | Move the field right by the width of the view.
|
| |
| static void | MoveFieldDown () |
| | Move the field down by the height of the current objective.
|
| |
| static void | MoveFieldLeft () |
| | Move the field left by the width of the view.
|
| |
| static void | SetFocus (double d) |
| |
| static double | GetFocus () |
| |
Definition at line 302 of file Microscope.cs.
◆ Actions
| Enumerator |
|---|
| StageUp | |
| StageRight | |
| StageDown | |
| StageLeft | |
| StageFieldUp | |
| StageFieldRight | |
| StageFieldDown | |
| StageFieldLeft | |
| FocusUp | |
| FocusDown | |
| TL | |
| RL | |
| Acquisition | |
| Locate | |
Definition at line 304 of file Microscope.cs.
◆ CloseRL()
| static void BioCore.Microscope.CloseRL |
( |
| ) |
|
|
static |
If the shutter is open, then close it.
Definition at line 403 of file Microscope.cs.
404 {
405
408 }
static RLShutter RLShutter
◆ CloseTL()
| static void BioCore.Microscope.CloseTL |
( |
| ) |
|
|
static |
If the shutter is open, then we close it.
Definition at line 411 of file Microscope.cs.
412 {
413
416 }
static TLShutter TLShutter
◆ GetFocus()
| static double BioCore.Microscope.GetFocus |
( |
| ) |
|
|
static |
It returns the current focus of the camera
- Returns
- The focus of the camera.
Definition at line 516 of file Microscope.cs.
◆ GetPosition()
| static Point3D BioCore.Microscope.GetPosition |
( |
| ) |
|
|
static |
Get the current position of the stage and the current focus position, and return a Point3D object containing the X, Y, and Z coordinates
- Returns
- A Point3D object.
Definition at line 356 of file Microscope.cs.
357 {
359 return new Point3D(0, 0, 0);
362 return new Point3D(p.X, p.Y, f);
363 }
◆ GetRL()
| static int BioCore.Microscope.GetRL |
( |
| ) |
|
|
static |
◆ GetTL()
| static int BioCore.Microscope.GetTL |
( |
| ) |
|
|
static |
This function returns the position of the TL shutter
- Returns
- The position of the shutter.
Definition at line 437 of file Microscope.cs.
◆ Initialize()
| static void BioCore.Microscope.Initialize |
( |
| ) |
|
|
static |
It sets the limits of the stage and focus, and then creates new instances of the stage, focus, objectives, and shutters
- Returns
- The return value is the value of the last expression evaluated.
Definition at line 339 of file Microscope.cs.
340 {
342 return;
351 }
static Objectives Objectives
◆ MoveDown()
| static void BioCore.Microscope.MoveDown |
( |
double | d | ) |
|
|
static |
Move the stage down by the specified amount
- Parameters
-
| d | The distance to move the stage down. |
Definition at line 469 of file Microscope.cs.
◆ MoveFieldDown()
| static void BioCore.Microscope.MoveFieldDown |
( |
| ) |
|
|
static |
Move the field down by the height of the current objective.
Definition at line 494 of file Microscope.cs.
◆ MoveFieldLeft()
| static void BioCore.Microscope.MoveFieldLeft |
( |
| ) |
|
|
static |
Move the field left by the width of the view.
Definition at line 500 of file Microscope.cs.
◆ MoveFieldRight()
| static void BioCore.Microscope.MoveFieldRight |
( |
| ) |
|
|
static |
Move the field right by the width of the view.
Definition at line 488 of file Microscope.cs.
◆ MoveFieldUp()
| static void BioCore.Microscope.MoveFieldUp |
( |
| ) |
|
|
static |
Move the field up by the height of the current objective.
Definition at line 482 of file Microscope.cs.
◆ MoveLeft()
| static void BioCore.Microscope.MoveLeft |
( |
double | d | ) |
|
|
static |
Move the stage left by the specified distance
- Parameters
-
| d | The distance to move the stage in mm. |
Definition at line 477 of file Microscope.cs.
◆ MoveRight()
| static void BioCore.Microscope.MoveRight |
( |
double | d | ) |
|
|
static |
◆ MoveUp()
| static void BioCore.Microscope.MoveUp |
( |
double | d | ) |
|
|
static |
Move the stage up by a distance d
- Parameters
-
| d | The distance to move the stage up. |
Definition at line 453 of file Microscope.cs.
◆ OpenRL()
| static void BioCore.Microscope.OpenRL |
( |
| ) |
|
|
static |
If the shutter is closed, open it.
Definition at line 387 of file Microscope.cs.
◆ OpenTL()
| static void BioCore.Microscope.OpenTL |
( |
| ) |
|
|
static |
If the shutter is closed, open it.
Definition at line 395 of file Microscope.cs.
◆ SetFocus()
| static void BioCore.Microscope.SetFocus |
( |
double | d | ) |
|
|
static |
It sets the focus of the camera to the distance specified by the parameter
- Parameters
-
| d | The distance to focus on. |
Definition at line 508 of file Microscope.cs.
◆ SetPosition() [1/2]
| static void BioCore.Microscope.SetPosition |
( |
Point3D | p | ) |
|
|
static |
Set the position of the stage and focus to the values in the Point3D object
- Parameters
-
| Point3D | A class that contains 3D coordinates. |
Definition at line 368 of file Microscope.cs.
369 {
372 Microscope.redraw = true;
373 }
void SetPosition(double px, double py)
◆ SetPosition() [2/2]
| static void BioCore.Microscope.SetPosition |
( |
PointD | p | ) |
|
|
static |
The function SetPosition() is a public static function that takes a PointD object as an argument. The function then calls the SetPosition() function of the Stage class, passing the X and Y coordinates of the PointD object as arguments. The function then sets the redraw variable of the Microscope class to true
- Parameters
-
Definition at line 381 of file Microscope.cs.
382 {
384 Microscope.redraw = true;
385 }
◆ SetRL()
| static void BioCore.Microscope.SetRL |
( |
uint | tr | ) |
|
|
static |
This function sets the position of the RLShutter to the value of tr
- Parameters
-
| tr | the position of the shutter |
Definition at line 429 of file Microscope.cs.
◆ SetTL()
| static void BioCore.Microscope.SetTL |
( |
uint | tl | ) |
|
|
static |
Set the position of the shutter to the value of the variable tl
- Parameters
-
| tl | The position of the shutter. |
Definition at line 421 of file Microscope.cs.
◆ ArrowKeysEnabled
| bool BioCore.Microscope.ArrowKeysEnabled = true |
|
static |
◆ CmdSetMode
| object BioCore.Microscope.CmdSetMode = null |
|
static |
◆ defaultPos
| Point3D BioCore.Microscope.defaultPos = new Point3D(30000, 30000, 23900) |
|
static |
◆ dll
| Assembly BioCore.Microscope.dll = null |
|
static |
◆ fInterVal
| double BioCore.Microscope.fInterVal |
|
static |
◆ Focus
| Focus BioCore.Microscope.Focus = null |
|
static |
◆ initialized
| bool BioCore.Microscope.initialized = false |
|
static |
◆ LowerLimit
| double BioCore.Microscope.LowerLimit |
|
static |
◆ Objectives
◆ redraw
| bool BioCore.Microscope.redraw = false |
|
static |
◆ RLShutter
| RLShutter BioCore.Microscope.RLShutter = null |
|
static |
◆ root
| object BioCore.Microscope.root = null |
|
static |
◆ Stage
| Stage BioCore.Microscope.Stage = null |
|
static |
◆ TLShutter
| TLShutter BioCore.Microscope.TLShutter = null |
|
static |
◆ Types
| Dictionary<string, Type> BioCore.Microscope.Types = new Dictionary<string, Type>() |
|
static |
◆ UpperLimit
| double BioCore.Microscope.UpperLimit |
|
static |
The documentation for this class was generated from the following file: