Package net.imglib2.img.array
Class ArrayLocalizingCursor<T extends NativeType<T>>
- java.lang.Object
-
- net.imglib2.AbstractEuclideanSpace
-
- net.imglib2.AbstractLocalizableInt
-
- net.imglib2.AbstractLocalizingCursorInt<T>
-
- net.imglib2.img.array.AbstractArrayLocalizingCursor<T>
-
- net.imglib2.img.array.ArrayLocalizingCursor<T>
-
- Type Parameters:
T
-
- All Implemented Interfaces:
java.util.Iterator<T>
,Cursor<T>
,EuclideanSpace
,Iterator
,Localizable
,RealCursor<T>
,RealLocalizable
,Sampler<T>
public final class ArrayLocalizingCursor<T extends NativeType<T>> extends AbstractArrayLocalizingCursor<T>
- Author:
- Stephan Preibisch, Stephan Saalfeld
-
-
Field Summary
-
Fields inherited from class net.imglib2.img.array.AbstractArrayLocalizingCursor
img, lastIndex, max, offset, size, type
-
Fields inherited from class net.imglib2.AbstractLocalizableInt
position
-
Fields inherited from class net.imglib2.AbstractEuclideanSpace
n
-
-
Constructor Summary
Constructors Modifier Constructor Description ArrayLocalizingCursor(ArrayImg<T,?> img)
TODO Javadocprotected
ArrayLocalizingCursor(ArrayLocalizingCursor<T> cursor)
TODO Javadoc
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ArrayLocalizingCursor<T>
copy()
ArrayLocalizingCursor<T>
copyCursor()
-
Methods inherited from class net.imglib2.img.array.AbstractArrayLocalizingCursor
fwd, get, hasNext, jumpFwd, reset
-
Methods inherited from class net.imglib2.AbstractLocalizingCursorInt
next, remove
-
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.EuclideanSpace
numDimensions
-
Methods inherited from interface net.imglib2.Localizable
getIntPosition, getLongPosition, localize, localize
-
Methods inherited from interface net.imglib2.RealLocalizable
getDoublePosition, getFloatPosition, localize, localize
-
-
-
-
Constructor Detail
-
ArrayLocalizingCursor
protected ArrayLocalizingCursor(ArrayLocalizingCursor<T> cursor)
TODO Javadoc- Parameters:
cursor
-
-
-
Method Detail
-
copy
public ArrayLocalizingCursor<T> copy()
- Specified by:
copy
in interfaceSampler<T extends NativeType<T>>
- Specified by:
copy
in classAbstractLocalizingCursorInt<T extends NativeType<T>>
- Returns:
- - A new
Sampler
in 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 anArrayCursor
for example)
-
copyCursor
public ArrayLocalizingCursor<T> copyCursor()
- Specified by:
copyCursor
in interfaceCursor<T extends NativeType<T>>
- Specified by:
copyCursor
in interfaceRealCursor<T extends NativeType<T>>
- Specified by:
copyCursor
in classAbstractLocalizingCursorInt<T extends NativeType<T>>
-
-