BioLib  3.6.2
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]
 

Detailed Description

Definition at line 16 of file Microscope.cs.

Constructor & Destructor Documentation

◆ Stage()

BioLib.Stage.Stage ( )

Definition at line 28 of file Microscope.cs.

29 {
30 PointD d = GetPosition();
31 x = GetPositionX();
32 y = GetPositionY();
33 UpdateSWLimit();
34 }

Member Function Documentation

◆ GetPosition()

PointD BioLib.Stage.GetPosition ( )

Definition at line 82 of file Microscope.cs.

83 {
84 return new PointD(x, y);
85 }

◆ GetPositionX()

double BioLib.Stage.GetPositionX ( )

Definition at line 72 of file Microscope.cs.

73 {
74 x = GetPosition().X;
75 return x;
76 }

◆ GetPositionY()

double BioLib.Stage.GetPositionY ( )

Definition at line 77 of file Microscope.cs.

78 {
79 y = GetPosition().Y;
80 return y;
81 }

◆ MoveDown()

void BioLib.Stage.MoveDown ( double m)

Definition at line 91 of file Microscope.cs.

92 {
93 double y = GetPositionY() + m;
94 SetPositionY(y);
95 }

◆ MoveLeft()

void BioLib.Stage.MoveLeft ( double m)

Definition at line 101 of file Microscope.cs.

102 {
103 double x = GetPositionX() - m;
104 SetPositionX(x);
105 }

◆ MoveRight()

void BioLib.Stage.MoveRight ( double m)

Definition at line 96 of file Microscope.cs.

97 {
98 double x = GetPositionX() + m;
99 SetPositionX(x);
100 }

◆ MoveUp()

void BioLib.Stage.MoveUp ( double m)

Definition at line 86 of file Microscope.cs.

87 {
88 double y = GetPositionY() - m;
89 SetPositionY(y);
90 }

◆ SetPosition()

void BioLib.Stage.SetPosition ( double px,
double py )

Definition at line 57 of file Microscope.cs.

58 {
59 x = px;
60 y = py;
61 }

◆ SetPositionX()

void BioLib.Stage.SetPositionX ( double px)

Definition at line 62 of file Microscope.cs.

63 {
64 x = px;
65 SetPosition(px, y);
66 }

◆ SetPositionY()

void BioLib.Stage.SetPositionY ( double py)

Definition at line 67 of file Microscope.cs.

68 {
69 y = py;
70 SetPosition(x, py);
71 }

◆ SetSWLimit()

void BioLib.Stage.SetSWLimit ( double xmin,
double xmax,
double ymin,
double ymax )

Definition at line 110 of file Microscope.cs.

111 {
112 }

◆ UpdateSWLimit()

void BioLib.Stage.UpdateSWLimit ( )

Definition at line 106 of file Microscope.cs.

107 {
108
109 }

Member Data Documentation

◆ axisType

Type BioLib.Stage.axisType
static

Definition at line 20 of file Microscope.cs.

◆ maxX

double BioLib.Stage.maxX
static

Definition at line 24 of file Microscope.cs.

◆ maxY

double BioLib.Stage.maxY
static

Definition at line 26 of file Microscope.cs.

◆ minX

double BioLib.Stage.minX
static

Definition at line 23 of file Microscope.cs.

◆ minY

double BioLib.Stage.minY
static

Definition at line 25 of file Microscope.cs.

◆ moveWait

int BioLib.Stage.moveWait = 250

Definition at line 52 of file Microscope.cs.

◆ stageType

Type BioLib.Stage.stageType
static

Definition at line 19 of file Microscope.cs.

◆ xAxis

object BioLib.Stage.xAxis
static

Definition at line 21 of file Microscope.cs.

◆ yAxis

object BioLib.Stage.yAxis
static

Definition at line 22 of file Microscope.cs.

Property Documentation

◆ X

double BioLib.Stage.X
get

Definition at line 38 of file Microscope.cs.

39 {
40 get
41 {
42 return x;
43 }
44 }

◆ Y

double BioLib.Stage.Y
get

Definition at line 45 of file Microscope.cs.

46 {
47 get
48 {
49 return y;
50 }
51 }

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