public interface BufferNoData
Modifier and Type | Field and Description |
---|---|
static byte |
defaultByteNoDataValue |
static double |
defaultDoubleNoDataValue |
static float |
defaultFloatNoDataValue |
static int |
defaultIntegerNoDataValue |
static short |
defaultShortNoDataValue |
Modifier and Type | Method and Description |
---|---|
Object |
clone()
Creates and returns a copy of this object.
|
boolean |
compare(BufferNoData noData)
Compares two NoData objects an returns true if contains the same values
|
void |
delete()
Deletes the nodata value.
|
int |
getBandCount()
Gets the number of bands
|
int |
getDataType()
Gets the NoData data type
|
String |
getFileName()
Gets the file name
|
Number |
getNativeValue()
The native is the original value
saved in the head of the file or its metadata.
|
Number |
getValue()
Gets a unique value for nodata.
|
Number |
getValueByBand(int nBand)
Gets the nodata value by band
|
boolean |
isDefined()
Returns true if getValue is defined and false if is null
|
boolean |
isNoDataTransparent()
Flag to renderize nodata values as transparent
|
void |
restore()
Restores native value.
|
void |
setBandCount(int bandCount)
Sets the number of bands
|
void |
setDataType(int datatype)
Sets the datatype
|
void |
setFileName(String fileName)
Sets the file name
|
void |
setNativeValue(Number nativeNoDataValue)
The native is the original value
saved in the head of the file or its metadata.
|
void |
setNoDataTransparent(boolean noDataAsTransparent)
Flag to renderize nodata values as transparent
|
void |
setValue(Number noData)
Sets a unique value for nodata.
|
void |
setValueByBand(Number noDataValue,
int nBand)
Assigns one value in a band
|
static final byte defaultByteNoDataValue
static final short defaultShortNoDataValue
static final int defaultIntegerNoDataValue
static final float defaultFloatNoDataValue
static final double defaultDoubleNoDataValue
Number getValue()
void setValue(Number noData)
noData
- the noData to setboolean isDefined()
void delete()
void restore()
Number getNativeValue()
void setNativeValue(Number nativeNoDataValue)
nativeNoDataValue
- void setFileName(String fileName)
bandCount
- String getFileName()
boolean isNoDataTransparent()
void setNoDataTransparent(boolean noDataAsTransparent)
noDataAsTransparent
- int getDataType()
void setDataType(int datatype)
boolean compare(BufferNoData noData)
noData
- Object clone()
Number getValueByBand(int nBand)
nBand
- int getBandCount()
void setBandCount(int bandCount)
bandCount
- void setValueByBand(Number noDataValue, int nBand)
noDataValue
-