public abstract class AbstractTiledBand extends AbstractBand implements Band
Band.BandByte, Band.BandDouble, Band.BandFloat, Band.BandInt, Band.BandShort| Modifier and Type | Field and Description |
|---|---|
protected int |
columnsInTile |
protected int |
columnsPerTile |
protected java.nio.Buffer |
data |
protected int |
firstColumnOfTile |
protected int |
firstRowOfTile |
protected int |
rowsInTile |
protected int |
rowsPerTile |
protected BandTileManager |
tileManager |
logger| Constructor and Description |
|---|
AbstractTiledBand(int rows,
int columns,
NoData noData,
BandTileManager tileManager) |
| Modifier and Type | Method and Description |
|---|---|
protected int |
calculateBufferSizeToAllocate(int rows,
int columns)
Calculate buffer size than must be allocated.
|
protected void |
doCopyFrom(Band source) |
protected void |
doCopyFrom(Band source,
int row,
int column) |
void |
doDispose()
Internal implementation for the
AbstractBand.dispose() method. |
BandInfo |
getBandInfo()
Gets information about the specified band.
|
protected abstract int |
getDataSize() |
boolean |
isPaginated() |
boolean |
isReadOnly() |
protected void |
loadTile(int row,
int column) |
protected void |
saveCurrentTile() |
clone, copyFrom, copyFrom, dispose, doFill, doPutRow, doSet, fill, finalize, getAsDouble, getColumns, getNoData, getRows, nullValueToNoData, putRow, setaddObserver, addObserver, addObservers, beginComplexNotification, clearChanged, countObservers, deleteObserver, deleteObserver, deleteObservers, disableNotifications, enableNotifications, endComplexNotification, hasChanged, inComplex, isEnabledNotifications, notify, notifyObservers, notifyObservers, setChangedequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcopyFrom, copyFrom, createRowBuffer, fetchRow, fill, get, getAsDouble, getColumns, getDataType, getNoData, getRows, putRow, setclone, cloneQuietly, cloneQuietlybeginComplexNotification, disableNotifications, enableNotifications, endComplexNotificationaddObserver, deleteObserver, deleteObserversdisposeprotected java.nio.Buffer data
protected int firstRowOfTile
protected int firstColumnOfTile
protected int rowsPerTile
protected int columnsPerTile
protected BandTileManager tileManager
protected int rowsInTile
protected int columnsInTile
public AbstractTiledBand(int rows,
int columns,
NoData noData,
BandTileManager tileManager)
rows - columns - noData - tileManager - protected void doCopyFrom(Band source) throws CopyFromBandException
doCopyFrom in class AbstractBandCopyFromBandExceptionprotected void doCopyFrom(Band source, int row, int column) throws CopyFromBandException
doCopyFrom in class AbstractBandCopyFromBandExceptionprotected void loadTile(int row,
int column)
protected void saveCurrentTile()
protected abstract int getDataSize()
public boolean isReadOnly()
isReadOnly in interface BandisReadOnly in class AbstractBandpublic boolean isPaginated()
isPaginated in interface BandisPaginated in class AbstractBandpublic BandInfo getBandInfo()
BandnullgetBandInfo in interface BandgetBandInfo in class AbstractBandprotected int calculateBufferSizeToAllocate(int rows,
int columns)
rows - columns - public void doDispose()
throws BaseException
AbstractBandAbstractBand.dispose() method.doDispose in class AbstractBandBaseExceptionAbstractBand.dispose()