- 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
-
Method Summary
void
Call to add a palette listener
Returns the last image service bean sent to the service for getting
the image.
The max intensity for generating the image
Gets the max cut, a RGB and a bound.
The min intensity for generating the image
Gets the min cut, a RGB and a bound.
org.eclipse.swt.graphics.PaletteData
PaletteData for creating the image/surface from the Dataset
PaletteName for creating the image/surface from the Dataset
boolean
Is the imagetrace set to rescale the histogram when a new image update occurs
void
Call to remove a palette listener
void
The max intensity for generating the image/surface trace
void
Sets the min cut, a RGB and a bound.
void
The min intensity for generating the image/surface trace
void
Sets the min cut, a RGB and a bound.
void
void
Setting palette name and looks up this palette in the IPaletteService and applies
the palette data for it to the trace as well.
void
Setting palette data causes the image to redraw with the new palette.
void
void
Set wheter an update to the image trace triggers a rehistogram
Methods inherited from interface org.eclipse.january.INameable
getName, setName
Methods inherited from interface org.eclipse.dawnsci.plotting.api.trace.ITrace
dispose, getData, getDataName, getRank, getUserObject, initialize, is3DTrace, isUserTrace, isVisible, setDataName, setUserObject, setUserTrace, setVisible
-
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
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
Returns the last image service bean sent to the service for getting
the image.
- Returns:
-
addPaletteListener
Call to add a palette listener
- Parameters:
pl -
-
removePaletteListener
Call to remove a palette listener
- Parameters:
pl -
-
getMin
The min intensity for generating the image
- Returns:
-
getMax
The max intensity for generating the image
- Returns:
-
getNanBound
Gets the Nan cut
- Returns:
-
getMinCut
Gets the min cut, a RGB and a bound.
- Returns:
-
getMaxCut
Gets the max cut, a RGB and a bound.
- Returns:
-
setNanBound
Sets the Nan cut
-
setMinCut
Sets the min cut, a RGB and a bound.
-
setMaxCut
Sets the min cut, a RGB and a bound.
-
setMin
The min intensity for generating the image/surface trace
-
setMax
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.