public class RealTransformRandomAccessible.RealTransformRandomAccess extends Point implements RandomAccess<T>
RealRandomAccess that generates its samples from a source
RealRandomAccessible at coordinates transformed by a
RealTransform.
This access does not move its sourceAccess while moving through space
but executes apply() on each get() call. This is
preferable in situations where relative moves aren't more efficient than
a full apply() because moves execute only the integer part and
not the coordinate transfer if no value is requested.| Modifier and Type | Field and Description |
|---|---|
protected RealRandomAccess<T> |
sourceAccess |
protected R |
transformCopy |
positionn| Modifier | Constructor and Description |
|---|---|
protected |
RealTransformRandomAccess() |
protected |
RealTransformRandomAccess(RealTransformRandomAccessible.RealTransformRandomAccess a) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
apply() |
RealTransformRandomAccessible.RealTransformRandomAccess |
copy() |
RealTransformRandomAccessible.RealTransformRandomAccess |
copyRandomAccess() |
T |
get()
Access the actual T instance providing access to a pixel,
sub-pixel or integral region value the
Sampler points at. |
bck, equals, fwd, hashCode, move, move, move, move, move, setPosition, setPosition, setPosition, setPosition, setPosition, toString, wrapgetDoublePosition, getFloatPosition, getIntPosition, getLongPosition, localize, localize, localize, localizenumDimensionsclone, finalize, getClass, notify, notifyAll, wait, wait, waitsetPositionAndGet, setPositionAndGet, setPositionAndGetgetDoublePosition, getFloatPosition, getIntPosition, getLongPosition, localize, localize, localize, positionAsLongArray, positionAsPointlocalize, localize, localize, positionAsDoubleArray, positionAsRealPointnumDimensionsbck, fwd, move, move, move, move, move, setPosition, setPosition, setPosition, setPosition, setPositionprotected final RealRandomAccess<T> sourceAccess
protected final R extends RealTransform transformCopy
protected RealTransformRandomAccess()
protected RealTransformRandomAccess(RealTransformRandomAccessible.RealTransformRandomAccess a)
protected final void apply()
public T get()
SamplerSampler points at.public RealTransformRandomAccessible.RealTransformRandomAccess copy()
copy in interface Sampler<T>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)public RealTransformRandomAccessible.RealTransformRandomAccess copyRandomAccess()
copyRandomAccess in interface RandomAccess<T>Copyright © 2015–2022 ImgLib2. All rights reserved.