T
- public class PlanarPlaneSubsetLocalizingCursor<T extends NativeType<T>> extends AbstractLocalizingCursorInt<T> implements PlanarImg.PlanarContainerSampler
position
n
Modifier | Constructor and Description |
---|---|
|
PlanarPlaneSubsetLocalizingCursor(PlanarImg<T,?> container,
Interval interval)
Constructor
|
protected |
PlanarPlaneSubsetLocalizingCursor(PlanarPlaneSubsetLocalizingCursor<T> cursor)
Copy Constructor
|
Modifier and Type | Method and Description |
---|---|
PlanarPlaneSubsetLocalizingCursor<T> |
copy() |
PlanarPlaneSubsetLocalizingCursor<T> |
copyCursor() |
void |
fwd() |
T |
get()
Access the actual T instance providing access to a pixel,
sub-pixel or integral region value the
Sampler points at. |
int |
getCurrentSliceIndex() |
boolean |
hasNext() |
void |
jumpFwd(long steps)
Move steps × forward.
|
void |
reset() |
String |
toString() |
next, remove
getDoublePosition, getFloatPosition, getIntPosition, getLongPosition, localize, localize, localize, localize
numDimensions
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
forEachRemaining
getDoublePosition, getFloatPosition, getIntPosition, getLongPosition, localize, localize, localize, positionAsLongArray, positionAsPoint
localize, localize, localize, positionAsDoubleArray, positionAsRealPoint
numDimensions
protected PlanarPlaneSubsetLocalizingCursor(PlanarPlaneSubsetLocalizingCursor<T> cursor)
cursor
- PlanarPlaneSubsetLocalizingCursor to copy frompublic final int getCurrentSliceIndex()
getCurrentSliceIndex
in interface PlanarImg.PlanarContainerSampler
public final T get()
Sampler
points at.get
in interface Sampler<T extends NativeType<T>>
public PlanarPlaneSubsetLocalizingCursor<T> copy()
copy
in interface Sampler<T extends NativeType<T>>
copy
in class AbstractLocalizingCursorInt<T extends NativeType<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 PlanarPlaneSubsetLocalizingCursor<T> copyCursor()
copyCursor
in interface Cursor<T extends NativeType<T>>
copyCursor
in interface RealCursor<T extends NativeType<T>>
copyCursor
in class AbstractLocalizingCursorInt<T extends NativeType<T>>
public final boolean hasNext()
hasNext
in interface Iterator<T extends NativeType<T>>
public final void fwd()
public final void jumpFwd(long steps)
jumpFwd
in class AbstractLocalizingCursorInt<T extends NativeType<T>>
steps
- number of steps to move forwardpublic final void reset()
Copyright © 2015–2022 ImgLib2. All rights reserved.