T - public abstract class AbstractUnsafeLocalizingCursor<T extends NativeLongAccessType<T>> extends AbstractLocalizingCursor<T>
| Modifier and Type | Field and Description |
|---|---|
protected UnsafeImg<T,?> |
img
The underlying source
UnsafeImg. |
protected Long |
lastIndex
Last index.
|
protected int[] |
max
Maximum of the
UnsafeImg in every dimension. |
protected long |
offset
Offset of this cursor.
|
protected long |
size
Size of this cursor.
|
protected T |
type
An instance of T.
|
positionn| Modifier | Constructor and Description |
|---|---|
protected |
AbstractUnsafeLocalizingCursor(AbstractUnsafeLocalizingCursor<T> cursor)
TODO Javadoc
|
|
AbstractUnsafeLocalizingCursor(UnsafeImg<T,?> img,
long offset,
long 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, removegetDoublePosition, getFloatPosition, getIntPosition, getLongPosition, localize, localize, localize, localizenumDimensionsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEachRemaininggetDoublePosition, getFloatPosition, getIntPosition, getLongPosition, localize, localize, localize, positionAsLongArray, positionAsPointlocalize, localize, localize, positionAsDoubleArray, positionAsRealPointnumDimensionsprotected final long size
protected final long offset
protected final T extends NativeLongAccessType<T> type
protected final UnsafeImg<T extends NativeLongAccessType<T>,?> img
UnsafeImg.protected final Long lastIndex
protected final int[] max
UnsafeImg in every dimension. This is used to
check isOutOfBounds().protected AbstractUnsafeLocalizingCursor(AbstractUnsafeLocalizingCursor<T> cursor)
cursor - public T get()
Sampler points at.public boolean hasNext()
public void fwd()
public void jumpFwd(long steps)
jumpFwd in class AbstractLocalizingCursor<T extends NativeLongAccessType<T>>steps - number of steps to move forwardpublic void reset()
Copyright © 2015–2022 ImgLib2. All rights reserved.