public abstract class AbstractCachedViewerSetupImgLoader<T extends NativeType<T>,V extends Volatile<T> & NativeType<V>,A extends VolatileAccess & DataAccess> extends AbstractViewerSetupImgLoader<T,V>
ViewerSetupImgLoader with a VolatileGlobalCellCache.| Modifier and Type | Field and Description |
|---|---|
protected VolatileGlobalCellCache |
cache |
protected int[][] |
cellDimensions |
protected long[][] |
dimensions |
protected CacheArrayLoader<A> |
loader |
protected AffineTransform3D[] |
mipmapTransforms |
protected double[][] |
resolutions |
protected int |
setupId |
type, volatileType| Constructor and Description |
|---|
AbstractCachedViewerSetupImgLoader(int setupId,
long[][] dimensions,
int[][] cellDimensions,
double[][] resolutions,
T type,
V vType,
CacheArrayLoader<A> loader,
VolatileGlobalCellCache cache) |
| Modifier and Type | Method and Description |
|---|---|
RandomAccessibleInterval<T> |
getImage(int timepointId,
int level,
ImgLoaderHint... hints) |
double[][] |
getMipmapResolutions() |
AffineTransform3D[] |
getMipmapTransforms() |
RandomAccessibleInterval<V> |
getVolatileImage(int timepointId,
int level,
ImgLoaderHint... hints) |
int |
numMipmapLevels() |
protected <S extends NativeType<S>> |
prepareCachedImage(int timepointId,
int level,
LoadingStrategy loadingStrategy,
S t) |
getImage, getImageType, getVolatileImageTypeprotected final long[][] dimensions
protected final int[][] cellDimensions
protected final double[][] resolutions
protected final AffineTransform3D[] mipmapTransforms
protected VolatileGlobalCellCache cache
protected final CacheArrayLoader<A extends VolatileAccess & DataAccess> loader
protected final int setupId
public AbstractCachedViewerSetupImgLoader(int setupId,
long[][] dimensions,
int[][] cellDimensions,
double[][] resolutions,
T type,
V vType,
CacheArrayLoader<A> loader,
VolatileGlobalCellCache cache)
public double[][] getMipmapResolutions()
public int numMipmapLevels()
protected <S extends NativeType<S>> VolatileCachedCellImg<S,A> prepareCachedImage(int timepointId, int level, LoadingStrategy loadingStrategy, S t)
public RandomAccessibleInterval<T> getImage(int timepointId, int level, ImgLoaderHint... hints)
public RandomAccessibleInterval<V> getVolatileImage(int timepointId, int level, ImgLoaderHint... hints)
public AffineTransform3D[] getMipmapTransforms()
Copyright © 2012–2024 BigDataViewer. All rights reserved.