@Deprecated public class RandomAccessibleRegionCursor<T extends BooleanType<T>> extends AbstractWrappedInterval<RandomAccessibleInterval<T>> implements Cursor<Void>
sourceInterval
Modifier | Constructor and Description |
---|---|
|
RandomAccessibleRegionCursor(RandomAccessibleInterval<T> interval,
long size)
Deprecated.
|
protected |
RandomAccessibleRegionCursor(RandomAccessibleRegionCursor<T> cursor)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
RandomAccessibleRegionCursor<T> |
copy()
Deprecated.
|
RandomAccessibleRegionCursor<T> |
copyCursor()
Deprecated.
|
void |
fwd()
Deprecated.
Move forward.
|
Void |
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.
Returns true if another step forward is possible.
|
void |
jumpFwd(long steps)
Deprecated.
Move steps × forward.
|
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 |
next()
Deprecated.
|
void |
remove()
Deprecated.
|
void |
reset()
Deprecated.
Reset the
Iterator , that is put it to where it would be if newly
created. |
dimension, dimensions, max, max, max, min, min, min
getSource, numDimensions, realMax, realMax, realMax, realMin, realMin, realMin
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEachRemaining
localize, positionAsLongArray, positionAsPoint
localize, positionAsDoubleArray, positionAsRealPoint
numDimensions
maxAsLongArray, maxAsPoint, minAsLongArray, minAsPoint, realMax, realMin
maxAsDoubleArray, maxAsRealPoint, minAsDoubleArray, minAsRealPoint, realMax, realMax, realMin, realMin
allPositive, allPositive, dimensions, dimensionsAsLongArray, dimensionsAsPoint, verify, verify, verifyAllPositive, verifyAllPositive
public RandomAccessibleRegionCursor(RandomAccessibleInterval<T> interval, long size)
protected RandomAccessibleRegionCursor(RandomAccessibleRegionCursor<T> cursor)
public Void get()
Sampler
Sampler
points at.public void jumpFwd(long steps)
Iterator
steps
- number of steps to move forwardpublic void fwd()
Iterator
public void reset()
Iterator
Iterator
, that is put it to where it would be if newly
created.public boolean hasNext()
Iterator
public RandomAccessibleRegionCursor<T> copy()
copy
in interface Sampler<Void>
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 RandomAccessibleRegionCursor<T> copyCursor()
copyCursor
in interface Cursor<Void>
copyCursor
in interface RealCursor<Void>
public void localize(float[] position)
RealLocalizable
localize
in interface RealLocalizable
position
- receives current positionpublic void localize(double[] position)
RealLocalizable
localize
in interface RealLocalizable
position
- receives current positionpublic float getFloatPosition(int d)
RealLocalizable
getFloatPosition
in interface Localizable
getFloatPosition
in interface RealLocalizable
d
- dimensionpublic double getDoublePosition(int d)
RealLocalizable
getDoublePosition
in interface Localizable
getDoublePosition
in interface RealLocalizable
d
- dimensionpublic void localize(int[] position)
Localizable
localize
in interface Localizable
position
- receives current positionpublic void localize(long[] position)
Localizable
localize
in interface Localizable
position
- receives current positionpublic int getIntPosition(int d)
Localizable
getIntPosition
in interface Localizable
d
- dimensionpublic long getLongPosition(int d)
Localizable
getLongPosition
in interface Localizable
d
- dimensionCopyright © 2015–2022 ImgLib2. All rights reserved.