T
- original image pixel typeV
- corresponding volatile pixel typepublic class VolatileViewData<T,V extends Volatile<T>> extends Object
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
.
Constructor and Description |
---|
VolatileViewData(RandomAccessible<V> img,
CacheControl cacheControl,
T type,
V volatileType) |
Modifier and Type | Method and Description |
---|---|
CacheControl |
getCacheControl()
Get the
CacheControl for the CachedCellImg (s) at the
bottom of the view cascade. |
RandomAccessible<V> |
getImg()
Get the wrapped
RandomAccessible . |
T |
getType()
Get the pixel type of the original image.
|
V |
getVolatileType()
Get the pixel type of the wrapped
RandomAccessible . |
public VolatileViewData(RandomAccessible<V> img, CacheControl cacheControl, T type, V volatileType)
public RandomAccessible<V> getImg()
RandomAccessible
.RandomAccessible
public CacheControl getCacheControl()
CacheControl
for the CachedCellImg
(s) at the
bottom of the view cascade.CacheControl
for the CachedCellImg
(s) at the
bottom of the view cascadepublic T getType()
public V getVolatileType()
RandomAccessible
.RandomAccessible
Copyright © 2015–2021 Fiji. All rights reserved.