Package net.imglib2.converter.read
Class ConvertedRealRandomAccess<A,B extends Type<B>>
java.lang.Object
net.imglib2.converter.AbstractConvertedRealRandomAccess<A,B>
net.imglib2.converter.read.ConvertedRealRandomAccess<A,B>
- All Implemented Interfaces:
EuclideanSpace
,Positionable
,RealLocalizable
,RealPositionable
,RealRandomAccess<B>
,Sampler<B>
public final class ConvertedRealRandomAccess<A,B extends Type<B>>
extends AbstractConvertedRealRandomAccess<A,B>
TODO
-
Field Summary
FieldsFields inherited from class net.imglib2.converter.AbstractConvertedRealRandomAccess
source
-
Constructor Summary
ConstructorsConstructorDescriptionConvertedRealRandomAccess
(RealRandomAccess<A> source, Converter<? super A, ? super B> converter, B b) -
Method Summary
Methods inherited from class net.imglib2.converter.AbstractConvertedRealRandomAccess
bck, copyRealRandomAccess, fwd, getDoublePosition, getFloatPosition, localize, localize, move, move, move, move, move, move, move, move, move, move, numDimensions, setPosition, setPosition, setPosition, setPosition, setPosition, setPosition, setPosition, setPosition, setPosition, setPosition
-
Field Details
-
converter
-
converted
-
-
Constructor Details
-
ConvertedRealRandomAccess
-
-
Method Details
-
get
Description copied from interface:Sampler
Access the actual T instance providing access to a pixel, sub-pixel or integral region value theSampler
points at. -
copy
- Specified by:
copy
in interfaceSampler<A>
- Specified by:
copy
in classAbstractConvertedRealRandomAccess<A,
B extends Type<B>> - Returns:
- - A new
Sampler
in 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 anArrayCursor
for example)
-