BioGTK  5.1.1
A .NET library & program for annotating, editing various microscopy imaging formats using Bioformats supported images.
Loading...
Searching...
No Matches
BioGTK.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()

BioGTK.Stage.Stage ( )
inline
29 {
30 PointD d = GetPosition();
31 x = GetPositionX();
32 y = GetPositionY();
34 }
double GetPositionY()
Definition Microscope.cs:85
void UpdateSWLimit()
Definition Microscope.cs:114
PointD GetPosition()
Definition Microscope.cs:90
double GetPositionX()
Definition Microscope.cs:80

Member Function Documentation

◆ GetPosition()

PointD BioGTK.Stage.GetPosition ( )
inline
91 {
92 return new PointD(x, y);
93 }

◆ GetPositionX()

double BioGTK.Stage.GetPositionX ( )
inline
81 {
82 x = GetPosition().X;
83 return x;
84 }

◆ GetPositionY()

double BioGTK.Stage.GetPositionY ( )
inline
86 {
87 y = GetPosition().Y;
88 return y;
89 }

◆ MoveDown()

void BioGTK.Stage.MoveDown ( double  m)
inline
100 {
101 double y = GetPositionY() + m;
102 SetPositionY(y);
103 }
void SetPositionY(double py)
Definition Microscope.cs:75

◆ MoveLeft()

void BioGTK.Stage.MoveLeft ( double  m)
inline
110 {
111 double x = GetPositionX() - m;
112 SetPositionX(x);
113 }
void SetPositionX(double px)
Definition Microscope.cs:70

◆ MoveRight()

void BioGTK.Stage.MoveRight ( double  m)
inline
105 {
106 double x = GetPositionX() + m;
107 SetPositionX(x);
108 }

◆ MoveUp()

void BioGTK.Stage.MoveUp ( double  m)
inline
95 {
96 double y = GetPositionY() - m;
97 SetPositionY(y);
98 }

◆ SetPosition()

void BioGTK.Stage.SetPosition ( double  px,
double  py 
)
inline

This function sets the position of the object to the given coordinates

Parameters
pxThe x position of the object
pyThe y-coordinate of the point.
63 {
64 x = px;
65 y = py;
66 }

◆ SetPositionX()

void BioGTK.Stage.SetPositionX ( double  px)
inline

This function sets the position of the object to the given x and y coordinates

Parameters
pxThe new x position of the object
71 {
72 x = px;
73 SetPosition(px, y);
74 }
void SetPosition(double px, double py)
Definition Microscope.cs:62

◆ SetPositionY()

void BioGTK.Stage.SetPositionY ( double  py)
inline
76 {
77 y = py;
78 SetPosition(x, py);
79 }

◆ SetSWLimit()

void BioGTK.Stage.SetSWLimit ( double  xmin,
double  xmax,
double  ymin,
double  ymax 
)
inline
119 {
120 }

◆ UpdateSWLimit()

void BioGTK.Stage.UpdateSWLimit ( )
inline
115 {
116
117 }

Member Data Documentation

◆ axisType

Type BioGTK.Stage.axisType
static

◆ maxX

double BioGTK.Stage.maxX
static

◆ maxY

double BioGTK.Stage.maxY
static

◆ minX

double BioGTK.Stage.minX
static

◆ minY

double BioGTK.Stage.minY
static

◆ moveWait

int BioGTK.Stage.moveWait = 250

◆ stageType

Type BioGTK.Stage.stageType
static

◆ xAxis

object BioGTK.Stage.xAxis
static

◆ yAxis

object BioGTK.Stage.yAxis
static

Property Documentation

◆ X

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

◆ Y

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

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