Class ImageLinePanelZoom

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible, ScrollPaneConstants

public class ImageLinePanelZoom extends ImageZoomPanel
Draws lines over an image. Used for displaying the output of line detection algorithms.
See Also:
  • Field Details

  • Constructor Details

    • ImageLinePanelZoom

      public ImageLinePanelZoom()
  • Method Details

    • setLines

      public void setLines(List<LineParametric2D_F32> lines, int width, int height)
    • setLineSegments

      public void setLineSegments(List<LineSegment2D_F32> lines)
    • findLine

      public int findLine(double x, double y, float tolerance)
    • setSelected

      public void setSelected(int selected)
    • getSelected

      public int getSelected()
    • paintInPanel

      protected void paintInPanel(AffineTransform tran, Graphics2D g2)
      Description copied from class: ImageZoomPanel
      Paint inside the image panel. Useful for overlays
      Overrides:
      paintInPanel in class ImageZoomPanel