public abstract class AbstractNeighborhoodCursor<T> extends Object implements Cursor<T>, Bounded
| Modifier and Type | Field and Description |
|---|---|
protected AbstractNeighborhood<T> |
neighborhood |
protected OutOfBounds<T> |
ra |
| Constructor and Description |
|---|
AbstractNeighborhoodCursor(AbstractNeighborhood<T> neighborhood) |
| Modifier and Type | Method and Description |
|---|---|
T |
get() |
double |
getDoublePosition(int d) |
float |
getFloatPosition(int d) |
int |
getIntPosition(int d) |
long |
getLongPosition(int d) |
boolean |
isOutOfBounds() |
void |
jumpFwd(long steps)
This dummy method just calls
Iterator.fwd() multiple times. |
void |
localize(double[] position) |
void |
localize(float[] position) |
void |
localize(int[] position) |
void |
localize(long[] position) |
T |
next() |
int |
numDimensions() |
void |
remove() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcopyCursorforEachRemaining, hasNextlocalize, positionAsLongArray, positionAsPointlocalize, positionAsDoubleArray, positionAsRealPointprotected AbstractNeighborhood<T> neighborhood
protected final OutOfBounds<T> ra
public AbstractNeighborhoodCursor(AbstractNeighborhood<T> neighborhood)
public void localize(float[] position)
localize in interface RealLocalizablepublic void localize(double[] position)
localize in interface RealLocalizablepublic float getFloatPosition(int d)
getFloatPosition in interface LocalizablegetFloatPosition in interface RealLocalizablepublic double getDoublePosition(int d)
getDoublePosition in interface LocalizablegetDoublePosition in interface RealLocalizablepublic int numDimensions()
numDimensions in interface EuclideanSpacepublic void jumpFwd(long steps)
Iterator.fwd() multiple times.public void localize(int[] position)
localize in interface Localizablepublic void localize(long[] position)
localize in interface Localizablepublic int getIntPosition(int d)
getIntPosition in interface Localizablepublic long getLongPosition(int d)
getLongPosition in interface Localizablepublic boolean isOutOfBounds()
isOutOfBounds in interface BoundedCopyright © 2009–2020 ImgLib2. All rights reserved.