public final class ConvertedRealRandomAccess<A,B extends Type<B>> extends AbstractConvertedRealRandomAccess<A,B>
| Modifier and Type | Field and Description |
|---|---|
protected B |
converted |
protected Converter<? super A,? super B> |
converter |
source| Constructor and Description |
|---|
ConvertedRealRandomAccess(RealRandomAccess<A> source,
Converter<? super A,? super B> converter,
B b) |
| Modifier and Type | Method and Description |
|---|---|
ConvertedRealRandomAccess<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, copyRealRandomAccess, fwd, getDoublePosition, getFloatPosition, localize, localize, move, move, move, move, move, move, move, move, move, move, numDimensions, setPosition, setPosition, setPosition, setPosition, setPosition, setPosition, setPosition, setPosition, setPosition, setPositionpublic B get()
SamplerSampler points at.public ConvertedRealRandomAccess<A,B> copy()
copy in interface Sampler<B extends Type<B>>copy in class AbstractConvertedRealRandomAccess<A,B extends Type<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 © 2009–2017 ImgLib2. All rights reserved.