![]() |
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.
|
Classes | |
| class | Script |
| class | State |
Public Types | |
| enum | Event |
| enum | ScriptType |
Public Member Functions | |
| void | RefreshItems () |
| It reads all the files in the Scripts and Tools folders and adds them to a listview. More... | |
| void | RefreshStatus () |
| It updates the status of the script and the log. More... | |
| void | RunScriptFile (string file) |
| void | Run () |
| void | Stop () |
Static Public Member Functions | |
| static void | LogLine (string s) |
| static State | GetState () |
| static void | UpdateState (State s) |
| static void | RunScript (string file) |
| static void | RunScript (Script sc) |
| static void | RunString (string st) |
| static void | RunByName (string name) |
Public Attributes | |
| CodeView | view = null |
Static Public Attributes | |
| static string | log |
| static string | ImageJPath = Properties.Settings.Default.ImageJPath |
| static Dictionary< string, Script > | Scripts = new Dictionary<string, Script>() |
Protected Member Functions | |
| override void | Dispose (bool disposing) |
| Clean up any resources being used. More... | |
Definition at line 5 of file Scripting.cs.
| enum BioImager.Scripting.Event |
Definition at line 232 of file Scripting.cs.
| enum BioImager.Scripting.ScriptType |
Definition at line 239 of file Scripting.cs.
| BioImager.Scripting.Scripting | ( | ) |
Definition at line 351 of file Scripting.cs.
|
protected |
Clean up any resources being used.
| disposing | true if managed resources should be disposed; otherwise, false. |
Definition at line 14 of file Scripting.Designer.cs.
|
static |
It returns the state of the game.
Definition at line 249 of file Scripting.cs.
|
static |
Definition at line 11 of file Scripting.cs.
| void BioImager.Scripting.RefreshItems | ( | ) |
It reads all the files in the Scripts and Tools folders and adds them to a listview.
Definition at line 275 of file Scripting.cs.
References BioImager.Scripting.Script.ToString().
Referenced by BioImager.Scripting.RunScriptFile().
| void BioImager.Scripting.RefreshStatus | ( | ) |
It updates the status of the script and the log.
Definition at line 311 of file Scripting.cs.
References BioImager.Scripting.Script.ToString().
| void BioImager.Scripting.Run | ( | ) |
It runs the script that is selected in the listview
Definition at line 403 of file Scripting.cs.
References BioImager.Scripting.Script.Run().
|
static |
| name | The name of the script. |
Definition at line 438 of file Scripting.cs.
Referenced by BioImager.Scripting.RunScript(), and BioImager.Scripting.RunScriptFile().
|
static |
Definition at line 387 of file Scripting.cs.
|
static |
It creates a new script object, adds it to the dictionary, and then runs it
| file | The file path to the script. |
Definition at line 381 of file Scripting.cs.
References BioImager.Scripting.RunByName().
Referenced by BioImager.Imager.PerformFunction().
| void BioImager.Scripting.RunScriptFile | ( | string | file | ) |
It runs a script file
| file | The file path of the script to run. |
Definition at line 371 of file Scripting.cs.
References BioImager.Scripting.RefreshItems(), and BioImager.Scripting.RunByName().
|
static |
It runs a string as a Lua script
| st | The string to run. |
Definition at line 396 of file Scripting.cs.
References BioImager.Scripting.Script.RunString().
Referenced by BioImager.Function.PerformFunction().
| void BioImager.Scripting.Stop | ( | ) |
We stop the script
Definition at line 424 of file Scripting.cs.
References BioImager.Scripting.Script.Stop().
|
static |
If the state is null, return. If the state is not null, set the state to the new state. If the state is not null and the new state is the same as the old state, set the processed flag to true
| State | This is the state of the game. It contains the position of the player, the type of the player, and whether the state has been processed or not. |
Definition at line 261 of file Scripting.cs.
Referenced by BioImager.Tools.ToolDown(), and BioImager.Tools.ToolUp().
|
static |
Definition at line 9 of file Scripting.cs.
|
static |
Definition at line 7 of file Scripting.cs.
Definition at line 15 of file Scripting.cs.
| CodeView BioImager.Scripting.view = null |
Definition at line 8 of file Scripting.cs.