public interface IterableInterval<T> extends IterableRealInterval<T>, Interval
IterableRealInterval whose elements are located at integer
coordinates.| Modifier and Type | Method and Description |
|---|---|
Cursor<T> |
cursor()
Returns a
RealCursor that iterates with optimal speed without
calculating the location at each iteration step. |
Cursor<T> |
localizingCursor()
Returns a
RealLocalizable Iterator that calculates its
location at each iteration step. |
firstElement, iterationOrder, sizeforEach, iterator, spliteratorrealMax, realMax, realMax, realMin, realMin, realMindimension, dimensionsnumDimensionsCursor<T> cursor()
IterableRealInterval
Returns a RealCursor that iterates with optimal speed without
calculating the location at each iteration step. Localization is
performed on demand.
Use this where localization is required rarely/ not for each iteration.
cursor in interface IterableRealInterval<T>Cursor<T> localizingCursor()
IterableRealInterval
Returns a RealLocalizable Iterator that calculates its
location at each iteration step. That is, localization is performed with
optimal speed.
Use this where localization is required often/ for each iteration.
localizingCursor in interface IterableRealInterval<T>Copyright © 2009–2017 ImgLib2. All rights reserved.