Interface IPaletteTrace

All Superinterfaces:
IAxesTrace, org.eclipse.january.INameable, ITrace
All Known Subinterfaces:
IImage3DTrace, IImageStackTrace, IImageTrace, IIsosurfaceTrace, ILine3DTrace, IMulti2DTrace, IPlane3DTrace, ISurfaceTrace, IVolumeRenderTrace
All Known Implementing Classes:
Image3DTrace, ImageStackTrace, ImageTrace, Multi2DTrace, SurfaceTrace

public interface IPaletteTrace extends IAxesTrace
  • Method Details

    • getPaletteData

      org.eclipse.swt.graphics.PaletteData getPaletteData()
      PaletteData for creating the image/surface from the Dataset
      Returns:
    • setPaletteData

      void setPaletteData(org.eclipse.swt.graphics.PaletteData paletteData)
      Setting palette data causes the image to redraw with the new palette.
      Parameters:
      paletteData -
    • getPaletteName

      String getPaletteName()
      PaletteName for creating the image/surface from the Dataset
      Returns:
    • setPaletteName

      void setPaletteName(String paletteName)
      Setting palette name
      Parameters:
      paletteName -
    • setPalette

      void setPalette(String paletteName)
      Setting palette name and looks up this palette in the IPaletteService and applies the palette data for it to the trace as well.
      Parameters:
      paletteName -
    • getImageServiceBean

      ImageServiceBean getImageServiceBean()
      Returns the last image service bean sent to the service for getting the image.
      Returns:
    • addPaletteListener

      void addPaletteListener(IPaletteListener pl)
      Call to add a palette listener
      Parameters:
      pl -
    • removePaletteListener

      void removePaletteListener(IPaletteListener pl)
      Call to remove a palette listener
      Parameters:
      pl -
    • getMin

      Number getMin()
      The min intensity for generating the image
      Returns:
    • getMax

      Number getMax()
      The max intensity for generating the image
      Returns:
    • getNanBound

      HistogramBound getNanBound()
      Gets the Nan cut
      Returns:
    • getMinCut

      HistogramBound getMinCut()
      Gets the min cut, a RGB and a bound.
      Returns:
    • getMaxCut

      HistogramBound getMaxCut()
      Gets the max cut, a RGB and a bound.
      Returns:
    • setNanBound

      void setNanBound(HistogramBound bound)
      Sets the Nan cut
    • setMinCut

      void setMinCut(HistogramBound bound)
      Sets the min cut, a RGB and a bound.
    • setMaxCut

      void setMaxCut(HistogramBound bound)
      Sets the min cut, a RGB and a bound.
    • setMin

      void setMin(Number min)
      The min intensity for generating the image/surface trace
    • setMax

      void setMax(Number max)
      The max intensity for generating the image/surface trace
    • setRescaleHistogram

      void setRescaleHistogram(boolean rescaleHistogram)
      Set wheter an update to the image trace triggers a rehistogram
      Parameters:
      rescaleHistogram -
    • isRescaleHistogram

      boolean isRescaleHistogram()
      Is the imagetrace set to rescale the histogram when a new image update occurs
      Returns:
      the current state.