Package net.imglib2.converter.readwrite
Class WriteConvertedCursor<A,B>
- java.lang.Object
-
- net.imglib2.converter.AbstractConvertedCursor<A,B>
-
- net.imglib2.converter.readwrite.WriteConvertedCursor<A,B>
-
- All Implemented Interfaces:
java.util.Iterator<B>
,Cursor<B>
,EuclideanSpace
,Iterator
,Localizable
,RealCursor<B>
,RealLocalizable
,Sampler<B>
public class WriteConvertedCursor<A,B> extends AbstractConvertedCursor<A,B>
TODO
-
-
Field Summary
-
Fields inherited from class net.imglib2.converter.AbstractConvertedCursor
source
-
-
Constructor Summary
Constructors Constructor Description WriteConvertedCursor(Cursor<A> source, SamplerConverter<? super A,B> converter)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description WriteConvertedCursor<A,B>
copy()
B
get()
Access the actual T instance providing access to a pixel, sub-pixel or integral region value theSampler
points at.-
Methods inherited from class net.imglib2.converter.AbstractConvertedCursor
copyCursor, fwd, getDoublePosition, getFloatPosition, getIntPosition, getLongPosition, hasNext, jumpFwd, localize, localize, localize, localize, next, numDimensions, remove, reset
-
-
-
-
Constructor Detail
-
WriteConvertedCursor
public WriteConvertedCursor(Cursor<A> source, SamplerConverter<? super A,B> converter)
-
-
Method Detail
-
get
public B 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
public WriteConvertedCursor<A,B> copy()
- Specified by:
copy
in interfaceSampler<A>
- Specified by:
copy
in classAbstractConvertedCursor<A,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)
-
-