T
- public abstract class AbstractArrayLocalizingCursor<T extends NativeType<T>> extends AbstractLocalizingCursorInt<T>
Modifier and Type | Field and Description |
---|---|
protected ArrayImg<T,?> |
img
The underlying source
ArrayImg . |
protected int |
lastIndex
Last index.
|
protected int[] |
max
Maximum of the
ArrayImg in every dimension. |
protected int |
offset
Offset of this cursor.
|
protected int |
size
Size of this cursor.
|
protected T |
type
An instance of T.
|
position
n
Modifier | Constructor and Description |
---|---|
protected |
AbstractArrayLocalizingCursor(AbstractArrayLocalizingCursor<T> cursor)
TODO Javadoc
|
|
AbstractArrayLocalizingCursor(ArrayImg<T,?> img,
int offset,
int size)
TODO Javadoc
|
Modifier and Type | Method and Description |
---|---|
void |
fwd() |
T |
get()
Access the actual T instance providing access to a pixel,
sub-pixel or integral region value the
Sampler points at. |
boolean |
hasNext() |
void |
jumpFwd(long steps)
Move steps × forward.
|
void |
reset() |
copy, copyCursor, next, remove
getDoublePosition, getFloatPosition, getIntPosition, getLongPosition, localize, localize, localize, localize
numDimensions
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEachRemaining
getDoublePosition, getFloatPosition, getIntPosition, getLongPosition, localize, localize, localize, positionAsLongArray, positionAsPoint
localize, localize, localize, positionAsDoubleArray, positionAsRealPoint
numDimensions
protected final int size
protected final int offset
protected final T extends NativeType<T> type
protected final ArrayImg<T extends NativeType<T>,?> img
ArrayImg
.protected final int lastIndex
protected final int[] max
ArrayImg
in every dimension. This is used to check
isOutOfBounds().protected AbstractArrayLocalizingCursor(AbstractArrayLocalizingCursor<T> cursor)
cursor
- public T get()
Sampler
points at.public boolean hasNext()
public void fwd()
public void jumpFwd(long steps)
jumpFwd
in class AbstractLocalizingCursorInt<T extends NativeType<T>>
steps
- number of steps to move forwardpublic void reset()
Copyright © 2015–2022 ImgLib2. All rights reserved.