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:
java.util.Iterator<T>,Cursor<T>,EuclideanSpace,PlanarImg.PlanarContainerSampler,Iterator,Localizable,RealCursor<T>,RealLocalizable,Sampler<T>,Typed<T>
public class PlanarLocalizingCursor1D<T extends NativeType<T>> extends PlanarLocalizingCursor<T>
TODO
-
-
Field Summary
-
Fields inherited from class net.imglib2.img.planar.PlanarLocalizingCursor
container, index, lastIndex, lastSliceIndex, max, sliceIndex, type, typeIndex
-
Fields inherited from class net.imglib2.AbstractLocalizableInt
position
-
Fields inherited from class net.imglib2.AbstractEuclideanSpace
n
-
-
Constructor Summary
Constructors Modifier Constructor Description PlanarLocalizingCursor1D(PlanarImg<T,?> container)protectedPlanarLocalizingCursor1D(PlanarLocalizingCursor1D<T> cursor)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PlanarLocalizingCursor1D<T>copy()voidfwd()Move forward.booleanhasNext()Note: This test is fragile in a sense that it returns true for elements after the last element as well.-
Methods inherited from class net.imglib2.img.planar.PlanarLocalizingCursor
get, getCurrentSliceIndex, getType, jumpFwd, reset
-
Methods inherited from class net.imglib2.AbstractLocalizableInt
getDoublePosition, getFloatPosition, getIntPosition, getLongPosition, localize, localize, localize, localize
-
Methods inherited from class net.imglib2.AbstractEuclideanSpace
numDimensions
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface net.imglib2.Cursor
copyCursor
-
Methods inherited from interface net.imglib2.EuclideanSpace
numDimensions
-
Methods inherited from interface net.imglib2.Localizable
getDoublePosition, getFloatPosition, getIntPosition, getLongPosition, localize, localize, localize, localize, positionAsLongArray, positionAsPoint
-
Methods inherited from interface net.imglib2.RealCursor
next
-
Methods inherited from interface net.imglib2.RealLocalizable
localize, localize, positionAsDoubleArray, positionAsRealPoint
-
-
-
-
Constructor Detail
-
PlanarLocalizingCursor1D
protected PlanarLocalizingCursor1D(PlanarLocalizingCursor1D<T> cursor)
-
-
Method Detail
-
copy
public PlanarLocalizingCursor1D<T> 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 interfacejava.util.Iterator<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>>
-
-