T
- public class OutOfBoundsConstantValue<T> extends AbstractOutOfBoundsValue<T>
Modifier and Type | Field and Description |
---|---|
protected T |
value |
dimension, dimIsOutOfBounds, isOutOfBounds, max, min, sampler
position
n
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, setPosition
getDoublePosition, getFloatPosition, getIntPosition, getLongPosition, localize, localize, localize, localize
numDimensions
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
setPositionAndGet, setPositionAndGet, setPositionAndGet
getDoublePosition, getFloatPosition, getIntPosition, getLongPosition, localize, localize, localize, positionAsLongArray, positionAsPoint
localize, localize, localize, positionAsDoubleArray, positionAsRealPoint
numDimensions
protected final T value
protected OutOfBoundsConstantValue(OutOfBoundsConstantValue<T> outOfBounds)
public OutOfBoundsConstantValue(F f, T value)
public final T get()
Sampler
Sampler
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.