public class BufferParamImpl extends Object implements BufferParam
CACHED, MEMORY, READ_ONLY, UNDEFINED| Constructor and Description |
|---|
BufferParamImpl(int w,
int h,
int bandCount,
int dataType,
boolean malloc,
int accessType)
Creates a parameter object for building a buffer.
|
BufferParamImpl(RasterDataStore roDataSource,
int[] window,
BandList bandList)
Creates a parameter object for building a buffer.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getAccessType()
Gets the type of access defined as constant in Buffer interface
|
int |
getBandCount()
Gets number of bands
|
BandList |
getBandList()
Gets the band list
|
RasterDataStore |
getDataStore() |
int |
getDataType()
Gets the data type
|
int |
getHeight()
Returns the height in pixels
|
int[] |
getRoWindow() |
Extent |
getRoWindowExtent() |
int |
getWidth()
Returns the width in pixels
|
int |
getX()
Returns the X upper left coordinate
|
int |
getY()
Returns the Y upper left coordinate
|
boolean |
isMalloc() |
void |
setAccessType(int accessType)
Sets the type of access defined as constant in Buffer interface
|
void |
setBandCount(int bandCount)
Sets number of bands
|
void |
setBandList(BandList bandList)
Sets the band list
|
void |
setDataStore(RasterDataStore roDataSource) |
void |
setDataType(int dataType)
Sets the data type
|
void |
setHeight(int height)
Sets the height in pixels
|
void |
setMalloc(boolean malloc) |
void |
setRoWindow(int[] roWindow) |
void |
setRoWindowExtent(Extent roWindow) |
void |
setWidth(int width)
Sets the width in pixels
|
void |
setX(int x)
Sets the X upper left coordinate
|
void |
setY(int y)
Sets the Y upper left coordinate
|
public BufferParamImpl(int w,
int h,
int bandCount,
int dataType,
boolean malloc,
int accessType)
BufferParam object.w - Widthh - HeightbandCount - Number of bandsdataType - Type of datapublic BufferParamImpl(RasterDataStore roDataSource, int[] window, BandList bandList)
public void setAccessType(int accessType)
BufferParamsetAccessType in interface BufferParampublic int getAccessType()
BufferParamgetAccessType in interface BufferParampublic void setBandList(BandList bandList)
BufferParamsetBandList in interface BufferParampublic BandList getBandList()
BufferParamgetBandList in interface BufferParampublic int getDataType()
BufferParamgetDataType in interface BufferParampublic void setDataType(int dataType)
BufferParamsetDataType in interface BufferParampublic int getBandCount()
BufferParamgetBandCount in interface BufferParampublic void setBandCount(int bandCount)
BufferParamsetBandCount in interface BufferParampublic int getWidth()
BufferParamgetWidth in interface BufferParampublic void setWidth(int width)
BufferParamsetWidth in interface BufferParamwidth - Width in pixels of this rasterpublic int getHeight()
BufferParamgetHeight in interface BufferParampublic void setHeight(int height)
BufferParamsetHeight in interface BufferParamheight - Height in pixels of this rasterpublic int getX()
BufferParamgetX in interface BufferParampublic void setX(int x)
BufferParamsetX in interface BufferParampublic int getY()
BufferParamgetY in interface BufferParampublic void setY(int y)
BufferParamsetY in interface BufferParampublic void setDataStore(RasterDataStore roDataSource)
setDataStore in interface BufferParampublic RasterDataStore getDataStore()
getDataStore in interface BufferParampublic void setMalloc(boolean malloc)
setMalloc in interface BufferParampublic boolean isMalloc()
isMalloc in interface BufferParampublic void setRoWindow(int[] roWindow)
setRoWindow in interface BufferParampublic int[] getRoWindow()
getRoWindow in interface BufferParampublic void setRoWindowExtent(Extent roWindow)
setRoWindowExtent in interface BufferParampublic Extent getRoWindowExtent()
getRoWindowExtent in interface BufferParam