Interface IImageStackTrace

All Superinterfaces:
IAxesTrace, ICoordinateSystemTrace, IDownsampledTrace, IImageTrace, org.eclipse.january.INameable, IPaletteTrace, ITrace
All Known Implementing Classes:
ImageStackTrace

public interface IImageStackTrace extends IImageTrace
Class which extends IImageTrace and allows a stack of images to be plotted in 2D with a scale widget. The scale appears in the plot and can be moved by the user.
  • Method Details

    • setStack

      void setStack(org.eclipse.january.dataset.ILazyDataset stack)
      Set the ILazyDataset to use for the stack. Normally 3D where the first index is the stack the other two are the
      Parameters:
      stack -
      See Also:
      • invalid reference
        ImageStackLoader
    • getStackSize

      int getStackSize()
      The size of the stack we are editing or -1 if something went wrong loading the stack.
      Returns:
    • getStackIndex

      int getStackIndex()
      The current location out of the stack which we are plotting.
      Returns:
    • setStackIndex

      void setStackIndex(int index)
      Set the location in the stack which we plot. Updates the plot to the new index.
      Parameters:
      index -
    • addStackPositionListener

      void addStackPositionListener(IStackPositionListener l)
      Notifies of stack position.
      Parameters:
      l -
    • removeStackPositionListener

      void removeStackPositionListener(IStackPositionListener l)
      Removes notification of stack position.
      Parameters:
      l -