public class PageBandBuffer extends RasterMemoryBuffer
RasterMemoryBuffer.ByteBand, RasterMemoryBuffer.DoubleBand, RasterMemoryBuffer.FloatBand, RasterMemoryBuffer.IntBand, RasterMemoryBuffer.ShortBand
cacheOn, cancel, canceled, dataType, forceToLoadInCache, forceToLoadInReadOnlyCache, height, INTERPOLATION_PROCESS, nBands, noDataValue, notValidValue, progressInterpolation, width
INCREMENTABLE_HISTOGRAM, INCREMENTABLE_INTERPOLATION, INTERPOLATION_BicubicSpline, INTERPOLATION_Bilinear, INTERPOLATION_BSpline, INTERPOLATION_InverseDistance, INTERPOLATION_NearestNeighbour, INTERPOLATION_Undefined, TYPE_BYTE, TYPE_DOUBLE, TYPE_FLOAT, TYPE_IMAGE, TYPE_INT, TYPE_SHORT, TYPE_UNDEFINED, TYPE_USHORT
Constructor and Description |
---|
PageBandBuffer(int dataType,
int width,
int height,
int bandNr,
boolean malloc,
int numBand)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
loadPage(int nPag)
Carga una página especificada en el parámetro nPag con los datos necesarios.
|
void |
savePage(int nPag)
Salva una página especificada en el parámetro nPag a disco.
|
void |
setHddPages(HddPage[] hddList)
Asigna la lista de paginas de disco
|
assign, assign, assign, assign, assign, assignBand, assignBandToNotValid, cloneBuffer, copyBand, createBand, createByteBand, createDoubleBand, createFloatBand, createIntBand, createShortBand, dispose, finalize, getBand, getBandBuffer, getBandCount, getDataSize, getDataType, getElemByte, getElemByte, getElemDouble, getElemDouble, getElemFloat, getElemFloat, getElemInt, getElemInt, getElemShort, getElemShort, getHeight, getLineByte, getLineDouble, getLineFloat, getLineFromBandByte, getLineFromBandDouble, getLineFromBandFloat, getLineFromBandInt, getLineFromBandShort, getLineInt, getLineShort, getWidth, interchangeBands, isBandSwitchable, isReadOnlyBuffer, malloc, mallocOneBand, replicateBand, setDataType, setElem, setElem, setElem, setElem, setElem, setElemByte, setElemDouble, setElemFloat, setElemInt, setElemShort, setLineByte, setLineDouble, setLineFloat, setLineInBandByte, setLineInBandDouble, setLineInBandFloat, setLineInBandInt, setLineInBandShort, setLineInt, setLineShort, sizeof, switchBands, typesToString
accept, addDrawableBands, getAdjustedWindow, getAllBandsLimits, getBlockHeight, getDataExtent, getHistogramComputer, getIncrementableTask, getLimits, getNoDataValue, getNotValidValue, getPercent, getStore, isCached, isFromStore, isInside, resetPercent, setDataExtent, setNoDataValue, setNotValidValue, setProcess, setStore
project
public PageBandBuffer(int dataType, int width, int height, int bandNr, boolean malloc, int numBand)
dataType
- Tipo de datowidth
- Ancho de páginaheight
- Alto de páginabandNr
- Número de bandasmalloc
- true para reservar de memoria en el bufferpublic void setHddPages(HddPage[] hddList)
hddList
- Lista de páginas de discopublic void loadPage(int nPag) throws ProcessInterruptedException
nPag
- Número de página a cargarProcessInterruptedException
public void savePage(int nPag) throws java.io.IOException
nPag
- Número de página a salvarjava.io.IOException