T
- @Deprecated public class LocalNeighborhoodCursor2<T> extends AbstractCursor<T>
n
Modifier | Constructor and Description |
---|---|
protected |
LocalNeighborhoodCursor2(LocalNeighborhoodCursor2<T> c)
Deprecated.
|
|
LocalNeighborhoodCursor2(RandomAccess<T> source,
long[] center)
Deprecated.
|
|
LocalNeighborhoodCursor2(RandomAccess<T> source,
long[] center,
long span)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
LocalNeighborhoodCursor2<T> |
copy()
Deprecated.
|
LocalNeighborhoodCursor2<T> |
copyCursor()
Deprecated.
|
void |
fwd()
Deprecated.
|
T |
get()
Deprecated.
Access the actual T instance providing access to a pixel,
sub-pixel or integral region value the
Sampler points at. |
double |
getDoublePosition(int d)
Deprecated.
Return the current position in a given dimension.
|
float |
getFloatPosition(int d)
Deprecated.
Return the current position in a given dimension.
|
int |
getIntPosition(int d)
Deprecated.
Return the current position in a given dimension.
|
long |
getLongPosition(int d)
Deprecated.
Return the current position in a given dimension.
|
boolean |
hasNext()
Deprecated.
|
void |
localize(double[] position)
Deprecated.
Write the current position into the passed array.
|
void |
localize(float[] position)
Deprecated.
Write the current position into the passed array.
|
void |
localize(int[] position)
Deprecated.
Write the current position into the passed array.
|
void |
localize(long[] position)
Deprecated.
Write the current position into the passed array.
|
void |
reset()
Deprecated.
|
jumpFwd, next, remove, toString
numDimensions
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
forEachRemaining
localize, positionAsLongArray, positionAsPoint
localize, positionAsDoubleArray, positionAsRealPoint
numDimensions
public LocalNeighborhoodCursor2(RandomAccess<T> source, long[] center, long span)
public LocalNeighborhoodCursor2(RandomAccess<T> source, long[] center)
protected LocalNeighborhoodCursor2(LocalNeighborhoodCursor2<T> c)
public T get()
Sampler
Sampler
points at.public void fwd()
public void reset()
public boolean hasNext()
public float getFloatPosition(int d)
RealLocalizable
getFloatPosition
in interface Localizable
getFloatPosition
in interface RealLocalizable
getFloatPosition
in class AbstractCursor<T>
d
- dimensionpublic double getDoublePosition(int d)
RealLocalizable
getDoublePosition
in interface Localizable
getDoublePosition
in interface RealLocalizable
getDoublePosition
in class AbstractCursor<T>
d
- dimensionpublic int getIntPosition(int d)
Localizable
getIntPosition
in interface Localizable
getIntPosition
in class AbstractCursor<T>
d
- dimensionpublic long getLongPosition(int d)
Localizable
d
- dimensionpublic void localize(long[] position)
Localizable
position
- receives current positionpublic void localize(float[] position)
RealLocalizable
localize
in interface RealLocalizable
localize
in class AbstractCursor<T>
position
- receives current positionpublic void localize(double[] position)
RealLocalizable
localize
in interface RealLocalizable
localize
in class AbstractCursor<T>
position
- receives current positionpublic void localize(int[] position)
Localizable
localize
in interface Localizable
localize
in class AbstractCursor<T>
position
- receives current positionpublic LocalNeighborhoodCursor2<T> copy()
copy
in interface Sampler<T>
copy
in class AbstractCursor<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 LocalNeighborhoodCursor2<T> copyCursor()
copyCursor
in interface Cursor<T>
copyCursor
in interface RealCursor<T>
copyCursor
in class AbstractCursor<T>
Copyright © 2015–2022 ImgLib2. All rights reserved.