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, set
addObserver, addObserver, addObservers, beginComplexNotification, clearChanged, countObservers, deleteObserver, deleteObserver, deleteObservers, disableNotifications, enableNotifications, endComplexNotification, hasChanged, inComplex, isEnabledNotifications, notify, notifyObservers, notifyObservers, setChanged
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
copyFrom, copyFrom, createRowBuffer, fetchRow, fill, get, getAsDouble, getColumns, getDataType, getNoData, getRows, putRow, set
clone, cloneQuietly, cloneQuietly
beginComplexNotification, disableNotifications, enableNotifications, endComplexNotification
addObserver, deleteObserver, deleteObservers
dispose
protected 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 AbstractBand
CopyFromBandException
protected void doCopyFrom(Band source, int row, int column) throws CopyFromBandException
doCopyFrom
in class AbstractBand
CopyFromBandException
protected void loadTile(int row, int column)
protected void saveCurrentTile()
protected abstract int getDataSize()
public boolean isReadOnly()
isReadOnly
in interface Band
isReadOnly
in class AbstractBand
public boolean isPaginated()
isPaginated
in interface Band
isPaginated
in class AbstractBand
public BandInfo getBandInfo()
Band
null
getBandInfo
in interface Band
getBandInfo
in class AbstractBand
protected int calculateBufferSizeToAllocate(int rows, int columns)
rows
- columns
- public void doDispose() throws BaseException
AbstractBand
AbstractBand.dispose()
method.doDispose
in class AbstractBand
BaseException
AbstractBand.dispose()