public class WriteConvertedCursor<A,B> extends AbstractConvertedCursor<A,B>
source
Constructor and Description |
---|
WriteConvertedCursor(Cursor<A> source,
SamplerConverter<? super A,B> converter) |
WriteConvertedCursor(Cursor<A> source,
Supplier<SamplerConverter<? super A,B>> converterSupplier) |
Modifier and Type | Method and Description |
---|---|
WriteConvertedCursor<A,B> |
copy() |
B |
get()
Access the actual T instance providing access to a pixel,
sub-pixel or integral region value the
Sampler points at. |
copyCursor, fwd, getDoublePosition, getFloatPosition, getIntPosition, getLongPosition, hasNext, jumpFwd, localize, localize, localize, localize, next, numDimensions, remove, reset
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEachRemaining
localize, positionAsLongArray, positionAsPoint
localize, positionAsDoubleArray, positionAsRealPoint
public WriteConvertedCursor(Cursor<A> source, Supplier<SamplerConverter<? super A,B>> converterSupplier)
public WriteConvertedCursor(Cursor<A> source, SamplerConverter<? super A,B> converter)
public B get()
Sampler
Sampler
points at.public WriteConvertedCursor<A,B> copy()
copy
in interface Sampler<B>
copy
in class AbstractConvertedCursor<A,B>
Sampler
in the same state accessing the same
values.
It does NOT copy T, just the state of the Sampler
.
Otherwise use T.copy() if available.
Sampler.copy().get() == Sampler.get(), i.e. both hold the same
value, not necessarily the same instance (this is the case for an
ArrayCursor
for example)Copyright © 2015–2022 ImgLib2. All rights reserved.