public class BufferFactoryImpl extends Object implements BufferFactory
| Constructor and Description |
|---|
BufferFactoryImpl() |
| 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.
|
public Buffer createBuffer(BufferParam param) throws BufferCreationException
BufferFactorycreateBuffer in interface BufferFactoryBufferCreationExceptionpublic BufferParam createBufferParams(int w, int h, int bandCount, int dataType, boolean malloc)
BufferFactoryBufferParam object.
The buffer will be cached if it's necessarycreateBufferParams in interface BufferFactoryw - Widthh - HeightbandCount - Number of bandsdataType - Type of datapublic BufferParam createMemoryBufferParams(int w, int h, int bandCount, int dataType, boolean malloc)
BufferFactoryBufferParam object.
The buffer will be stored in memory.createMemoryBufferParams in interface BufferFactoryw - Widthh - HeightbandCount - Number of bandsdataType - Type of datapublic BufferParam createReadOnlyBufferParams(RasterDataStore store, int minx, int miny, int maxx, int maxy, BandList bandList)
BufferFactorycreateReadOnlyBufferParams in interface BufferFactoryBufferParam