Package net.imglib2.img.sparse
Class NtreeCursor<T extends NativeType<T>>
java.lang.Object
net.imglib2.AbstractEuclideanSpace
net.imglib2.AbstractInterval
net.imglib2.iterator.IntervalIterator
net.imglib2.iterator.LocalizingIntervalIterator
net.imglib2.img.sparse.NtreeCursor<T>
- All Implemented Interfaces:
Iterator<T>,Cursor<T>,Dimensions,EuclideanSpace,NtreeImg.PositionProvider,Interval,Iterator,Localizable,RealCursor<T>,RealInterval,RealLocalizable,Sampler<T>
public final class NtreeCursor<T extends NativeType<T>>
extends LocalizingIntervalIterator
implements Cursor<T>, NtreeImg.PositionProvider
- Author:
- Tobias Pietzsch
-
Field Summary
Fields inherited from class net.imglib2.iterator.LocalizingIntervalIterator
positionFields inherited from class net.imglib2.iterator.IntervalIterator
dimensions, index, lastIndex, stepsFields inherited from class net.imglib2.AbstractInterval
max, minFields inherited from class net.imglib2.AbstractEuclideanSpace
n -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class net.imglib2.iterator.LocalizingIntervalIterator
fwd, getDoublePosition, getFloatPosition, getIntPosition, getLongPosition, jumpFwd, localize, localize, localize, localize, resetMethods inherited from class net.imglib2.iterator.IntervalIterator
create, dimension, dimensions, getIndex, hasNext, toStringMethods inherited from class net.imglib2.AbstractInterval
max, max, max, min, min, min, realMax, realMax, realMax, realMin, realMin, realMinMethods inherited from class net.imglib2.AbstractEuclideanSpace
numDimensionsMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface net.imglib2.EuclideanSpace
numDimensionsMethods inherited from interface java.util.Iterator
forEachRemaining, hasNextMethods inherited from interface net.imglib2.Localizable
getIntPosition, getLongPosition, localize, localizeMethods inherited from interface net.imglib2.RealLocalizable
getDoublePosition, getFloatPosition, localize, localize
-
Constructor Details
-
NtreeCursor
-
-
Method Details
-
get
Description copied from interface:SamplerAccess the actual T instance providing access to a pixel, sub-pixel or integral region value theSamplerpoints at.- Specified by:
getin interfaceSampler<T extends NativeType<T>>
-
next
- Specified by:
nextin interfaceIterator<T extends NativeType<T>>
-
remove
public void remove()- Specified by:
removein interfaceIterator<T extends NativeType<T>>
-
copy
- Specified by:
copyin interfaceSampler<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)
-
copyCursor
- Specified by:
copyCursorin interfaceCursor<T extends NativeType<T>>- Specified by:
copyCursorin interfaceRealCursor<T extends NativeType<T>>
-
getPosition
public long[] getPosition()- Specified by:
getPositionin interfaceNtreeImg.PositionProvider
-