- java.lang.Object
-
- bdv.viewer.SourceAndConverter<T>
-
- Direct Known Subclasses:
SourceState
public class SourceAndConverter<T> extends Object
Data source (for one view setup) and a converter to ARGBType.
-
-
Field Summary
Fields Modifier and Type Field Description protected net.imglib2.converter.Converter<T,net.imglib2.type.numeric.ARGBType>converterconvertsspimSourcetype T to ARGBType for displayprotected Source<T>spimSourceprovides image data for all timepoints of one view.protected SourceAndConverter<? extends net.imglib2.Volatile<T>>volatileSourceAndConverter
-
Constructor Summary
Constructors Modifier Constructor Description SourceAndConverter(Source<T> spimSource, net.imglib2.converter.Converter<T,net.imglib2.type.numeric.ARGBType> converter)SourceAndConverter(Source<T> spimSource, net.imglib2.converter.Converter<T,net.imglib2.type.numeric.ARGBType> converter, SourceAndConverter<? extends net.imglib2.Volatile<T>> volatileSourceAndConverter)protectedSourceAndConverter(SourceAndConverter<T> soc)copy constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SourceAndConverter<? extends net.imglib2.Volatile<T>>asVolatile()net.imglib2.converter.Converter<T,net.imglib2.type.numeric.ARGBType>getConverter()Get theConverter(converts source type T to ARGBType for display).Source<T>getSpimSource()Get theSource(provides image data for all timepoints of one angle).
-
-
-
Field Detail
-
converter
protected final net.imglib2.converter.Converter<T,net.imglib2.type.numeric.ARGBType> converter
convertsspimSourcetype T to ARGBType for display
-
volatileSourceAndConverter
protected final SourceAndConverter<? extends net.imglib2.Volatile<T>> volatileSourceAndConverter
-
-
Constructor Detail
-
SourceAndConverter
public SourceAndConverter(Source<T> spimSource, net.imglib2.converter.Converter<T,net.imglib2.type.numeric.ARGBType> converter)
-
SourceAndConverter
public SourceAndConverter(Source<T> spimSource, net.imglib2.converter.Converter<T,net.imglib2.type.numeric.ARGBType> converter, SourceAndConverter<? extends net.imglib2.Volatile<T>> volatileSourceAndConverter)
-
SourceAndConverter
protected SourceAndConverter(SourceAndConverter<T> soc)
copy constructor- Parameters:
soc-
-
-
Method Detail
-
getSpimSource
public Source<T> getSpimSource()
Get theSource(provides image data for all timepoints of one angle).
-
getConverter
public net.imglib2.converter.Converter<T,net.imglib2.type.numeric.ARGBType> getConverter()
Get theConverter(converts source type T to ARGBType for display).
-
asVolatile
public SourceAndConverter<? extends net.imglib2.Volatile<T>> asVolatile()
-
-