public class DynamicLocalizablePlaneCursor<T extends Type<T>> extends DynamicLocalizableCursor<T> implements LocalizablePlaneCursor<T>
| Modifier and Type | Field and Description |
|---|---|
protected int |
incPlaneA |
protected int |
incPlaneB |
protected int |
maxI |
protected int |
planeDimA |
protected int |
planeDimB |
protected int |
planeSizeA |
protected int |
planeSizeB |
dimensions, numDimensions, positionaccessor, container, typedebug, image, isClosed| Constructor and Description |
|---|
DynamicLocalizablePlaneCursor(DynamicContainer<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[] position)
Write the current position into the passed array.
|
boolean |
hasNext() |
void |
reset() |
void |
reset(int planeDimA,
int planeDimB) |
void |
reset(int planeDimA,
int planeDimB,
int[] dimensionPositions) |
protected void |
setPosition(int[] position) |
fwd, getPositionAsString, toStringclose, getAccessor, getInternalIndex, getStorageContainer, getStorageIndex, getTypecreatePositionArray, getArrayIndex, getDimensions, getDimensions, getImage, getNumDimensions, isActive, iterator, next, remove, setDebugclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitclose, createPositionArray, getArrayIndex, getImage, getStorageContainer, getStorageIndex, getType, isActive, setDebugforEachRemaining, next, removeforEach, iterator, spliteratorgetDimensions, getDimensions, getNumDimensionsgetPositionAsStringprotected int planeDimA
protected int planeDimB
protected int planeSizeA
protected int planeSizeB
protected int incPlaneA
protected int incPlaneB
protected int maxI
public DynamicLocalizablePlaneCursor(DynamicContainer<T,?> container, Image<T> image, T type)
public 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 DynamicLocalizableCursor<T extends Type<T>>public int[] getPosition()
LocalizablegetPosition in interface LocalizablegetPosition in class DynamicLocalizableCursor<T extends Type<T>>public int getPosition(int dim)
LocalizablegetPosition in interface LocalizablegetPosition in class DynamicLocalizableCursor<T extends Type<T>>protected void setPosition(int[] position)
Copyright © 2015–2021 Fiji. All rights reserved.