Module org.bigdataviewer.core
Package bdv.util.volatiles
Class VolatileViewData<T,V extends net.imglib2.Volatile<T>>
- java.lang.Object
-
- bdv.util.volatiles.VolatileViewData<T,V>
-
- Type Parameters:
T- original image pixel typeV- corresponding volatile pixel type
public class VolatileViewData<T,V extends net.imglib2.Volatile<T>> extends Object
Metadata associated with aVolatileView. It comprises the types of the original and volatile image, aCacheControlfor the volatile cache, and the wrappedRandomAccessible.VolatileViewDatais used while wrapping deeper layers of a view cascade (ending at aCachedCellImg) and only on the top layer wrapped as aRandomAccessible/RandomAccessibleInterval.- Author:
- Tobias Pietzsch
-
-
Constructor Summary
Constructors Constructor Description VolatileViewData(net.imglib2.RandomAccessible<V> img, CacheControl cacheControl, T type, V volatileType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CacheControlgetCacheControl()Get theCacheControlfor theCachedCellImg(s) at the bottom of the view cascade.net.imglib2.RandomAccessible<V>getImg()Get the wrappedRandomAccessible.TgetType()Get the pixel type of the original image.VgetVolatileType()Get the pixel type of the wrappedRandomAccessible.
-
-
-
Constructor Detail
-
VolatileViewData
public VolatileViewData(net.imglib2.RandomAccessible<V> img, CacheControl cacheControl, T type, V volatileType)
-
-
Method Detail
-
getImg
public net.imglib2.RandomAccessible<V> getImg()
Get the wrappedRandomAccessible.- Returns:
- the wrapped
RandomAccessible
-
getCacheControl
public CacheControl getCacheControl()
Get theCacheControlfor theCachedCellImg(s) at the bottom of the view cascade.- Returns:
- the
CacheControlfor theCachedCellImg(s) at the bottom of the view cascade
-
getType
public T getType()
Get the pixel type of the original image.- Returns:
- the pixel type of the original image
-
getVolatileType
public V getVolatileType()
Get the pixel type of the wrappedRandomAccessible.- Returns:
- the pixel type of the wrapped
RandomAccessible
-
-