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, positiondebug, 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, setPositioncreatePositionArray, fwd, getArrayIndex, getDimensions, getDimensions, getImage, getNumDimensions, getStorageContainer, isActive, iterator, next, remove, setDebugclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclose, createPositionArray, getArrayIndex, getImage, getStorageContainer, getStorageIndex, getType, isActive, setDebugforEachRemaining, next, removeforEach, iterator, spliteratorgetDimensions, getDimensions, getNumDimensionsgetPositionAsStringpublic boolean hasNext()
public void fwd()
public void reset(int planeDimA,
int planeDimB,
int[] dimensionPositions)
reset in interface LocalizablePlanepublic void reset(int planeDimA,
int planeDimB)
reset in interface LocalizablePlanepublic void reset()
public void getPosition(int[] position)
LocalizablegetPosition in interface LocalizablegetPosition in class ShapeListLocalizableByDimCursor<T extends Type<T>>public int[] getPosition()
LocalizablegetPosition in interface LocalizablegetPosition in class ShapeListLocalizableByDimCursor<T extends Type<T>>public int getPosition(int dim)
LocalizablegetPosition in interface LocalizablegetPosition in class ShapeListLocalizableByDimCursor<T extends Type<T>>public void setPosition(int[] position)
setPosition in interface LocalizableByDimsetPosition in class ShapeListLocalizableByDimCursor<T extends Type<T>>Copyright © 2015–2021 Fiji. All rights reserved.