public class CellLocalizableByDimCursor<T extends Type<T>> extends CellLocalizableCursor<T> implements LocalizableByDimCursor<T>
Modifier and Type | Field and Description |
---|---|
protected int[] |
cellEnd |
protected int[] |
cellPosition |
protected int[] |
cellStep |
protected int |
numCells |
protected int[] |
numCellsDim |
protected int[] |
step |
cellDimensions, cellOffset, dimensions, numDimensions, position
cell, cellInstance, cellMaxI, container, lastCell, type
debug, image, isClosed
Constructor and Description |
---|
CellLocalizableByDimCursor(CellContainer<T,?> container,
Image<T> image,
T type) |
Modifier and Type | Method and Description |
---|---|
void |
bck(int dim) |
void |
close() |
LocalNeighborhoodCursor<T> |
createLocalNeighborhoodCursor() |
RegionOfInterestCursor<T> |
createRegionOfInterestCursor(int[] offset,
int[] size) |
void |
fwd() |
void |
fwd(int dim) |
protected void |
getCellData(int cell) |
void |
move(int steps,
int dim) |
void |
moveRel(int[] vector) |
void |
moveTo(int[] position) |
void |
moveTo(Localizable localizable) |
void |
reset() |
void |
setPosition(int[] position) |
void |
setPosition(int position,
int dim) |
void |
setPosition(Localizable localizable) |
getPosition, getPosition, getPosition, getPositionAsString, toString
getCurrentCell, getStorageContainer, getStorageIndex, getType, hasNext
createPositionArray, fwd, getArrayIndex, getDimensions, getDimensions, getImage, getNumDimensions, isActive, iterator, next, remove, setDebug
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
createPositionArray, getArrayIndex, getImage, getStorageContainer, getStorageIndex, getType, isActive, setDebug
forEachRemaining, hasNext, next, remove
forEach, iterator, spliterator
getDimensions, getDimensions, getNumDimensions
getPosition, getPosition, getPosition, getPositionAsString
protected final int numCells
protected final int[] numCellsDim
protected final int[] cellPosition
protected final int[] cellEnd
protected final int[] step
protected final int[] cellStep
public CellLocalizableByDimCursor(CellContainer<T,?> container, Image<T> image, T type)
protected void getCellData(int cell)
getCellData
in class CellLocalizableCursor<T extends Type<T>>
public LocalNeighborhoodCursor<T> createLocalNeighborhoodCursor()
createLocalNeighborhoodCursor
in interface LocalizableByDimCursor<T extends Type<T>>
public RegionOfInterestCursor<T> createRegionOfInterestCursor(int[] offset, int[] size)
createRegionOfInterestCursor
in interface LocalizableByDimCursor<T extends Type<T>>
public void fwd()
public void reset()
public void fwd(int dim)
fwd
in interface LocalizableByDim
public void move(int steps, int dim)
move
in interface LocalizableByDim
public void moveRel(int[] vector)
moveRel
in interface LocalizableByDim
public void moveTo(int[] position)
moveTo
in interface LocalizableByDim
public void moveTo(Localizable localizable)
moveTo
in interface LocalizableByDim
public void setPosition(Localizable localizable)
setPosition
in interface LocalizableByDim
public void bck(int dim)
bck
in interface LocalizableByDim
public void setPosition(int[] position)
setPosition
in interface LocalizableByDim
public void setPosition(int position, int dim)
setPosition
in interface LocalizableByDim
Copyright © 2015–2021 Fiji. All rights reserved.