public class DiamondTipsNeighborhoodCursor<T> extends DiamondTipsNeighborhoodLocalizableSampler<T> implements Cursor<Neighborhood<T>>
currentNeighborhood, currentPos, factory, radius, source, sourceIntervaln| Constructor and Description |
|---|
DiamondTipsNeighborhoodCursor(DiamondTipsNeighborhoodCursor<T> c) |
DiamondTipsNeighborhoodCursor(RandomAccessibleInterval<T> source,
long radius,
DiamondTipsNeighborhoodFactory<T> factory) |
| Modifier and Type | Method and Description |
|---|---|
DiamondTipsNeighborhoodCursor<T> |
copy() |
DiamondTipsNeighborhoodCursor<T> |
copyCursor() |
void |
fwd()
Move forward.
|
boolean |
hasNext()
Returns true if another step forward is possible.
|
void |
jumpFwd(long steps)
Move steps × forward.
|
Neighborhood<T> |
next() |
void |
remove() |
void |
reset()
Reset the
Iterator, that is put it to where it would be if newly
created. |
get, getDoublePosition, getFloatPosition, getIntPosition, getLongPosition, localize, localize, localize, localizenumDimensionsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEachRemaininggetDoublePosition, getFloatPosition, getIntPosition, getLongPosition, localize, localize, localize, positionAsLongArray, positionAsPointlocalize, localize, localize, positionAsDoubleArray, positionAsRealPointnumDimensionspublic DiamondTipsNeighborhoodCursor(RandomAccessibleInterval<T> source, long radius, DiamondTipsNeighborhoodFactory<T> factory)
public DiamondTipsNeighborhoodCursor(DiamondTipsNeighborhoodCursor<T> c)
public void fwd()
Iteratorpublic void reset()
IteratorIterator, that is put it to where it would be if newly
created.public boolean hasNext()
IteratorhasNext in interface Iterator<Neighborhood<T>>public void jumpFwd(long steps)
Iteratorsteps - number of steps to move forwardpublic Neighborhood<T> next()
next in interface Iterator<Neighborhood<T>>public void remove()
remove in interface Iterator<Neighborhood<T>>public DiamondTipsNeighborhoodCursor<T> copy()
copy in interface Sampler<Neighborhood<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 DiamondTipsNeighborhoodCursor<T> copyCursor()
copyCursor in interface Cursor<Neighborhood<T>>copyCursor in interface RealCursor<Neighborhood<T>>Copyright © 2015–2022 ImgLib2. All rights reserved.