Package net.imglib2.img.planar
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>
TODO
-
Field Summary
Fields inherited from class net.imglib2.img.planar.PlanarLocalizingCursor
container, index, lastIndex, lastSliceIndex, max, sliceIndex, typeFields inherited from class net.imglib2.AbstractLocalizableInt
positionFields inherited from class net.imglib2.AbstractEuclideanSpace
n -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class net.imglib2.img.planar.PlanarLocalizingCursor
copyCursor, get, getCurrentSliceIndex, jumpFwd, resetMethods inherited from class net.imglib2.AbstractLocalizingCursorInt
next, removeMethods inherited from class net.imglib2.AbstractLocalizableInt
getDoublePosition, getFloatPosition, getIntPosition, getLongPosition, localize, localize, localize, localizeMethods inherited from class net.imglib2.AbstractEuclideanSpace
numDimensionsMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.imglib2.EuclideanSpace
numDimensionsMethods inherited from interface java.util.Iterator
forEachRemainingMethods inherited from interface net.imglib2.Localizable
getIntPosition, getLongPosition, localize, localizeMethods inherited from interface net.imglib2.RealLocalizable
getDoublePosition, getFloatPosition, localize, localize
-
Constructor Details
-
PlanarLocalizingCursor1D
-
PlanarLocalizingCursor1D
-
-
Method Details
-
copy
- 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>>
-