BioLib  4.3.0
A GUI-less version of Bio .NET library for editing & annotating various microscopy image formats.
Loading...
Searching...
No Matches
BioLib.Stage Class Reference

Public Member Functions

 Stage ()
 
void SetPosition (double px, double py)
 
void SetPositionX (double px)
 
void SetPositionY (double py)
 
double GetPositionX ()
 
double GetPositionY ()
 
PointD GetPosition ()
 
void MoveUp (double m)
 
void MoveDown (double m)
 
void MoveRight (double m)
 
void MoveLeft (double m)
 
void UpdateSWLimit ()
 
void SetSWLimit (double xmin, double xmax, double ymin, double ymax)
 

Public Attributes

int moveWait = 250
 

Static Public Attributes

static Type stageType
 
static Type axisType
 
static object xAxis
 
static object yAxis
 
static double minX
 
static double maxX
 
static double minY
 
static double maxY
 

Properties

double X [get]
 
double Y [get]
 

Constructor & Destructor Documentation

◆ Stage()

BioLib.Stage.Stage ( )
29 {
30 PointD d = GetPosition();
31 x = GetPositionX();
32 y = GetPositionY();
34 }
AForge.PointD PointD
Definition Bio.cs:60
double GetPositionY()
Definition Microscope.cs:77
double GetPositionX()
Definition Microscope.cs:72
void UpdateSWLimit()
Definition Microscope.cs:106
PointD GetPosition()
Definition Microscope.cs:82

Member Function Documentation

◆ GetPosition()

PointD BioLib.Stage.GetPosition ( )
83 {
84 return new PointD(x, y);
85 }

◆ GetPositionX()

double BioLib.Stage.GetPositionX ( )
73 {
74 x = GetPosition().X;
75 return x;
76 }

◆ GetPositionY()

double BioLib.Stage.GetPositionY ( )
78 {
79 y = GetPosition().Y;
80 return y;
81 }

◆ MoveDown()

void BioLib.Stage.MoveDown ( double m)
92 {
93 double y = GetPositionY() + m;
94 SetPositionY(y);
95 }
void SetPositionY(double py)
Definition Microscope.cs:67

◆ MoveLeft()

void BioLib.Stage.MoveLeft ( double m)
102 {
103 double x = GetPositionX() - m;
104 SetPositionX(x);
105 }
void SetPositionX(double px)
Definition Microscope.cs:62

◆ MoveRight()

void BioLib.Stage.MoveRight ( double m)
97 {
98 double x = GetPositionX() + m;
99 SetPositionX(x);
100 }

◆ MoveUp()

void BioLib.Stage.MoveUp ( double m)
87 {
88 double y = GetPositionY() - m;
89 SetPositionY(y);
90 }

◆ SetPosition()

void BioLib.Stage.SetPosition ( double px,
double py )
58 {
59 x = px;
60 y = py;
61 }

◆ SetPositionX()

void BioLib.Stage.SetPositionX ( double px)
63 {
64 x = px;
65 SetPosition(px, y);
66 }
void SetPosition(double px, double py)
Definition Microscope.cs:57

◆ SetPositionY()

void BioLib.Stage.SetPositionY ( double py)
68 {
69 y = py;
70 SetPosition(x, py);
71 }

◆ SetSWLimit()

void BioLib.Stage.SetSWLimit ( double xmin,
double xmax,
double ymin,
double ymax )
111 {
112 }

◆ UpdateSWLimit()

void BioLib.Stage.UpdateSWLimit ( )
107 {
108
109 }

Member Data Documentation

◆ axisType

Type BioLib.Stage.axisType
static

◆ maxX

double BioLib.Stage.maxX
static

◆ maxY

double BioLib.Stage.maxY
static

◆ minX

double BioLib.Stage.minX
static

◆ minY

double BioLib.Stage.minY
static

◆ moveWait

int BioLib.Stage.moveWait = 250

◆ stageType

Type BioLib.Stage.stageType
static

◆ xAxis

object BioLib.Stage.xAxis
static

◆ yAxis

object BioLib.Stage.yAxis
static

Property Documentation

◆ X

double BioLib.Stage.X
get
39 {
40 get
41 {
42 return x;
43 }
44 }

◆ Y

double BioLib.Stage.Y
get
46 {
47 get
48 {
49 return y;
50 }
51 }

The documentation for this class was generated from the following file: