public class ProductSceneImage extends Object implements ProductLayerContext
Constructor and Description |
---|
ProductSceneImage(RasterDataNode raster,
ProductSceneView view)
Creates a new scene image for an existing view.
|
ProductSceneImage(RasterDataNode raster,
PropertyMap configuration,
ProgressMonitor pm)
Creates a color indexed product scene for the given product raster.
|
ProductSceneImage(String name,
RasterDataNode redRaster,
RasterDataNode greenRaster,
RasterDataNode blueRaster,
PropertyMap configuration,
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() |
ProductNode |
getProductNode() |
RasterDataNode[] |
getRasters() |
Layer |
getRootLayer() |
void |
initMaskCollectionLayer() |
void |
initVectorDataCollectionLayer() |
void |
setImageInfo(ImageInfo imageInfo) |
void |
setRasters(RasterDataNode[] rasters) |
public ProductSceneImage(RasterDataNode raster, PropertyMap configuration, 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, 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 LayerContext
public Layer getRootLayer()
getRootLayer
in interface LayerContext
public void initVectorDataCollectionLayer()
public void initMaskCollectionLayer()
public Product getProduct()
getProduct
in interface ProductLayerContext
public ProductNode getProductNode()
getProductNode
in interface ProductLayerContext
Copyright © 2014–2016 European Space Agency (ESA). All rights reserved.