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(String[] files,
int x,
int y,
int w,
int h,
int[] bands)
Creates a parameter object for building a buffer.
|
BufferParam |
createBufferParams(String file,
int x,
int y,
int w,
int h)
Creates a parameter object for building a buffer.
|
BufferParam |
createBufferParams(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(Number noData,
Number nativeNoData,
String fileName)
Builds a new NoData for DEMs
|
BufferNoData |
createNoData(Number noData,
Number nativeNoData,
String fileName,
int bandCount)
Builds a new NoData object
|
Buffer |
createReadOnlyBuffer(String file)
Genera una instancia del buffer de solo lectura.
|
TaskEventManager |
createTask(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(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(String[] files, int x, int y, int w, int h, int[] bands) throws IOException
files
- File list in diskx
- initial pixely
- initial pixelw
- Width in pixelsh
- Height in pixelsbands
- bands to renderBufferParam
IOException
BufferParam createBufferParams(String file, int x, int y, int w, int h, int[] bands) throws IOException
file
- File in diskx
- initial pixely
- initial pixelw
- Width in pixelsh
- Height in pixelsbands
- bands to renderBufferParam
IOException
BufferParam createBufferParams(String file, int x, int y, int w, int h) throws IOException
file
- File in diskx
- initial pixely
- initial pixelw
- Width in pixelsh
- Height in pixelsbands
- bands to renderBufferParam
IOException
BufferNoData createNoData(Number noData, Number nativeNoData, 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(Number noData, Number nativeNoData, 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(Object process)
process
-