T
- public class PlanarLocalizablePlaneCursor<T extends Type<T>> extends PlanarLocalizableCursor<T> implements LocalizablePlaneCursor<T>
dimensions, numDimensions, position
container, hasNext, lastIndex, lastSliceIndex, sliceIndex, type
debug, image, isClosed
Constructor and Description |
---|
PlanarLocalizablePlaneCursor(PlanarContainer<T,?> container,
Image<T> image,
T type) |
Modifier and Type | Method and Description |
---|---|
void |
fwd() |
int[] |
getPosition()
Return a copy of the current position.
|
int |
getPosition(int dim)
Return the current position in a given dimension.
|
void |
getPosition(int[] p)
Write the current position into the passed array.
|
boolean |
hasNext()
Note: This test is fragile in a sense that it returns true for elements
after the last element as well.
|
void |
reset() |
void |
reset(int planeDimA,
int planeDimB) |
void |
reset(int planeDimA,
int planeDimB,
int[] dimensionPositions) |
getPositionAsString, toString
close, getStorageContainer, getStorageIndex, getType
createPositionArray, fwd, getArrayIndex, getDimensions, getDimensions, getImage, getNumDimensions, isActive, iterator, next, remove, setDebug
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
close, createPositionArray, getArrayIndex, getImage, getStorageContainer, getStorageIndex, getType, isActive, setDebug
forEachRemaining, next, remove
forEach, iterator, spliterator
getDimensions, getDimensions, getNumDimensions
getPositionAsString
public PlanarLocalizablePlaneCursor(PlanarContainer<T,?> container, Image<T> image, T type)
public boolean hasNext()
PlanarCursor
public void fwd()
public void reset(int planeDimA, int planeDimB, int[] dimensionPositions)
reset
in interface LocalizablePlane
public void reset(int planeDimA, int planeDimB)
reset
in interface LocalizablePlane
public void reset()
public void getPosition(int[] p)
Localizable
getPosition
in interface Localizable
getPosition
in class PlanarLocalizableCursor<T extends Type<T>>
public int[] getPosition()
Localizable
getPosition
in interface Localizable
getPosition
in class PlanarLocalizableCursor<T extends Type<T>>
public int getPosition(int dim)
Localizable
getPosition
in interface Localizable
getPosition
in class PlanarLocalizableCursor<T extends Type<T>>
Copyright © 2015–2021 Fiji. All rights reserved.