BioGTK  6.0.0
A .NET library & program for annotating, editing various microscopy imaging formats using Bioformats supported images. Including whole slide, pyramidal, and series.
All Classes Namespaces Functions
BioGTK.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()

BioGTK.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 BioGTK.Stage.GetPosition ( )

Definition at line 90 of file Microscope.cs.

91 {
92 return new PointD(x, y);
93 }

◆ GetPositionX()

double BioGTK.Stage.GetPositionX ( )

Definition at line 80 of file Microscope.cs.

81 {
82 x = GetPosition().X;
83 return x;
84 }

◆ GetPositionY()

double BioGTK.Stage.GetPositionY ( )

Definition at line 85 of file Microscope.cs.

86 {
87 y = GetPosition().Y;
88 return y;
89 }

◆ MoveDown()

void BioGTK.Stage.MoveDown ( double m)

Definition at line 99 of file Microscope.cs.

100 {
101 double y = GetPositionY() + m;
102 SetPositionY(y);
103 }

◆ MoveLeft()

void BioGTK.Stage.MoveLeft ( double m)

Definition at line 109 of file Microscope.cs.

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)

Definition at line 104 of file Microscope.cs.

105 {
106 double x = GetPositionX() + m;
107 SetPositionX(x);
108 }

◆ MoveUp()

void BioGTK.Stage.MoveUp ( double m)

Definition at line 94 of file Microscope.cs.

95 {
96 double y = GetPositionY() - m;
97 SetPositionY(y);
98 }

◆ SetPosition()

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

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.

Definition at line 62 of file Microscope.cs.

63 {
64 x = px;
65 y = py;
66 }

◆ SetPositionX()

void BioGTK.Stage.SetPositionX ( double px)

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

Parameters
pxThe new x position of the object

Definition at line 70 of file Microscope.cs.

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)

Definition at line 75 of file Microscope.cs.

76 {
77 y = py;
78 SetPosition(x, py);
79 }

◆ SetSWLimit()

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

Definition at line 118 of file Microscope.cs.

119 {
120 }

◆ UpdateSWLimit()

void BioGTK.Stage.UpdateSWLimit ( )

Definition at line 114 of file Microscope.cs.

115 {
116
117 }

Member Data Documentation

◆ axisType

Type BioGTK.Stage.axisType
static

Definition at line 20 of file Microscope.cs.

◆ maxX

double BioGTK.Stage.maxX
static

Definition at line 24 of file Microscope.cs.

◆ maxY

double BioGTK.Stage.maxY
static

Definition at line 26 of file Microscope.cs.

◆ minX

double BioGTK.Stage.minX
static

Definition at line 23 of file Microscope.cs.

◆ minY

double BioGTK.Stage.minY
static

Definition at line 25 of file Microscope.cs.

◆ moveWait

int BioGTK.Stage.moveWait = 250

Definition at line 52 of file Microscope.cs.

◆ stageType

Type BioGTK.Stage.stageType
static

Definition at line 19 of file Microscope.cs.

◆ xAxis

object BioGTK.Stage.xAxis
static

Definition at line 21 of file Microscope.cs.

◆ yAxis

object BioGTK.Stage.yAxis
static

Definition at line 22 of file Microscope.cs.

Property Documentation

◆ X

double BioGTK.Stage.X
get

Definition at line 38 of file Microscope.cs.

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

◆ Y

double BioGTK.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: