es.unex.sextante.outputs
Class OutputRasterLayer
java.lang.Object
es.unex.sextante.outputs.Output
es.unex.sextante.outputs.OutputRasterLayer
public class OutputRasterLayer
- extends Output
An output representing a raster layer
- Author:
- volaya
Method Summary |
java.lang.String |
getCommandLineParameter()
Returns the output as a command-line parameter |
int |
getNumberOfBands()
Returns the number of bands that this output raster
layer will have |
void |
setNumberOfBands(int numberOfBands)
Set the number of bands of this output raster layer. |
void |
setOutputObject(java.lang.Object obj)
Sets a new value for the output object |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NUMBER_OF_BANDS_UNDEFINED
public static final int NUMBER_OF_BANDS_UNDEFINED
- See Also:
- Constant Field Values
OutputRasterLayer
public OutputRasterLayer()
setOutputObject
public void setOutputObject(java.lang.Object obj)
- Description copied from class:
Output
- Sets a new value for the output object
- Specified by:
setOutputObject
in class Output
- Parameters:
obj
- the new value for the output object
getCommandLineParameter
public java.lang.String getCommandLineParameter()
- Description copied from class:
Output
- Returns the output as a command-line parameter
- Specified by:
getCommandLineParameter
in class Output
- Returns:
- the output as a string, to save it as a
command-line parameter
getNumberOfBands
public int getNumberOfBands()
- Returns the number of bands that this output raster
layer will have
- Returns:
- the number of layers of the output raster layer
setNumberOfBands
public void setNumberOfBands(int numberOfBands)
- Set the number of bands of this output raster layer.
If the number is lower that one, the number of bands
is set to undefined.
- Parameters:
numberOfBands
- the number of bands this output
raster layer will have