protected class BinaryMaskRegionOfInterest.BMROIIterableInterval.BMROICursor extends AbstractCursor<TT>
n| Modifier | Constructor and Description |
|---|---|
protected |
BMROICursor() |
| Modifier and Type | Method and Description |
|---|---|
AbstractCursor<TT> |
copy() |
AbstractCursor<TT> |
copyCursor() |
void |
fwd() |
TT |
get()
Access the actual T instance providing access to a pixel,
sub-pixel or integral region value the
Sampler points at. |
long |
getLongPosition(int d)
Return the current position in a given dimension.
|
boolean |
hasNext() |
void |
localize(long[] pos)
Write the current position into the passed array.
|
void |
reset() |
getDoublePosition, getFloatPosition, getIntPosition, jumpFwd, localize, localize, localize, next, remove, toStringnumDimensionsclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitforEachRemaininglocalize, positionAsLongArray, positionAsPointlocalize, positionAsDoubleArray, positionAsRealPointnumDimensionspublic TT get()
SamplerSampler points at.public void fwd()
public void reset()
public boolean hasNext()
public void localize(long[] pos)
Localizablepos - receives current positionpublic long getLongPosition(int d)
Localizabled - dimensionpublic AbstractCursor<TT> copy()
copy in interface Sampler<TT extends Type<TT>>copy in class AbstractCursor<TT extends Type<TT>>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 AbstractCursor<TT> copyCursor()
copyCursor in interface Cursor<TT extends Type<TT>>copyCursor in interface RealCursor<TT extends Type<TT>>copyCursor in class AbstractCursor<TT extends Type<TT>>Copyright © 2015–2022 ImgLib2. All rights reserved.