Module org.bigdataviewer.core
Package bdv.util
Class RandomAccessibleIntervalMipmapSource<T extends net.imglib2.type.numeric.NumericType<T>>
- java.lang.Object
-
- bdv.util.AbstractSource<T>
-
- bdv.util.RandomAccessibleIntervalMipmapSource<T>
-
- All Implemented Interfaces:
Source<T>
public class RandomAccessibleIntervalMipmapSource<T extends net.imglib2.type.numeric.NumericType<T>> extends AbstractSource<T>
-
-
Field Summary
Fields Modifier and Type Field Description protected net.imglib2.RandomAccessibleInterval<T>[]mipmapSourcesprotected net.imglib2.realtransform.AffineTransform3D[]mipmapTransforms-
Fields inherited from class bdv.util.AbstractSource
interpolators, name, type, voxelDimensions
-
-
Constructor Summary
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <V extends net.imglib2.Volatile<T> & net.imglib2.type.numeric.NumericType<V>>
VolatileRandomAccessibleIntervalMipmapSource<T,V>asVolatile(SharedQueue queue)<V extends net.imglib2.Volatile<T> & net.imglib2.type.numeric.NumericType<V>>
VolatileRandomAccessibleIntervalMipmapSource<T,V>asVolatile(Supplier<V> vTypeSupplier, SharedQueue queue)<V extends net.imglib2.Volatile<T> & net.imglib2.type.numeric.NumericType<V>>
VolatileRandomAccessibleIntervalMipmapSource<T,V>asVolatile(V vType, SharedQueue queue)intgetNumMipmapLevels()net.imglib2.RandomAccessibleInterval<T>getSource(int t, int level)Get the 3D stack at timepoint index t.voidgetSourceTransform(int t, int level, net.imglib2.realtransform.AffineTransform3D transform)Get the transform from thesourceat the given timepoint index and mipmap level into the global coordinate system.-
Methods inherited from class bdv.util.AbstractSource
doBoundingBoxCulling, getInterpolatedMaskedSource, getInterpolatedSource, getMaskedSource, getName, getType, getVoxelDimensions, isPresent
-
-
-
-
Field Detail
-
mipmapSources
protected final net.imglib2.RandomAccessibleInterval<T extends net.imglib2.type.numeric.NumericType<T>>[] mipmapSources
-
mipmapTransforms
protected final net.imglib2.realtransform.AffineTransform3D[] mipmapTransforms
-
-
Constructor Detail
-
RandomAccessibleIntervalMipmapSource
public RandomAccessibleIntervalMipmapSource(net.imglib2.RandomAccessibleInterval<T>[] imgs, T type, net.imglib2.realtransform.AffineTransform3D[] mipmapTransforms, mpicbg.spim.data.sequence.VoxelDimensions voxelDimensions, String name, boolean doBoundingBoxCulling)
-
RandomAccessibleIntervalMipmapSource
public RandomAccessibleIntervalMipmapSource(net.imglib2.RandomAccessibleInterval<T>[] imgs, T type, double[][] mipmapScales, mpicbg.spim.data.sequence.VoxelDimensions voxelDimensions, net.imglib2.realtransform.AffineTransform3D sourceTransform, String name, boolean doBoundingBoxCulling)
-
RandomAccessibleIntervalMipmapSource
public RandomAccessibleIntervalMipmapSource(net.imglib2.RandomAccessibleInterval<T>[] imgs, T type, double[][] mipmapScales, mpicbg.spim.data.sequence.VoxelDimensions voxelDimensions, net.imglib2.realtransform.AffineTransform3D sourceTransform, String name)
-
RandomAccessibleIntervalMipmapSource
public RandomAccessibleIntervalMipmapSource(net.imglib2.RandomAccessibleInterval<T>[] imgs, T type, double[][] mipmapScales, mpicbg.spim.data.sequence.VoxelDimensions voxelDimensions, String name)
-
-
Method Detail
-
getSource
public net.imglib2.RandomAccessibleInterval<T> getSource(int t, int level)
Description copied from interface:SourceGet the 3D stack at timepoint index t.- Parameters:
t- timepoint indexlevel- mipmap level- Returns:
- the
stack.
-
getSourceTransform
public void getSourceTransform(int t, int level, net.imglib2.realtransform.AffineTransform3D transform)Description copied from interface:SourceGet the transform from thesourceat the given timepoint index and mipmap level into the global coordinate system.- Parameters:
t- timepoint indexlevel- mipmap leveltransform- is set to the source-to-global transform, that transforms source coordinates into the global coordinates
-
getNumMipmapLevels
public int getNumMipmapLevels()
- Specified by:
getNumMipmapLevelsin interfaceSource<T extends net.imglib2.type.numeric.NumericType<T>>- Overrides:
getNumMipmapLevelsin classAbstractSource<T extends net.imglib2.type.numeric.NumericType<T>>
-
asVolatile
public <V extends net.imglib2.Volatile<T> & net.imglib2.type.numeric.NumericType<V>> VolatileRandomAccessibleIntervalMipmapSource<T,V> asVolatile(V vType, SharedQueue queue)
-
asVolatile
public <V extends net.imglib2.Volatile<T> & net.imglib2.type.numeric.NumericType<V>> VolatileRandomAccessibleIntervalMipmapSource<T,V> asVolatile(Supplier<V> vTypeSupplier, SharedQueue queue)
-
asVolatile
public <V extends net.imglib2.Volatile<T> & net.imglib2.type.numeric.NumericType<V>> VolatileRandomAccessibleIntervalMipmapSource<T,V> asVolatile(SharedQueue queue)
-
-