public class ProductSceneImage extends Object implements org.esa.beam.glayer.ProductLayerContext
Constructor and Description |
---|
ProductSceneImage(RasterDataNode raster,
ProductSceneView view)
Creates a new scene image for an existing view.
|
ProductSceneImage(RasterDataNode raster,
PropertyMap configuration,
com.bc.ceres.core.ProgressMonitor pm)
Creates a color indexed product scene for the given product raster.
|
ProductSceneImage(String name,
RasterDataNode redRaster,
RasterDataNode greenRaster,
RasterDataNode blueRaster,
PropertyMap configuration,
com.bc.ceres.core.ProgressMonitor pm)
Creates an RGB product scene for the given raster datasets.
|
Modifier and Type | Method and Description |
---|---|
PropertyMap |
getConfiguration() |
Object |
getCoordinateReferenceSystem() |
ImageInfo |
getImageInfo() |
String |
getName() |
Product |
getProduct()
Returns the product provided by this context.
|
RasterDataNode[] |
getRasters() |
com.bc.ceres.glayer.Layer |
getRootLayer() |
void |
initMaskCollectionLayer() |
void |
initVectorDataCollectionLayer() |
void |
setImageInfo(ImageInfo imageInfo) |
void |
setRasters(RasterDataNode[] rasters) |
public ProductSceneImage(RasterDataNode raster, PropertyMap configuration, com.bc.ceres.core.ProgressMonitor pm)
raster
- the product raster, must not be nullconfiguration
- a configurationpm
- a monitor to inform the user about progress @return a color indexed product scene imagepublic ProductSceneImage(RasterDataNode raster, ProductSceneView view)
raster
- The product raster.view
- An existing view.public ProductSceneImage(String name, RasterDataNode redRaster, RasterDataNode greenRaster, RasterDataNode blueRaster, PropertyMap configuration, com.bc.ceres.core.ProgressMonitor pm)
name
- the name of the scene viewredRaster
- the product raster used for the red color component, must not be nullgreenRaster
- the product raster used for the green color component, must not be nullblueRaster
- the product raster used for the blue color component, must not be nullconfiguration
- a configurationpm
- a monitor to inform the user about progress @return an RGB product scene image @throws java.io.IOException if the image creation failed due to an I/O problempublic PropertyMap getConfiguration()
public String getName()
public ImageInfo getImageInfo()
public void setImageInfo(ImageInfo imageInfo)
public RasterDataNode[] getRasters()
public void setRasters(RasterDataNode[] rasters)
public Object getCoordinateReferenceSystem()
getCoordinateReferenceSystem
in interface com.bc.ceres.glayer.LayerContext
public com.bc.ceres.glayer.Layer getRootLayer()
getRootLayer
in interface com.bc.ceres.glayer.LayerContext
public void initVectorDataCollectionLayer()
public void initMaskCollectionLayer()
public Product getProduct()
org.esa.beam.glayer.ProductLayerContext
getProduct
in interface org.esa.beam.glayer.ProductLayerContext
Copyright © 2002–2014 Brockmann Consult GmbH. All rights reserved.