public class FastUpdateImageDisplay
extends net.imagej.display.DefaultImageDisplay
DefaultImageDisplay
Constructor and Description |
---|
FastUpdateImageDisplay() |
Modifier and Type | Method and Description |
---|---|
void |
addFast(net.imagej.Data data,
net.imagej.display.ImageDisplayService ids)
Add
Data to the display without rebuilding. |
void |
clearOverlaysFast()
Remove all
Overlay s from the display without
rebuilding. |
void |
rebuildNow()
Trigger a call to
rebuild() . |
averageScale, axes, axis, bck, canDisplay, dimension, dimensionIndex, dimensions, display, fwd, getActiveAxis, getActiveView, getCanvas, getDoublePosition, getFloatPosition, getIntPosition, getIntPosition, getLongPosition, getLongPosition, getPlaneExtents, isDisplaying, isVisible, localize, localize, localize, localize, max, max, max, min, min, min, move, move, move, move, move, numDimensions, onEvent, onEvent, onEvent, realMax, realMax, realMax, realMin, realMin, realMin, rebuild, setActiveAxis, setAxis, setPosition, setPosition, setPosition, setPosition, setPosition, setPosition, toString, update
add, add, addAll, addAll, checkObject, clear, close, contains, containsAll, get, getName, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, noteStructureChange, remove, remove, removeAll, retainAll, set, setName, size, subList, toArray, toArray
getInfo, getPriority, setInfo, setPriority
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
add, add, addAll, addAll, clear, contains, containsAll, equals, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray
parallelStream, removeIf, stream
maxAsDoubleArray, maxAsRealPoint, minAsDoubleArray, minAsRealPoint
localize, positionAsLongArray, positionAsPoint
localize, positionAsDoubleArray, positionAsRealPoint
public void addFast(net.imagej.Data data, net.imagej.display.ImageDisplayService ids)
Data
to the display without rebuilding.
The display must be rebuilt with a call to rebuildNow()
after Data
addition is complete. This method offers
a significant performance improvement over repeated calls
to Display.add()
.public void clearOverlaysFast()
Overlay
s from the display without
rebuilding. This is faster than calls through
the OverlayService
, but there can be a performance
penalty when the display is rebuilt after many Overlay
s
have been removed.public void rebuildNow()
rebuild()
.Copyright © 2023. All rights reserved.