Package net.imglib2
Interface IterableInterval<T>
-
- All Superinterfaces:
Dimensions
,EuclideanSpace
,Interval
,java.lang.Iterable<T>
,IterableRealInterval<T>
,RealInterval
- All Known Implementing Classes:
AbstractCellImg
,AbstractConvertedIterableInterval
,AbstractConvertedIterableRandomAccessibleInterval
,AbstractImg
,AbstractListImg
,AbstractLongListImg
,AbstractNativeImg
,ARGBScreenImage
,ArrayImg
,ArrayImgAWTScreenImage
,ByteAWTScreenImage
,CellImg
,ConvertedIterableInterval
,DiscreteFrequencyDistribution
,DoubleAWTScreenImage
,FloatAWTScreenImage
,Histogram1d
,HistogramNd
,ImgView
,IntAWTScreenImage
,IntervalView
,IterableRandomAccessibleInterval
,LazyCellImg
,LazyCellImg.LazyCells
,ListImg
,NtreeImg
,PlanarImg
,PointSampleList
,ShortAWTScreenImage
,UnsignedByteAWTScreenImage
,UnsignedIntAWTScreenImage
,UnsignedShortAWTScreenImage
,WriteConvertedIterableInterval
,WriteConvertedIterableRandomAccessibleInterval
public interface IterableInterval<T> extends IterableRealInterval<T>, Interval
AnIterableRealInterval
whose elements are located at integer coordinates.- Author:
- Tobias Pietzsch, Stephan Preibisch, Stephan Saalfeld
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Cursor<T>
cursor()
Returns aRealCursor
that iterates with optimal speed without calculating the location at each iteration step.Cursor<T>
localizingCursor()
Returns aRealLocalizable
Iterator
that calculates its location at each iteration step.-
Methods inherited from interface net.imglib2.Dimensions
dimension, dimensions
-
Methods inherited from interface net.imglib2.EuclideanSpace
numDimensions
-
Methods inherited from interface net.imglib2.IterableRealInterval
firstElement, iterationOrder, size
-
-
-
-
Method Detail
-
cursor
Cursor<T> cursor()
Description copied from interface: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.
- Specified by:
cursor
in interfaceIterableRealInterval<T>
- Returns:
- fast iterating iterator
-
localizingCursor
Cursor<T> localizingCursor()
Description copied from interface: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.
- Specified by:
localizingCursor
in interfaceIterableRealInterval<T>
- Returns:
- fast localizing iterator
-
-