Class MultiViewer2D

java.lang.Object
sc.fiji.snt.viewer.MultiViewer2D

public class MultiViewer2D extends Object
Class for rendering montages of Trees as 2D plots that can be exported as SVG, PNG or PDF.
Author:
Tiago Ferreira
  • Constructor Details

  • Method Details

    • setLayoutColumns

      public void setLayoutColumns(int cols)
    • setGridlinesVisible

      public void setGridlinesVisible(boolean visible)
    • setAxesVisible

      public void setAxesVisible(boolean visible)
    • setOutlineVisible

      public void setOutlineVisible(boolean visible)
    • setXrange

      public void setXrange(double xMin, double xMax)
      Sets a manual range for the viewers' X-axis. Calling setXrange(-1, -1) enables auto-range (the default). Must be called before Viewer is fully assembled.
      Parameters:
      xMin - the lower-limit for the X-axis
      xMax - the upper-limit for the X-axis
    • setYrange

      public void setYrange(double yMin, double yMax)
      Sets a manual range for the viewers' Y-axis. Calling setYrange(-1, -1) enables auto-range (the default). Must be called before Viewer is fully assembled.
      Parameters:
      yMin - the lower-limit for the Y-axis
      yMax - the upper-limit for the Y-axis
    • setColorBarLegend

      public <T extends ColorMapper> void setColorBarLegend(T colorMapper)
    • setColorBarLegend

      public void setColorBarLegend(String lut, double min, double max)
    • setColorBarLegend

      public void setColorBarLegend(net.imglib2.display.ColorTable colorTable, double min, double max, int nDecimalPlaces)
    • save

      public void save(String filePath)
    • setLabel

      @Deprecated public void setLabel(String label)
      Deprecated.
    • setTitle

      public void setTitle(String title)
      Sets the title of this Viewer's frame.
      Parameters:
      title - the viewer's title.
    • show

      public JFrame show()
    • main

      public static void main(String... args)