public class RegionOfInterestCursor<T extends Type<T>> extends CursorImpl<T> implements LocalizableCursor<T>
container, image, isClosed
Constructor and Description |
---|
RegionOfInterestCursor(LocalizableByDimCursor<T> cursor,
int[] offset,
int[] size) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
void |
fwd() |
int |
getArrayIndex() |
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.
|
String |
getPositionAsString()
Create a human-readable
String representation of the current
position. |
int |
getStorageIndex() |
T |
getType() |
boolean |
hasNext() |
boolean |
isActive() |
void |
reset() |
void |
reset(int[] o) |
void |
reset(int[] o,
int[] s) |
void |
setDebug(boolean debug) |
String |
toString() |
createPositionArray, fwd, getDimensions, getDimensions, getImage, getNumDimensions, getStorageContainer, iterator, next, remove
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
createPositionArray, getImage, getStorageContainer
forEachRemaining, next, remove
forEach, iterator, spliterator
getDimensions, getDimensions, getNumDimensions
public RegionOfInterestCursor(LocalizableByDimCursor<T> cursor, int[] offset, int[] size)
public void reset(int[] o)
public void reset(int[] o, int[] s)
public int getArrayIndex()
getArrayIndex
in interface Cursor<T extends Type<T>>
getArrayIndex
in class CursorImpl<T extends Type<T>>
public int getStorageIndex()
getStorageIndex
in interface Cursor<T extends Type<T>>
public boolean isActive()
public void setDebug(boolean debug)
public void getPosition(int[] position)
Localizable
getPosition
in interface Localizable
public int[] getPosition()
Localizable
getPosition
in interface Localizable
public int getPosition(int dim)
Localizable
getPosition
in interface Localizable
public String getPositionAsString()
Localizable
String
representation of the current
position.getPositionAsString
in interface Localizable
Copyright © 2015–2021 Fiji. All rights reserved.