![]() |
BioImager
3.9.1
A .NET microscopy imaging library. Supports various microscopes by using imported libraries & GUI automation. Supported libraries include PriorĀ® & ZeissĀ® & all devices supported by Micromanager 2.0 and python-microscope.
|
Public Member Functions | |
| Stage (object st) | |
| void | SetPosition (double px, double py) |
| void | SetPositionX (double px) |
| void | SetPositionY (double py) |
| double | GetPositionX (bool update) |
| double | GetPositionY (bool update) |
| PointD | GetPosition (bool update) |
| void | MoveUp (double m) |
| void | MoveDown (double m) |
| void | MoveRight (double m) |
| void | MoveLeft (double m) |
| void | UpdateSWLimit () |
| It gets the software limits of the microscope stage. More... | |
| void | SetSWLimit (double xmin, double xmax, double ymin, double ymax) |
Public Attributes | |
| int | moveWait = 250 |
Static Public Attributes | |
| static double | minX |
| static double | maxX |
| static double | minY |
| static double | maxY |
Properties | |
| double | X [get] |
| double | Y [get] |
Definition at line 20 of file Microscope.cs.
| BioImager.Stage.Stage | ( | object | st | ) |
Definition at line 27 of file Microscope.cs.
| BioImager.Stage.Stage | ( | ) |
Definition at line 37 of file Microscope.cs.
| PointD BioImager.Stage.GetPosition | ( | bool | update | ) |
If the microscope is a Prior, get the position from the Prior SDK. If the microscope is a MTB, get the position from the MTB SDK. If the microscope is a Piezosystem, get the position from the Piezosystem SDK
| update | true if the position should be updated from the microscope, false if the position should be returned from the cache. |
Definition at line 144 of file Microscope.cs.
Referenced by BioImager.Stage.GetPositionX(), and BioImager.Stage.GetPositionY().
| double BioImager.Stage.GetPositionX | ( | bool | update | ) |
This function returns the X position of the mouse cursor
| update | If true, the position will be updated before returning the value. |
Definition at line 119 of file Microscope.cs.
References BioImager.Stage.GetPosition().
Referenced by BioImager.Stage.MoveLeft(), and BioImager.Stage.MoveRight().
| double BioImager.Stage.GetPositionY | ( | bool | update | ) |
GetPositionY() returns the Y coordinate of the current position of the mouse cursor
| update | If true, the position will be updated before returning the value. |
Definition at line 130 of file Microscope.cs.
References BioImager.Stage.GetPosition().
Referenced by BioImager.Stage.MoveDown(), and BioImager.Stage.MoveUp().
| void BioImager.Stage.MoveDown | ( | double | m | ) |
Move the stage down by the specified amount of microns
| m | The amount to move the object by. |
Definition at line 185 of file Microscope.cs.
References BioImager.Stage.GetPositionY(), and BioImager.Stage.SetPositionY().
| void BioImager.Stage.MoveLeft | ( | double | m | ) |
Move the stage left by the specified amount of microns
| m | The amount to move the object by. |
Definition at line 203 of file Microscope.cs.
References BioImager.Stage.GetPositionX(), and BioImager.Stage.SetPositionX().
| void BioImager.Stage.MoveRight | ( | double | m | ) |
Move the stage right by the specified amount of microns
| m | The amount to move the object by. |
Definition at line 194 of file Microscope.cs.
References BioImager.Stage.GetPositionX(), and BioImager.Stage.SetPositionX().
| void BioImager.Stage.MoveUp | ( | double | m | ) |
Move the stage up by the specified amount of microns
| m | The amount of pixels to move the object up by. |
Definition at line 176 of file Microscope.cs.
References BioImager.Stage.GetPositionY(), and BioImager.Stage.SetPositionY().
| void BioImager.Stage.SetPosition | ( | double | px, |
| double | py | ||
| ) |
The function sets the position of the stage to the given coordinates
| px | x position in microns |
| py | y-coordinate |
Definition at line 68 of file Microscope.cs.
References BioImager.ImageView.UpdateView().
Referenced by BioImager.Stage.SetPositionX(), and BioImager.Stage.SetPositionY().
| void BioImager.Stage.SetPositionX | ( | double | px | ) |
This function sets the position of the object to the given x and y coordinates
| px | The new x position of the object |
Definition at line 99 of file Microscope.cs.
References BioImager.Stage.SetPosition().
Referenced by BioImager.Stage.MoveLeft(), and BioImager.Stage.MoveRight().
| void BioImager.Stage.SetPositionY | ( | double | py | ) |
This function sets the position of the object to the given x and y coordinates
| py | The y position of the object |
Definition at line 108 of file Microscope.cs.
References BioImager.Stage.SetPosition().
Referenced by BioImager.Stage.MoveDown(), and BioImager.Stage.MoveUp().
| void BioImager.Stage.SetSWLimit | ( | double | xmin, |
| double | xmax, | ||
| double | ymin, | ||
| double | ymax | ||
| ) |
It sets the limits of the stage movement
| xmin | minimum x value |
| xmax | the maximum x value |
| ymin | -0.0025 |
| ymax | -0.0015 |
Definition at line 229 of file Microscope.cs.
| void BioImager.Stage.UpdateSWLimit | ( | ) |
It gets the software limits of the microscope stage.
Definition at line 210 of file Microscope.cs.
|
static |
Definition at line 23 of file Microscope.cs.
|
static |
Definition at line 25 of file Microscope.cs.
|
static |
Definition at line 22 of file Microscope.cs.
|
static |
Definition at line 24 of file Microscope.cs.
| int BioImager.Stage.moveWait = 250 |
Definition at line 58 of file Microscope.cs.
|
get |
Definition at line 44 of file Microscope.cs.
|
get |
Definition at line 51 of file Microscope.cs.