Class ImageStackTrace
java.lang.Object
org.eclipse.draw2d.Figure
org.dawnsci.plotting.draw2d.swtxy.ImageTrace
org.dawnsci.plotting.draw2d.swtxy.ImageStackTrace
- All Implemented Interfaces:
EventListener,IAxesTrace,ICoordinateSystemTrace,IDownsampledTrace,IImageStackTrace,IImageTrace,IPaletteTrace,ITrace,ITraceContainer,org.eclipse.draw2d.IFigure,org.eclipse.january.dataset.IDataListener,org.eclipse.january.INameable,org.eclipse.nebula.visualization.xygraph.figures.IAxisListener
-
Nested Class Summary
Nested classes/interfaces inherited from class org.eclipse.draw2d.Figure
org.eclipse.draw2d.Figure.FigureIterator, org.eclipse.draw2d.Figure.IdentitySearchNested classes/interfaces inherited from interface org.eclipse.draw2d.IFigure
org.eclipse.draw2d.IFigure.NoInsetsNested classes/interfaces inherited from interface org.eclipse.dawnsci.plotting.api.trace.IImageTrace
IImageTrace.DownsampleType -
Field Summary
Fields inherited from class org.eclipse.draw2d.Figure
bgColor, border, bounds, fgColor, flags, font, MAX_FLAG, maxSize, minSize, NO_MANAGER, prefSize, toolTipFields inherited from interface org.eclipse.draw2d.IFigure
MAX_DIMENSION, MIN_DIMENSION, NO_INSETS -
Constructor Summary
ConstructorsConstructorDescriptionImageStackTrace(String name, org.eclipse.nebula.visualization.widgets.figureparts.ColorMapRamp intensityScale) -
Method Summary
Modifier and TypeMethodDescriptionvoidNotifies of stack position.intThe current location out of the stack which we are plotting.intThe size of the stack we are editing or -1 if something went wrong loading the stack.voidremove()voidRemoves notification of stack position.voidsetStack(org.eclipse.january.dataset.ILazyDataset stack) Set the ILazyDataset to use for the stack.voidsetStackIndex(int index) Set the location in the stack which we plot.Methods inherited from class org.dawnsci.plotting.draw2d.swtxy.ImageTrace
addDownsampleListener, addPaletteListener, axisAutoScaleChanged, axisForegroundColorChanged, axisLogScaleChanged, axisRangeChanged, axisRevalidated, axisTitleChanged, createScaledImage, dataChangePerformed, dispose, fireDownsampleListeners, getAlpha, getAxes, getAxesNames, getBin, getData, getDataName, getDownsampleBin, getDownsampled, getDownsampledMask, getDownsampleType, getGlobalRange, getHistoType, getImage, getImageOrigin, getImageServiceBean, getMask, getMax, getMaxCut, getMin, getMinCut, getName, getNanBound, getPaletteData, getPaletteName, getPlottingSystem, getPointInAxisCoordinates, getPointInImageCoordinates, getRank, getRegionInAxisCoordinates, getRGBData, getScaledImageData, getTrace, getUserObject, getXAxis, getYAxis, hasTrueAxes, initialize, is3DTrace, isActive, isMaximumZoom, isRescaleHistogram, isUserTrace, paintFigure, performAutoscale, rehistogram, remask, removeDownsampleListener, removePaletteListener, resetAxes, setAlpha, setAxes, setData, setDataName, setDownsampleType, setDynamicData, setGlobalRange, setHistoType, setImageOrigin, setImageTransposed, setImageUpdateActive, setMask, setMax, setMaxCut, setMin, setMinCut, setName, setNanBound, setPalette, setPaletteData, setPaletteName, setPlottingSystem, setRescaleHistogram, setTrace, setUserObject, setUserTrace, setXAxis, setYAxis, sleepMethods inherited from class org.eclipse.draw2d.Figure
add, add, add, add, addAncestorListener, addCoordinateListener, addFigureListener, addFocusListener, addKeyListener, addLayoutListener, addListener, addMouseListener, addMouseMotionListener, addNotify, addPropertyChangeListener, addPropertyChangeListener, containsPoint, containsPoint, erase, findDescendantAtExcluding, findFigureAt, findFigureAt, findFigureAt, findFigureAtExcluding, findMouseEventTargetAt, findMouseEventTargetInDescendantsAt, fireCoordinateSystemChanged, fireFigureMoved, fireMoved, firePropertyChange, firePropertyChange, firePropertyChange, getBackgroundColor, getBorder, getBounds, getChildren, getClientArea, getClientArea, getClippingStrategy, getCursor, getFlag, getFont, getForegroundColor, getInsets, getLayoutManager, getListeners, getLocalBackgroundColor, getLocalFont, getLocalForegroundColor, getLocation, getMaximumSize, getMinimumSize, getMinimumSize, getParent, getPreferredSize, getPreferredSize, getSize, getToolTip, getUpdateManager, handleFocusGained, handleFocusLost, handleKeyPressed, handleKeyReleased, handleMouseDoubleClicked, handleMouseDragged, handleMouseEntered, handleMouseExited, handleMouseHover, handleMouseMoved, handleMousePressed, handleMouseReleased, hasFocus, internalGetEventDispatcher, intersects, invalidate, invalidateTree, isCoordinateSystem, isEnabled, isFocusTraversable, isMirrored, isMouseEventTarget, isOpaque, isRequestFocusEnabled, isShowing, isValid, isValidationRoot, isVisible, layout, paint, paintBorder, paintChildren, paintClientArea, primTranslate, remove, removeAll, removeAncestorListener, removeCoordinateListener, removeFigureListener, removeFocusListener, removeKeyListener, removeLayoutListener, removeListener, removeMouseListener, removeMouseMotionListener, removeNotify, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, requestFocus, revalidate, setBackgroundColor, setBorder, setBounds, setChildrenDirection, setChildrenEnabled, setChildrenOrientation, setClippingStrategy, setConstraint, setCursor, setEnabled, setFlag, setFocusTraversable, setFont, setForegroundColor, setLayoutManager, setLocation, setMaximumSize, setMinimumSize, setOpaque, setParent, setPreferredSize, setPreferredSize, setRequestFocusEnabled, setSize, setSize, setToolTip, setValid, setVisible, translate, translateFromParent, translateToAbsolute, translateToParent, translateToRelative, useLocalCoordinates, validateMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.eclipse.dawnsci.plotting.api.trace.IAxesTrace
getAxes, getAxesNames, isActiveMethods inherited from interface org.eclipse.dawnsci.plotting.api.trace.ICoordinateSystemTrace
getAxes, getPointInAxisCoordinates, getPointInImageCoordinates, getRegionInAxisCoordinatesMethods inherited from interface org.eclipse.dawnsci.plotting.api.trace.IDownsampledTrace
addDownsampleListener, getBin, removeDownsampleListenerMethods inherited from interface org.eclipse.dawnsci.plotting.api.trace.IImageTrace
getAlpha, getDownsampleBin, getDownsampled, getDownsampledMask, getDownsampleType, getGlobalRange, getHistoType, getImage, getImageOrigin, getMask, getRGBData, hasTrueAxes, rehistogram, repaint, setAlpha, setAxes, setData, setDownsampleType, setDynamicData, setGlobalRange, setHistoType, setImageOrigin, setImageUpdateActive, setMask, sleepMethods inherited from interface org.eclipse.january.INameable
getName, setNameMethods inherited from interface org.eclipse.dawnsci.plotting.api.trace.IPaletteTrace
addPaletteListener, getImageServiceBean, getMax, getMaxCut, getMin, getMinCut, getNanBound, getPaletteData, getPaletteName, isRescaleHistogram, removePaletteListener, setMax, setMaxCut, setMin, setMinCut, setNanBound, setPalette, setPaletteData, setPaletteName, setRescaleHistogramMethods inherited from interface org.eclipse.dawnsci.plotting.api.trace.ITrace
dispose, getData, getDataName, getRank, getUserObject, initialize, is3DTrace, isUserTrace, isVisible, setDataName, setUserObject, setUserTrace, setVisible
-
Constructor Details
-
ImageStackTrace
public ImageStackTrace(String name, org.eclipse.nebula.visualization.widgets.figureparts.ColorMapRamp intensityScale)
-
-
Method Details
-
setStack
public void setStack(org.eclipse.january.dataset.ILazyDataset stack) Description copied from interface:IImageStackTraceSet the ILazyDataset to use for the stack. Normally 3D where the first index is the stack the other two are the- Specified by:
setStackin interfaceIImageStackTrace- Parameters:
stack-- See Also:
-
getStackSize
public int getStackSize()Description copied from interface:IImageStackTraceThe size of the stack we are editing or -1 if something went wrong loading the stack.- Specified by:
getStackSizein interfaceIImageStackTrace- Returns:
-
getStackIndex
public int getStackIndex()Description copied from interface:IImageStackTraceThe current location out of the stack which we are plotting.- Specified by:
getStackIndexin interfaceIImageStackTrace- Returns:
-
setStackIndex
public void setStackIndex(int index) Description copied from interface:IImageStackTraceSet the location in the stack which we plot. Updates the plot to the new index.- Specified by:
setStackIndexin interfaceIImageStackTrace- Parameters:
index-
-
addStackPositionListener
Description copied from interface:IImageStackTraceNotifies of stack position.- Specified by:
addStackPositionListenerin interfaceIImageStackTrace- Parameters:
l-
-
removeStackPositionListener
Description copied from interface:IImageStackTraceRemoves notification of stack position.- Specified by:
removeStackPositionListenerin interfaceIImageStackTrace- Parameters:
l-
-
remove
public void remove()- Overrides:
removein classImageTrace
-