public interface BufferCacheManager
BufferCacheService
s.Modifier and Type | Field and Description |
---|---|
static int |
BAND_CACHE |
static int |
BAND_VERT_CACHE |
static double |
defaultNoDataValue
Valor noData por defecto para la librería.
|
static int |
DONT_FORCE |
static int |
MEMORY_BUFFER |
static boolean |
noDataValueEnable |
static int |
READ_ONLY_CACHE |
Modifier and Type | Method and Description |
---|---|
Buffer |
createBuffer(BufferParam params)
Genera instancias del buffer de datos adecuado al tamaño del raster.
|
BufferParam |
createBufferParams(int w,
int h)
Builds a new parameter object
|
BufferParam |
createBufferParams(int w,
int h,
int bandCount,
int dataType)
Creates a parameter object for building a buffer.
|
BufferParam |
createBufferParams(java.lang.String[] files,
int x,
int y,
int w,
int h,
int[] bands)
Creates a parameter object for building a buffer.
|
BufferParam |
createBufferParams(java.lang.String file,
int x,
int y,
int w,
int h)
Creates a parameter object for building a buffer.
|
BufferParam |
createBufferParams(java.lang.String file,
int x,
int y,
int w,
int h,
int[] bands)
Creates a parameter object for building a buffer.
|
BufferNoData |
createDefaultNoData(int bandCount,
int dataType)
Builds a new NoData for DEMs
|
BufferHistogram |
createHistogram(int nBands,
double[] min,
double[] max,
int dataType,
int numberOfClasses)
Creates a empty histogram
|
BufferHistogram |
createHistogram(int nBands,
int nClasses,
double[] min,
double[] max)
Creates a empty histogram
|
BufferInterpolation |
createInterpolation(Buffer buf)
Creates a new instance of an interpolation object.
|
Buffer |
createMemoryBuffer(BufferParam params)
Creates an instance of a memory buffer
|
Buffer |
createMemoryBuffer(int dataType,
int width,
int height,
int bandNr,
boolean malloc)
Creates an instance of a memory buffer
|
BufferNoData |
createNoData(java.lang.Number noData,
java.lang.Number nativeNoData,
java.lang.String fileName)
Builds a new NoData for DEMs
|
BufferNoData |
createNoData(java.lang.Number noData,
java.lang.Number nativeNoData,
java.lang.String fileName,
int bandCount)
Builds a new NoData object
|
Buffer |
createReadOnlyBuffer(java.lang.String file)
Genera una instancia del buffer de solo lectura.
|
TaskEventManager |
createTask(java.lang.Object process)
Registers the object as a task using the current thread ID.
|
TaskEventManager |
getTask()
Gets a register task.
|
static final int DONT_FORCE
static final int MEMORY_BUFFER
static final int BAND_CACHE
static final int BAND_VERT_CACHE
static final int READ_ONLY_CACHE
static final double defaultNoDataValue
static final boolean noDataValueEnable
Buffer createBuffer(BufferParam params)
params
- Parámetros de la cargaBuffer createReadOnlyBuffer(java.lang.String file)
file
- File to read dataBuffer createMemoryBuffer(int dataType, int width, int height, int bandNr, boolean malloc)
dataType
- Tipo de datowidth
- Anchoheight
- AltobandNr
- Bandaflag
- En caso de buffers de memoria este flag a true significa que se reserva la memoria
para el buffer de forma normal y si está a false no se reserva por lo que la reserva deberá ser
posterior.Buffer createMemoryBuffer(BufferParam params)
params
- Parameters to instantiate this bufferBufferInterpolation createInterpolation(Buffer buf)
buf
- IRasterBufferBufferParam createBufferParams(int w, int h)
x
- Upper left X positiony
- Upper left X positionw
- Widthh
- HeightBufferParam createBufferParams(int w, int h, int bandCount, int dataType)
BufferParam
object.w
- Widthh
- HeightbandCount
- Number of bandsdataType
- Type of dataBufferParam createBufferParams(java.lang.String[] files, int x, int y, int w, int h, int[] bands) throws java.io.IOException
files
- File list in diskx
- initial pixely
- initial pixelw
- Width in pixelsh
- Height in pixelsbands
- bands to renderBufferParam
java.io.IOException
BufferParam createBufferParams(java.lang.String file, int x, int y, int w, int h, int[] bands) throws java.io.IOException
file
- File in diskx
- initial pixely
- initial pixelw
- Width in pixelsh
- Height in pixelsbands
- bands to renderBufferParam
java.io.IOException
BufferParam createBufferParams(java.lang.String file, int x, int y, int w, int h) throws java.io.IOException
file
- File in diskx
- initial pixely
- initial pixelw
- Width in pixelsh
- Height in pixelsbands
- bands to renderBufferParam
java.io.IOException
BufferNoData createNoData(java.lang.Number noData, java.lang.Number nativeNoData, java.lang.String fileName, int bandCount)
noData
- value to assign to all bandsnativeNoData
- The native is the original value
saved in the head of the file or its metadata.fileName
- Name of file owner of this nodata value. This string is useful to
save the rmf filebandCount
- Number of bands of the fileBufferNoData createNoData(java.lang.Number noData, java.lang.Number nativeNoData, java.lang.String fileName)
noData
- value to assign to all bandsnativeNoData
- The native is the original value
saved in the head of the file or its metadata.fileName
- Name of file owner of this nodata value. This string is useful to
save the rmf fileBufferNoData createDefaultNoData(int bandCount, int dataType)
dataType
- dataType of this NoDatabandCount
- Number of bandsBufferHistogram createHistogram(int nBands, double[] min, double[] max, int dataType, int numberOfClasses)
nBands
- min
- max
- dataType
- numberOfClasses
- BufferHistogram createHistogram(int nBands, int nClasses, double[] min, double[] max)
nBands
- min
- max
- dataType
- numberOfClasses
- TaskEventManager getTask()
TaskEventManager createTask(java.lang.Object process)
process
-