public class BufferParamImpl extends java.lang.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)
BufferParam
setAccessType
in interface BufferParam
public int getAccessType()
BufferParam
getAccessType
in interface BufferParam
public void setBandList(BandList bandList)
BufferParam
setBandList
in interface BufferParam
public BandList getBandList()
BufferParam
getBandList
in interface BufferParam
public int getDataType()
BufferParam
getDataType
in interface BufferParam
public void setDataType(int dataType)
BufferParam
setDataType
in interface BufferParam
public int getBandCount()
BufferParam
getBandCount
in interface BufferParam
public void setBandCount(int bandCount)
BufferParam
setBandCount
in interface BufferParam
public int getWidth()
BufferParam
getWidth
in interface BufferParam
public void setWidth(int width)
BufferParam
setWidth
in interface BufferParam
width
- Width in pixels of this rasterpublic int getHeight()
BufferParam
getHeight
in interface BufferParam
public void setHeight(int height)
BufferParam
setHeight
in interface BufferParam
height
- Height in pixels of this rasterpublic int getX()
BufferParam
getX
in interface BufferParam
public void setX(int x)
BufferParam
setX
in interface BufferParam
public int getY()
BufferParam
getY
in interface BufferParam
public void setY(int y)
BufferParam
setY
in interface BufferParam
public void setDataStore(RasterDataStore roDataSource)
setDataStore
in interface BufferParam
public RasterDataStore getDataStore()
getDataStore
in interface BufferParam
public void setMalloc(boolean malloc)
setMalloc
in interface BufferParam
public boolean isMalloc()
isMalloc
in interface BufferParam
public void setRoWindow(int[] roWindow)
setRoWindow
in interface BufferParam
public int[] getRoWindow()
getRoWindow
in interface BufferParam
public void setRoWindowExtent(Extent roWindow)
setRoWindowExtent
in interface BufferParam
public Extent getRoWindowExtent()
getRoWindowExtent
in interface BufferParam