public class FunctionRandomAccessible.FunctionRandomAccess extends Point implements RandomAccess<T>
positionn| Constructor and Description |
|---|
FunctionRandomAccess() |
| Modifier and Type | Method and Description |
|---|---|
FunctionRandomAccessible.FunctionRandomAccess |
copy() |
T |
get()
Access the actual T instance providing access to a pixel,
sub-pixel or integral region value the
Sampler points at. |
T |
getType()
Get an instance of
T. |
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, waitcopyRandomAccess, setPositionAndGet, setPositionAndGet, setPositionAndGetgetDoublePosition, getFloatPosition, getIntPosition, getLongPosition, localize, localize, localize, localize, positionAsLongArray, positionAsPointlocalize, localize, positionAsDoubleArray, positionAsRealPointnumDimensionsbck, fwd, move, move, move, move, move, setPosition, setPosition, setPosition, setPosition, setPositionpublic T get()
SamplerSampler points at.public T getType()
TypedT.
It should not be assumed that the returned T instance is an
independent copy. In particular, repeated calls to getType() may
return the same instance.
public FunctionRandomAccessible.FunctionRandomAccess copy()
copy in interface RandomAccess<T>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)Copyright © 2009–2024 ImgLib2. All rights reserved.