public abstract class DynamicContainer<T extends Type<T>,A extends DynamicContainerAccessor> extends DirectAccessContainerImpl<T,A>
Modifier and Type | Field and Description |
---|---|
protected int |
numEntities |
protected int |
numPixels |
protected int[] |
step |
linkedType
entitiesPerPixel
dim, id, numDimensions
Constructor and Description |
---|
DynamicContainer(DynamicContainerFactory factory,
int[] dim,
int entitiesPerPixel) |
Modifier and Type | Method and Description |
---|---|
boolean |
compareStorageContainerCompatibility(Container<?> container) |
abstract A |
createAccessor()
Creates a Cursor-specific Accessor reading from the ArrayList,
the Cursor creates it himself in his constructor
|
DynamicCursor<T> |
createCursor(Image<T> image) |
LocalizableByDimCursor<T> |
createLocalizableByDimCursor(Image<T> image) |
LocalizableByDimCursor<T> |
createLocalizableByDimCursor(Image<T> image,
OutOfBoundsStrategyFactory<T> outOfBoundsFactory) |
DynamicLocalizableCursor<T> |
createLocalizableCursor(Image<T> image) |
LocalizablePlaneCursor<T> |
createLocalizablePlaneCursor(Image<T> image) |
int |
getNumEntities() |
int |
getNumPixels() |
int |
getPos(int[] l) |
int |
getStep(int dim) |
int[] |
getSteps() |
setLinkedType
getNumEntities, getNumEntitiesPerPixel
compareStorageContainerDimensions, getDimension, getDimensions, getDimensions, getFactory, getId, getNumDimensions, getNumPixels, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
update
getNumEntitiesPerPixel
close, compareStorageContainerDimensions, getDimension, getDimensions, getDimensions, getFactory, getId, getNumDimensions
protected final int[] step
protected int numPixels
protected int numEntities
public DynamicContainer(DynamicContainerFactory factory, int[] dim, int entitiesPerPixel)
public int[] getSteps()
public int getStep(int dim)
public final int getPos(int[] l)
public abstract A createAccessor()
public int getNumEntities()
getNumEntities
in interface PixelGridContainer<T extends Type<T>>
getNumEntities
in class PixelGridContainerImpl<T extends Type<T>>
public int getNumPixels()
getNumPixels
in interface Container<T extends Type<T>>
getNumPixels
in class ContainerImpl<T extends Type<T>>
public DynamicCursor<T> createCursor(Image<T> image)
public LocalizableByDimCursor<T> createLocalizableByDimCursor(Image<T> image)
public LocalizableByDimCursor<T> createLocalizableByDimCursor(Image<T> image, OutOfBoundsStrategyFactory<T> outOfBoundsFactory)
public DynamicLocalizableCursor<T> createLocalizableCursor(Image<T> image)
public LocalizablePlaneCursor<T> createLocalizablePlaneCursor(Image<T> image)
public boolean compareStorageContainerCompatibility(Container<?> container)
Copyright © 2015–2021 Fiji. All rights reserved.