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, removeclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitcreatePositionArray, getImage, getStorageContainerforEachRemaining, next, removeforEach, iterator, spliteratorgetDimensions, getDimensions, getNumDimensionspublic 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)
LocalizablegetPosition in interface Localizablepublic int[] getPosition()
LocalizablegetPosition in interface Localizablepublic int getPosition(int dim)
LocalizablegetPosition in interface Localizablepublic String getPositionAsString()
LocalizableString representation of the current
position.getPositionAsString in interface LocalizableCopyright © 2015–2021 Fiji. All rights reserved.