public final class NtreeCursor<T extends NativeType<T>> extends LocalizingIntervalIterator implements Cursor<T>, NtreeImg.PositionProvider
positiondimensions, index, lastIndex, stepsmax, minn| 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, resetcreate, dimension, dimensions, getIndex, hasNext, toStringmax, max, max, min, min, min, realMax, realMax, realMax, realMin, realMin, realMinnumDimensionsclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitforEachRemaining, hasNextgetDoublePosition, getFloatPosition, getIntPosition, getLongPosition, localize, localize, localize, positionAsLongArray, positionAsPointlocalize, localize, localize, positionAsDoubleArray, positionAsRealPointnumDimensionsmaxAsLongArray, maxAsPoint, minAsLongArray, minAsPointmaxAsDoubleArray, maxAsRealPoint, minAsDoubleArray, minAsRealPointallPositive, allPositive, dimensions, dimensionsAsLongArray, dimensionsAsPoint, verify, verify, verifyAllPositive, verifyAllPositivepublic T get()
SamplerSampler 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.PositionProviderCopyright © 2015–2022 ImgLib2. All rights reserved.