Package net.imglib2.view
Class BundleView.BundleRandomAccess
- java.lang.Object
-
- net.imglib2.converter.AbstractConvertedRandomAccess<T,RandomAccess<T>>
-
- net.imglib2.view.BundleView.BundleRandomAccess
-
- All Implemented Interfaces:
EuclideanSpace,Localizable,Positionable,RandomAccess<RandomAccess<T>>,RealLocalizable,Sampler<RandomAccess<T>>,Typed<RandomAccess<T>>
- Enclosing class:
- BundleView<T>
class BundleView.BundleRandomAccess extends AbstractConvertedRandomAccess<T,RandomAccess<T>>
-
-
Field Summary
-
Fields inherited from class net.imglib2.converter.AbstractConvertedRandomAccess
source
-
-
Constructor Summary
Constructors Constructor Description BundleRandomAccess(RandomAccess<T> source)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BundleView.BundleRandomAccesscopy()RandomAccess<T>get()Access the actual T instance providing access to a pixel, sub-pixel or integral region value theSamplerpoints at.RandomAccess<T>getType()Get an instance ofT.-
Methods inherited from class net.imglib2.converter.AbstractConvertedRandomAccess
bck, fwd, getDoublePosition, getFloatPosition, getIntPosition, getLongPosition, localize, localize, localize, localize, move, move, move, move, move, numDimensions, setPosition, setPosition, setPosition, setPosition, setPosition
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface net.imglib2.Localizable
localize, localize, positionAsLongArray, positionAsPoint
-
Methods inherited from interface net.imglib2.RandomAccess
copyRandomAccess, setPositionAndGet, setPositionAndGet, setPositionAndGet
-
Methods inherited from interface net.imglib2.RealLocalizable
positionAsDoubleArray, positionAsRealPoint
-
-
-
-
Constructor Detail
-
BundleRandomAccess
BundleRandomAccess(RandomAccess<T> source)
-
-
Method Detail
-
get
public RandomAccess<T> get()
Description copied from interface:SamplerAccess the actual T instance providing access to a pixel, sub-pixel or integral region value theSamplerpoints at.
-
getType
public RandomAccess<T> getType()
Description copied from interface:TypedGet an instance ofT.It should not be assumed that the returned
Tinstance is an independent copy. In particular, repeated calls togetType()may return the same instance.- Returns:
- an instance of
T
-
copy
public BundleView.BundleRandomAccess copy()
- Specified by:
copyin interfaceRandomAccess<RandomAccess<T>>- Specified by:
copyin interfaceSampler<RandomAccess<T>>- Specified by:
copyin classAbstractConvertedRandomAccess<T,RandomAccess<T>>- 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)
-
-