public class ShapeListLocalizablePlaneCursor<T extends Type<T>> extends ShapeListLocalizableByDimCursor<T> implements LocalizablePlaneCursor<T>
Modifier and Type | Field and Description |
---|---|
protected int |
planeDimA |
protected int |
planeDimB |
container, dimensions, numDimensions, position
debug, image, isClosed
Constructor and Description |
---|
ShapeListLocalizablePlaneCursor(ShapeList<T> container,
Image<T> image) |
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[] position)
Write the current position into the passed array.
|
boolean |
hasNext()
TODO Not the most efficient way to calculate this on demand.
|
void |
reset() |
void |
reset(int planeDimA,
int planeDimB) |
void |
reset(int planeDimA,
int planeDimB,
int[] dimensionPositions) |
void |
setPosition(int[] position) |
bck, close, createLocalNeighborhoodCursor, createRegionOfInterestCursor, fwd, getPositionAsString, getStorageIndex, getType, move, moveRel, moveTo, moveTo, setPosition, setPosition
createPositionArray, fwd, getArrayIndex, getDimensions, getDimensions, getImage, getNumDimensions, getStorageContainer, isActive, iterator, next, remove, setDebug
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
close, createPositionArray, getArrayIndex, getImage, getStorageContainer, getStorageIndex, getType, isActive, setDebug
forEachRemaining, next, remove
forEach, iterator, spliterator
getDimensions, getDimensions, getNumDimensions
getPositionAsString
public boolean hasNext()
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[] position)
Localizable
getPosition
in interface Localizable
getPosition
in class ShapeListLocalizableByDimCursor<T extends Type<T>>
public int[] getPosition()
Localizable
getPosition
in interface Localizable
getPosition
in class ShapeListLocalizableByDimCursor<T extends Type<T>>
public int getPosition(int dim)
Localizable
getPosition
in interface Localizable
getPosition
in class ShapeListLocalizableByDimCursor<T extends Type<T>>
public void setPosition(int[] position)
setPosition
in interface LocalizableByDim
setPosition
in class ShapeListLocalizableByDimCursor<T extends Type<T>>
Copyright © 2015–2021 Fiji. All rights reserved.