Class VolatileViewData<T,​V extends net.imglib2.Volatile<T>>

  • Type Parameters:
    T - original image pixel type
    V - corresponding volatile pixel type

    public class VolatileViewData<T,​V extends net.imglib2.Volatile<T>>
    extends Object
    Metadata associated with a VolatileView. It comprises the types of the original and volatile image, a CacheControl for the volatile cache, and the wrapped RandomAccessible.

    VolatileViewData is used while wrapping deeper layers of a view cascade (ending at a CachedCellImg) and only on the top layer wrapped as a RandomAccessible / RandomAccessibleInterval.

    Author:
    Tobias Pietzsch
    • Method Detail

      • getCacheControl

        public CacheControl getCacheControl()
        Get the CacheControl for the CachedCellImg(s) at the bottom of the view cascade.
        Returns:
        the CacheControl for the CachedCellImg(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 wrapped RandomAccessible.
        Returns:
        the pixel type of the wrapped RandomAccessible