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

    Constructors
    Constructor Description
    Roi()
    Standard constructor.
    Roi​(int x0, int y0, int x1, int y1)
    Constructor with the initial parameters.
  • Method Summary

    Modifier and Type Method Description
    boolean equals​(Object obj)  
    int getX0()
    X coordinate of the upper left corner, starting from 1
    int getX1()
    X coordinate of the lower right corner
    int getY0()
    Y coordinate of the upper left corner, starting from 1
    int getY1()
    Y coordinate of the lower right corner
    int hashCode()  
    void setX0​(int x0)  
    void setX1​(int x1)  
    void setY0​(int y0)  
    void setY1​(int y1)  
    String toString()  

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • 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()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals​(Object obj)
      Overrides:
      equals in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object