Class OutOfBoundsConstantValue<T>
java.lang.Object
net.imglib2.AbstractEuclideanSpace
net.imglib2.AbstractLocalizable
net.imglib2.outofbounds.AbstractOutOfBoundsValue<T>
net.imglib2.outofbounds.OutOfBoundsConstantValue<T>
- Type Parameters:
T-
- All Implemented Interfaces:
EuclideanSpace, Localizable, Bounded, OutOfBounds<T>, Positionable, RandomAccess<T>, RealLocalizable, Sampler<T>, Typed<T>
-
Field Summary
FieldsFields inherited from class AbstractOutOfBoundsValue
dimension, dimIsOutOfBounds, isOutOfBounds, max, min, samplerFields inherited from class AbstractLocalizable
positionFields inherited from class AbstractEuclideanSpace
n -
Constructor Summary
ConstructorsModifierConstructorDescription<F extends Interval & RandomAccessible<T>>OutOfBoundsConstantValue(F f, T value) protectedOutOfBoundsConstantValue(OutOfBoundsConstantValue<T> outOfBounds) -
Method Summary
Modifier and TypeMethodDescriptionfinal OutOfBoundsConstantValue<T> copy()(package private) static <T> TcopyIfType(T t) final Tget()Access the actual T instance providing access to a pixel, sub-pixel or integral region value theSamplerpoints at.Methods inherited from class AbstractOutOfBoundsValue
bck, fwd, getType, isOutOfBounds, move, move, move, move, move, setPosition, setPosition, setPosition, setPosition, setPositionMethods inherited from class AbstractLocalizable
getDoublePosition, getFloatPosition, getIntPosition, getLongPosition, localize, localize, localize, localizeMethods inherited from class AbstractEuclideanSpace
numDimensionsMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface EuclideanSpace
numDimensionsMethods inherited from interface Localizable
getDoublePosition, getFloatPosition, getIntPosition, getLongPosition, localize, localize, localize, localize, positionAsLongArray, positionAsPointMethods inherited from interface RandomAccess
copyRandomAccess, setPositionAndGet, setPositionAndGet, setPositionAndGetMethods inherited from interface RealLocalizable
localize, localize, positionAsDoubleArray, positionAsRealPoint
-
Field Details
-
value
-
-
Constructor Details
-
OutOfBoundsConstantValue
-
OutOfBoundsConstantValue
-
-
Method Details
-
get
-
copy
- Returns:
- - A new
Samplerin the same state accessing the same values. It does NOT copy T, just the state of theSampler. 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 anArrayCursorfor example)
-
copyIfType
static <T> T copyIfType(T t)
-