public class FunctionCursor<C extends net.imglib2.type.numeric.RealType<C>,O extends net.imglib2.type.numeric.RealType<O>> extends net.imglib2.AbstractCursor<O>
| Modifier and Type | Field and Description |
|---|---|
protected net.imglib2.Cursor<?> |
cursor |
protected OFunction<C> |
f |
protected net.imglib2.converter.Converter<net.imglib2.type.numeric.RealType<?>,C> |
inConverter |
protected IFunction |
operation |
protected net.imglib2.converter.Converter<C,O> |
outConverter |
protected net.imglib2.Sampler<O> |
sampler |
protected C |
scrapC |
protected O |
scrapO |
n| Constructor and Description |
|---|
FunctionCursor(IFunction operation,
net.imglib2.converter.Converter<net.imglib2.type.numeric.RealType<?>,C> inConverter,
C computeType,
O outputType,
net.imglib2.converter.Converter<C,O> outConverter) |
| Modifier and Type | Method and Description |
|---|---|
net.imglib2.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, waitcopyCursornextjumpFwdforEachRemaining, removelocalize, localize, positionAsLongArray, positionAsPointpositionAsDoubleArray, positionAsRealPointnumDimensionsprotected final IFunction operation
protected final net.imglib2.converter.Converter<net.imglib2.type.numeric.RealType<?>,C extends net.imglib2.type.numeric.RealType<C>> inConverter
protected final net.imglib2.converter.Converter<C extends net.imglib2.type.numeric.RealType<C>,O extends net.imglib2.type.numeric.RealType<O>> outConverter
protected OFunction<C extends net.imglib2.type.numeric.RealType<C>> f
protected C extends net.imglib2.type.numeric.RealType<C> scrapC
protected O extends net.imglib2.type.numeric.RealType<O> scrapO
protected net.imglib2.Cursor<?> cursor
protected final net.imglib2.Sampler<O extends net.imglib2.type.numeric.RealType<O>> sampler
public FunctionCursor(IFunction operation, net.imglib2.converter.Converter<net.imglib2.type.numeric.RealType<?>,C> inConverter, C computeType, O outputType, net.imglib2.converter.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.public O getType()
public final O get()
public void fwd()
public final boolean hasNext()
public void reset()
public long getLongPosition(int d)
public void localize(long[] position)
public net.imglib2.AbstractCursor<O> copy()
copy in interface net.imglib2.Cursor<O extends net.imglib2.type.numeric.RealType<O>>copy in interface net.imglib2.RealCursor<O extends net.imglib2.type.numeric.RealType<O>>copy in interface net.imglib2.Sampler<O extends net.imglib2.type.numeric.RealType<O>>copy in class net.imglib2.AbstractCursor<O extends net.imglib2.type.numeric.RealType<O>>Copyright © 2009–2026 ImgLib2. All rights reserved.