Package net.imglib2.converter.read
Class ConvertedCursor<A,B extends Type<B>>
java.lang.Object
net.imglib2.converter.AbstractConvertedCursor<A,B>
net.imglib2.converter.read.ConvertedCursor<A,B>
- All Implemented Interfaces:
Iterator<B>
,Cursor<B>
,EuclideanSpace
,Iterator
,Localizable
,RealCursor<B>
,RealLocalizable
,Sampler<B>
TODO
-
Field Summary
FieldsFields inherited from class net.imglib2.converter.AbstractConvertedCursor
source
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class net.imglib2.converter.AbstractConvertedCursor
copyCursor, fwd, getDoublePosition, getFloatPosition, getIntPosition, getLongPosition, hasNext, jumpFwd, localize, localize, localize, localize, next, numDimensions, remove, reset
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.util.Iterator
forEachRemaining
-
Field Details
-
converter
-
converted
-
-
Constructor Details
-
ConvertedCursor
Creates a copy of b for conversion that can be accessed throughget()
.- Parameters:
source
-converter
-b
-
-
-
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 classAbstractConvertedCursor<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)
-