T - public class PlanarCursor2D<T extends NativeType<T>> extends PlanarCursor<T>
PlanarContainerscontainer, index, lastIndex, lastSliceIndex, sliceIndex, type, typeIndexn| Constructor and Description |
|---|
PlanarCursor2D(PlanarImg<T,?> container) |
| Modifier and Type | Method and Description |
|---|---|
void |
fwd() |
int |
getIntPosition(int dim)
Return the current position in a given dimension.
|
boolean |
hasNext()
Note: This test is fragile in a sense that it returns true for elements
after the last element as well.
|
void |
localize(int[] position)
Write the current position into the passed array.
|
copy, copyCursor, get, getCurrentSliceIndex, jumpFwd, reset, toStringgetDoublePosition, getFloatPosition, getLongPosition, localize, localize, localize, next, removenumDimensionsclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitforEachRemaininglocalize, positionAsLongArray, positionAsPointlocalize, positionAsDoubleArray, positionAsRealPointnumDimensionspublic boolean hasNext()
PlanarCursorhasNext in interface Iterator<T extends NativeType<T>>hasNext in class PlanarCursor<T extends NativeType<T>>public void fwd()
fwd in class PlanarCursor<T extends NativeType<T>>public void localize(int[] position)
Localizablelocalize in interface Localizablelocalize in class PlanarCursor<T extends NativeType<T>>position - receives current positionpublic int getIntPosition(int dim)
LocalizablegetIntPosition in interface LocalizablegetIntPosition in class PlanarCursor<T extends NativeType<T>>dim - dimensionCopyright © 2015–2022 ImgLib2. All rights reserved.