T - public class OutOfBoundsConstantValue<T> extends AbstractOutOfBoundsValue<T>
| Modifier and Type | Field and Description |
|---|---|
protected T |
value |
dimension, dimIsOutOfBounds, isOutOfBounds, max, min, samplerpositionn| Modifier | Constructor and Description |
|---|---|
|
OutOfBoundsConstantValue(F f,
T value) |
protected |
OutOfBoundsConstantValue(OutOfBoundsConstantValue<T> outOfBounds) |
| Modifier and Type | Method and Description |
|---|---|
OutOfBoundsConstantValue<T> |
copy() |
OutOfBoundsConstantValue<T> |
copyRandomAccess() |
T |
get()
Access the actual T instance providing access to a pixel,
sub-pixel or integral region value the
Sampler points at. |
bck, fwd, isOutOfBounds, move, move, move, move, move, setPosition, setPosition, setPosition, setPosition, setPositiongetDoublePosition, getFloatPosition, getIntPosition, getLongPosition, localize, localize, localize, localizenumDimensionsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitsetPositionAndGet, setPositionAndGet, setPositionAndGetgetDoublePosition, getFloatPosition, getIntPosition, getLongPosition, localize, localize, localize, positionAsLongArray, positionAsPointlocalize, localize, localize, positionAsDoubleArray, positionAsRealPointnumDimensionsprotected final T value
protected OutOfBoundsConstantValue(OutOfBoundsConstantValue<T> outOfBounds)
public OutOfBoundsConstantValue(F f,
T value)
public final T get()
SamplerSampler points at.public final OutOfBoundsConstantValue<T> copy()
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 final OutOfBoundsConstantValue<T> copyRandomAccess()
Copyright © 2015–2022 ImgLib2. All rights reserved.