Package net.imglib2.outofbounds
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>
public class OutOfBoundsConstantValue<T> extends AbstractOutOfBoundsValue<T>
-
-
Field Summary
Fields Modifier and Type Field Description protected Tvalue-
Fields inherited from class net.imglib2.outofbounds.AbstractOutOfBoundsValue
dimension, dimIsOutOfBounds, isOutOfBounds, max, min, sampler
-
Fields inherited from class net.imglib2.AbstractLocalizable
position
-
Fields inherited from class net.imglib2.AbstractEuclideanSpace
n
-
-
Constructor Summary
Constructors Modifier Constructor Description OutOfBoundsConstantValue(F f, T value)protectedOutOfBoundsConstantValue(OutOfBoundsConstantValue<T> outOfBounds)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description OutOfBoundsConstantValue<T>copy()(package private) static <T> TcopyIfType(T t)Tget()Access the actual T instance providing access to a pixel, sub-pixel or integral region value theSamplerpoints at.-
Methods inherited from class net.imglib2.outofbounds.AbstractOutOfBoundsValue
bck, fwd, getType, isOutOfBounds, move, move, move, move, move, setPosition, setPosition, setPosition, setPosition, setPosition
-
Methods inherited from class net.imglib2.AbstractLocalizable
getDoublePosition, getFloatPosition, getIntPosition, getLongPosition, localize, localize, localize, localize
-
Methods inherited from class net.imglib2.AbstractEuclideanSpace
numDimensions
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface net.imglib2.EuclideanSpace
numDimensions
-
Methods inherited from interface net.imglib2.Localizable
getDoublePosition, getFloatPosition, getIntPosition, getLongPosition, localize, localize, localize, localize, positionAsLongArray, positionAsPoint
-
Methods inherited from interface net.imglib2.RandomAccess
copyRandomAccess, setPositionAndGet, setPositionAndGet, setPositionAndGet
-
Methods inherited from interface net.imglib2.RealLocalizable
localize, localize, positionAsDoubleArray, positionAsRealPoint
-
-
-
-
Field Detail
-
value
protected final T value
-
-
Constructor Detail
-
OutOfBoundsConstantValue
protected OutOfBoundsConstantValue(OutOfBoundsConstantValue<T> outOfBounds)
-
OutOfBoundsConstantValue
public OutOfBoundsConstantValue(F f, T value)
-
-
Method Detail
-
get
public final T get()
Description copied from interface:SamplerAccess the actual T instance providing access to a pixel, sub-pixel or integral region value theSamplerpoints at.
-
copy
public final OutOfBoundsConstantValue<T> 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)
-
-