public class DiamondNeighborhood.LocalCursor extends AbstractEuclideanSpace implements Cursor<T>
| Modifier and Type | Field and Description |
|---|---|
protected long[] |
ri
The current radius in each dimension we are at.
|
protected long[] |
s
The remaining number of steps in each dimension we still have to go.
|
protected RandomAccess<T> |
source |
n| Modifier | Constructor and Description |
|---|---|
protected |
LocalCursor(DiamondNeighborhood.LocalCursor c) |
|
LocalCursor(RandomAccess<T> source) |
| Modifier and Type | Method and Description |
|---|---|
DiamondNeighborhood.LocalCursor |
copy() |
DiamondNeighborhood.LocalCursor |
copyCursor() |
void |
fwd() |
T |
get() |
double |
getDoublePosition(int d) |
float |
getFloatPosition(int d) |
int |
getIntPosition(int d) |
long |
getLongPosition(int d) |
boolean |
hasNext() |
void |
jumpFwd(long steps) |
void |
localize(double[] position) |
void |
localize(float[] position) |
void |
localize(int[] position) |
void |
localize(long[] position) |
T |
next() |
void |
remove() |
void |
reset() |
numDimensionsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEachRemainingnumDimensionsprotected final RandomAccess<T> source
protected final long[] ri
protected final long[] s
public LocalCursor(RandomAccess<T> source)
protected LocalCursor(DiamondNeighborhood.LocalCursor c)
public void fwd()
public void jumpFwd(long steps)
public void reset()
public float getFloatPosition(int d)
getFloatPosition in interface RealLocalizablepublic double getDoublePosition(int d)
getDoublePosition in interface RealLocalizablepublic int getIntPosition(int d)
getIntPosition in interface Localizablepublic long getLongPosition(int d)
getLongPosition in interface Localizablepublic void localize(long[] position)
localize in interface Localizablepublic void localize(float[] position)
localize in interface RealLocalizablepublic void localize(double[] position)
localize in interface RealLocalizablepublic void localize(int[] position)
localize in interface Localizablepublic DiamondNeighborhood.LocalCursor copy()
public DiamondNeighborhood.LocalCursor copyCursor()
copyCursor in interface Cursor<T>copyCursor in interface RealCursor<T>Copyright © 2009–2019 ImgLib2. All rights reserved.