public class PeriodicLineNeighborhoodCursor<T> extends PeriodicLineNeighborhoodLocalizableSampler<T> implements Cursor<Neighborhood<T>>
currentNeighborhood, currentPos, neighborhoodFactory, source, sourceInterval, spann| Constructor and Description |
|---|
PeriodicLineNeighborhoodCursor(RandomAccessibleInterval<T> source,
long span,
int[] increments,
PeriodicLineNeighborhoodFactory<T> factory) |
| Modifier and Type | Method and Description |
|---|---|
PeriodicLineNeighborhoodCursor<T> |
copy() |
PeriodicLineNeighborhoodCursor<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 PeriodicLineNeighborhoodCursor(RandomAccessibleInterval<T> source, long span, int[] increments, PeriodicLineNeighborhoodFactory<T> factory)
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 PeriodicLineNeighborhoodCursor<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 PeriodicLineNeighborhoodCursor<T> copyCursor()
copyCursor in interface Cursor<Neighborhood<T>>copyCursor in interface RealCursor<Neighborhood<T>>Copyright © 2015–2022 ImgLib2. All rights reserved.