public final class NtreeCursor<T extends NativeType<T>> extends LocalizingIntervalIterator implements Cursor<T>, NtreeImg.PositionProvider
position
dimensions, index, lastIndex, steps
max, min
n
Constructor and Description |
---|
NtreeCursor(NtreeImg<T,?> img) |
Modifier and Type | Method and Description |
---|---|
NtreeCursor<T> |
copy() |
NtreeCursor<T> |
copyCursor() |
T |
get()
Access the actual T instance providing access to a pixel,
sub-pixel or integral region value the
Sampler points at. |
long[] |
getPosition() |
T |
next() |
void |
remove() |
fwd, getDoublePosition, getFloatPosition, getIntPosition, getLongPosition, jumpFwd, localize, localize, localize, localize, reset
create, dimension, dimensions, getIndex, hasNext, toString
max, max, max, min, min, min, realMax, realMax, realMax, realMin, realMin, realMin
numDimensions
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
forEachRemaining, hasNext
getDoublePosition, getFloatPosition, getIntPosition, getLongPosition, localize, localize, localize, positionAsLongArray, positionAsPoint
localize, localize, localize, positionAsDoubleArray, positionAsRealPoint
numDimensions
maxAsLongArray, maxAsPoint, minAsLongArray, minAsPoint
maxAsDoubleArray, maxAsRealPoint, minAsDoubleArray, minAsRealPoint
allPositive, allPositive, dimensions, dimensionsAsLongArray, dimensionsAsPoint, verify, verify, verifyAllPositive, verifyAllPositive
public T get()
Sampler
Sampler
points at.get
in interface Sampler<T extends NativeType<T>>
public T next()
public void remove()
public NtreeCursor<T> copy()
copy
in interface Sampler<T extends NativeType<T>>
Sampler
in the same state accessing the same
values.
It does NOT copy T, just the state of the Sampler
.
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 an
ArrayCursor
for example)public NtreeCursor<T> copyCursor()
copyCursor
in interface Cursor<T extends NativeType<T>>
copyCursor
in interface RealCursor<T extends NativeType<T>>
public long[] getPosition()
getPosition
in interface NtreeImg.PositionProvider
Copyright © 2015–2022 ImgLib2. All rights reserved.