T - public class HyperSphereCursor<T> extends Object implements Cursor<T>
| Modifier and Type | Field and Description |
|---|---|
protected long[] |
center |
protected long |
radius |
protected RandomAccess<T> |
randomAccess |
| Constructor and Description |
|---|
HyperSphereCursor(HyperSphereCursor<T> cursor) |
HyperSphereCursor(RandomAccessible<T> source,
long[] center,
long radius) |
| Modifier and Type | Method and Description |
|---|---|
HyperSphereCursor<T> |
copy() |
void |
fwd() |
T |
get() |
double |
getDoublePosition(int d) |
float |
getFloatPosition(int d) |
int |
getIntPosition(int d) |
long |
getLongPosition(int d) |
T |
getType() |
boolean |
hasNext() |
void |
jumpFwd(long steps) |
void |
localize(double[] position) |
void |
localize(float[] position) |
void |
localize(int[] position) |
void |
localize(long[] position) |
T |
next() |
int |
numDimensions() |
void |
remove() |
void |
reset() |
void |
updateCenter(Localizable center) |
void |
updateCenter(long[] center) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcopyCursorforEachRemaininglocalize, localize, positionAsLongArray, positionAsPointpositionAsDoubleArray, positionAsRealPointprotected final long[] center
protected final RandomAccess<T> randomAccess
protected final long radius
public HyperSphereCursor(RandomAccessible<T> source, long[] center, long radius)
public HyperSphereCursor(HyperSphereCursor<T> cursor)
public void updateCenter(long[] center)
public void updateCenter(Localizable center)
public void fwd()
public void reset()
public void jumpFwd(long steps)
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 T next()
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 HyperSphereCursor<T> copy()
Copyright © 2009–2024 ImgLib2. All rights reserved.