public final class WriteConvertedRandomAccess<A,B> extends AbstractConvertedRandomAccess<A,B>
source| Constructor and Description |
|---|
WriteConvertedRandomAccess(RandomAccess<A> source,
SamplerConverter<? super A,B> converter) |
WriteConvertedRandomAccess(RandomAccess<A> source,
Supplier<SamplerConverter<? super A,B>> converterSupplier) |
| Modifier and Type | Method and Description |
|---|---|
WriteConvertedRandomAccess<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. |
bck, copyRandomAccess, fwd, getDoublePosition, getFloatPosition, getIntPosition, getLongPosition, localize, localize, localize, localize, move, move, move, move, move, numDimensions, setPosition, setPosition, setPosition, setPosition, setPositionclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitsetPositionAndGet, setPositionAndGet, setPositionAndGetlocalize, positionAsLongArray, positionAsPointlocalize, positionAsDoubleArray, positionAsRealPointpublic WriteConvertedRandomAccess(RandomAccess<A> source, Supplier<SamplerConverter<? super A,B>> converterSupplier)
public WriteConvertedRandomAccess(RandomAccess<A> source, SamplerConverter<? super A,B> converter)
public B get()
SamplerSampler points at.public WriteConvertedRandomAccess<A,B> copy()
copy in interface Sampler<B>copy in class AbstractConvertedRandomAccess<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.