Package de.pco.sdk
Class Roi
java.lang.Object
de.pco.sdk.Roi
public class Roi extends Object
Class that encloses variables returned by the PCO_GetRoi function
- Author:
- PCO
-
Constructor Summary
-
Method Summary
Modifier and Type Method Description booleanequals(Object obj)intgetX0()X coordinate of the upper left corner, starting from 1intgetX1()X coordinate of the lower right cornerintgetY0()Y coordinate of the upper left corner, starting from 1intgetY1()Y coordinate of the lower right cornerinthashCode()voidsetX0(int x0)voidsetX1(int x1)voidsetY0(int y0)voidsetY1(int y1)StringtoString()
-
Constructor Details
-
Roi
public Roi()Standard constructor. -
Roi
public Roi(int x0, int y0, int x1, int y1)Constructor with the initial parameters.- Parameters:
x0-y0-x1-y1-
-
-
Method Details
-
getX0
public int getX0()X coordinate of the upper left corner, starting from 1- Returns:
-
setX0
public void setX0(int x0) -
getY0
public int getY0()Y coordinate of the upper left corner, starting from 1- Returns:
-
setY0
public void setY0(int y0) -
getX1
public int getX1()X coordinate of the lower right corner- Returns:
-
setX1
public void setX1(int x1) -
getY1
public int getY1()Y coordinate of the lower right corner- Returns:
-
setY1
public void setY1(int y1) -
hashCode
public int hashCode() -
equals
-
toString
-