public interface BufferFactory
Modifier and Type | Method and Description |
---|---|
Buffer |
createBuffer(BufferParam param)
Creates a buffer with the selected parameters
|
BufferParam |
createBufferParams(int w,
int h,
int bandCount,
int dataType,
boolean malloc)
Creates a parameter object for building a buffer.
|
BufferParam |
createMemoryBufferParams(int w,
int h,
int bandCount,
int dataType,
boolean malloc)
Creates a parameter object for building a buffer.
|
BufferParam |
createReadOnlyBufferParams(RasterDataStore store,
int minx,
int miny,
int maxx,
int maxy,
BandList bandList)
Creates a parameter object for building a buffer.
|
BufferParam createBufferParams(int w, int h, int bandCount, int dataType, boolean malloc)
BufferParam
object.
The buffer will be cached if it's necessaryw
- Widthh
- HeightbandCount
- Number of bandsdataType
- Type of dataBufferParam createMemoryBufferParams(int w, int h, int bandCount, int dataType, boolean malloc)
BufferParam
object.
The buffer will be stored in memory.w
- Widthh
- HeightbandCount
- Number of bandsdataType
- Type of dataBufferParam createReadOnlyBufferParams(RasterDataStore store, int minx, int miny, int maxx, int maxy, BandList bandList)
BufferParam
IOException
Buffer createBuffer(BufferParam param) throws BufferCreationException
param
- BufferCreationException