BioLib  3.7.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

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();
33 UpdateSWLimit();
34 }

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 }

◆ MoveLeft()

void BioLib.Stage.MoveLeft ( double m)
102 {
103 double x = GetPositionX() - m;
104 SetPositionX(x);
105 }

◆ 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 }

◆ 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 }

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: