public abstract class RasterBase
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
double |
noDataValue |
| Constructor and Description |
|---|
RasterBase(int x,
int y,
int w,
int h)
Sets size and position values
|
RasterBase(int x,
int y,
int w,
int h,
int dataType,
int nBands)
Sets size and position values
|
| Modifier and Type | Method and Description |
|---|---|
void |
bandLessLess()
Substracts one to the band counter
|
void |
bandPlusPlus()
Adds one to the band counter
|
int |
getBandCount()
Gets number of bands
|
int |
getDataSize()
Gets the size of the data type in bytes
|
int |
getDataType()
Gets the data type
|
int |
getHeight()
Returns the height in pixels
|
double |
getNoDataValue()
Gets no data value
|
int |
getWidth()
Returns the width in pixels
|
int |
getX()
Returns the X upper left coordinate
|
int |
getY()
Returns the Y upper left coordinate
|
void |
setBandCount(int bandCount)
Sets number of bands
|
void |
setDataType(int dataType)
Sets the data type
|
void |
setHeight(int height)
Sets the height in pixels
|
void |
setNoDataValue(double noDataValue)
Sets no data value
|
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
|
long |
sizeof()
Gets the buffer size
|
public RasterBase(int x,
int y,
int w,
int h)
x - Upper left X positiony - Upper left X positionw - Widthh - Heightpublic RasterBase(int x,
int y,
int w,
int h,
int dataType,
int nBands)
x - Upper left X positiony - Upper left X positionw - Widthh - Heightdatatype - Data type of this rasternBands - Number of bands of this rasterpublic int getWidth()
public void setWidth(int width)
width - Width in pixels of this rasterpublic int getHeight()
public void setHeight(int height)
height - Height in pixels of this rasterpublic int getX()
public void setX(int x)
public int getY()
public void setY(int y)
public int getDataType()
public void setDataType(int dataType)
dataType - public int getBandCount()
public void setBandCount(int bandCount)
bandCount - public void bandPlusPlus()
public void bandLessLess()
public double getNoDataValue()
public void setNoDataValue(double noDataValue)
public int getDataSize()
public long sizeof()