Class PlanarLocalizingCursor1D<T extends NativeType<T>>
java.lang.Object
net.imglib2.AbstractEuclideanSpace
net.imglib2.AbstractLocalizableInt
net.imglib2.AbstractLocalizingCursorInt<T>
net.imglib2.img.planar.PlanarLocalizingCursor<T>
net.imglib2.img.planar.PlanarLocalizingCursor1D<T>
- All Implemented Interfaces:
Iterator<T>, Cursor<T>, EuclideanSpace, PlanarImg.PlanarContainerSampler, Iterator, Localizable, RealCursor<T>, RealLocalizable, Sampler<T>, Typed<T>
TODO
-
Field Summary
Fields inherited from class PlanarLocalizingCursor
container, index, lastIndex, lastSliceIndex, max, sliceIndex, type, typeIndexFields inherited from class AbstractLocalizableInt
positionFields inherited from class AbstractEuclideanSpace
n -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class PlanarLocalizingCursor
get, getCurrentSliceIndex, getType, jumpFwd, resetMethods inherited from class AbstractLocalizableInt
getDoublePosition, getFloatPosition, getIntPosition, getLongPosition, localize, localize, localize, localizeMethods inherited from class AbstractEuclideanSpace
numDimensionsMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Cursor
copyCursorMethods inherited from interface EuclideanSpace
numDimensionsMethods inherited from interface Iterator
forEachRemaining, removeMethods inherited from interface Localizable
getDoublePosition, getFloatPosition, getIntPosition, getLongPosition, localize, localize, localize, localize, positionAsLongArray, positionAsPointMethods inherited from interface RealCursor
nextMethods inherited from interface RealLocalizable
localize, localize, positionAsDoubleArray, positionAsRealPoint
-
Constructor Details
-
PlanarLocalizingCursor1D
-
PlanarLocalizingCursor1D
-
-
Method Details
-
copy
- Specified by:
copyin interfaceCursor<T extends NativeType<T>>- Specified by:
copyin interfaceRealCursor<T extends NativeType<T>>- Specified by:
copyin interfaceSampler<T extends NativeType<T>>- Overrides:
copyin classPlanarLocalizingCursor<T extends NativeType<T>>- Returns:
- - A new
Samplerin the same state accessing the same values. It does NOT copy T, just the state of theSampler. Otherwise use T.copy() if available. Sampler.copy().get() == Sampler.get(), i.e. both hold the same value, not necessarily the same instance (this is the case for anArrayCursorfor example)
-
hasNext
public boolean hasNext()Description copied from class:PlanarLocalizingCursorNote: This test is fragile in a sense that it returns true for elements after the last element as well.- Specified by:
hasNextin interfaceIterator<T extends NativeType<T>>- Specified by:
hasNextin interfaceIterator- Overrides:
hasNextin classPlanarLocalizingCursor<T extends NativeType<T>>- Returns:
- false for the last element
-
fwd
public void fwd()Description copied from interface:IteratorMove forward.- Specified by:
fwdin interfaceIterator- Overrides:
fwdin classPlanarLocalizingCursor<T extends NativeType<T>>
-