public class IterationCodeListCursor extends AbstractLocalizable implements Cursor<Void>
Cursor<Void> that visits all positions in the bitmask encoded by a
given list of IterationCodes. (This is used to iterate a
LabelRegion which is the union of fragments which are encoded by
IterationCodes.)
It is constructed with a long[] offset which is not copied, so it can
be used to shift the bitmask and reuse this cursor.
positionn| Modifier | Constructor and Description |
|---|---|
|
IterationCodeListCursor(ArrayList<gnu.trove.list.array.TIntArrayList> itcodesList,
long[] offset) |
protected |
IterationCodeListCursor(IterationCodeListCursor c) |
| Modifier and Type | Method and Description |
|---|---|
IterationCodeListCursor |
copy() |
IterationCodeListCursor |
copyCursor() |
void |
fwd() |
Void |
get() |
boolean |
hasNext() |
void |
jumpFwd(long steps) |
Void |
next() |
void |
reset() |
getDoublePosition, getFloatPosition, getIntPosition, getLongPosition, localize, localize, localize, localizenumDimensionsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEachRemaining, removegetDoublePosition, getFloatPosition, getIntPosition, getLongPosition, localize, localize, localize, localize, positionAsLongArray, positionAsPointlocalize, localize, positionAsDoubleArray, positionAsRealPointnumDimensionspublic IterationCodeListCursor(ArrayList<gnu.trove.list.array.TIntArrayList> itcodesList, long[] offset)
protected IterationCodeListCursor(IterationCodeListCursor c)
public void jumpFwd(long steps)
public void fwd()
public void reset()
public Void next()
public IterationCodeListCursor copy()
public IterationCodeListCursor copyCursor()
copyCursor in interface Cursor<Void>copyCursor in interface RealCursor<Void>Copyright © 2009–2024 ImgLib2. All rights reserved.