public class WriteConvertedRealCursor<A,B> extends AbstractConvertedRealCursor<A,B>
source
Constructor and Description |
---|
WriteConvertedRealCursor(RealCursor<A> source,
SamplerConverter<? super A,B> converter) |
WriteConvertedRealCursor(RealCursor<A> source,
Supplier<SamplerConverter<? super A,B>> converterSupplier) |
Modifier and Type | Method and Description |
---|---|
WriteConvertedRealCursor<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, hasNext, jumpFwd, localize, localize, next, numDimensions, remove, reset
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
localize, positionAsDoubleArray, positionAsRealPoint
forEachRemaining
public WriteConvertedRealCursor(RealCursor<A> source, Supplier<SamplerConverter<? super A,B>> converterSupplier)
public WriteConvertedRealCursor(RealCursor<A> source, SamplerConverter<? super A,B> converter)
public B get()
Sampler
Sampler
points at.public WriteConvertedRealCursor<A,B> copy()
copy
in interface Sampler<B>
copy
in class AbstractConvertedRealCursor<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.