public class FunctionCursor<C extends RealType<C>,O extends RealType<O>> extends AbstractCursor<O>
| Modifier and Type | Field and Description |
|---|---|
protected Cursor<?> |
cursor |
protected OFunction<C> |
f |
protected Converter<RealType<?>,C> |
inConverter |
protected IFunction |
operation |
protected Converter<C,O> |
outConverter |
protected Sampler<O> |
sampler |
protected C |
scrapC |
protected O |
scrapO |
n| Constructor and Description |
|---|
FunctionCursor(IFunction operation,
Converter<RealType<?>,C> inConverter,
C computeType,
O outputType,
Converter<C,O> outConverter) |
| Modifier and Type | Method and Description |
|---|---|
AbstractCursor<O> |
copy() |
void |
fwd() |
O |
get() |
long |
getLongPosition(int d) |
O |
getType() |
boolean |
hasNext() |
void |
localize(long[] position) |
void |
reset() |
getDoublePosition, getFloatPosition, getIntPosition, localize, localize, localize, toStringnumDimensionsclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitcopyCursornextforEachRemaining, removelocalize, localize, positionAsLongArray, positionAsPointpositionAsDoubleArray, positionAsRealPointnumDimensionspublic FunctionCursor(IFunction operation, Converter<RealType<?>,C> inConverter, C computeType, O outputType, Converter<C,O> outConverter)
operation - inConverter - Can be null, and if so, a generic Util#genericRealTypeConverter() will be used.computeType - outputType - outConverter - Can be null, and if so, a generic integer or real converter will be used.Copyright © 2009–2024 ImgLib2. All rights reserved.