org.esa.beam.framework.ui.product
Class ProductSceneImage

java.lang.Object
  extended by org.esa.beam.framework.ui.product.ProductSceneImage
All Implemented Interfaces:
com.bc.ceres.glayer.LayerContext, org.esa.beam.glayer.ProductLayerContext

public class ProductSceneImage
extends Object
implements org.esa.beam.glayer.ProductLayerContext


Constructor Summary
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.
 
Method Summary
 PropertyMap getConfiguration()
           
 Object getCoordinateReferenceSystem()
           
 ImageInfo getImageInfo()
           
 String getName()
           
 Product getProduct()
           
 RasterDataNode[] getRasters()
           
 com.bc.ceres.glayer.Layer getRootLayer()
           
 void initMaskCollectionLayer()
           
 void initVectorDataCollectionLayer()
           
 void setImageInfo(ImageInfo imageInfo)
           
 void setRasters(RasterDataNode[] rasters)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProductSceneImage

public ProductSceneImage(RasterDataNode raster,
                         PropertyMap configuration,
                         com.bc.ceres.core.ProgressMonitor pm)
Creates a color indexed product scene for the given product raster.

Parameters:
raster - the product raster, must not be null
configuration - a configuration
pm - a monitor to inform the user about progress @return a color indexed product scene image

ProductSceneImage

public ProductSceneImage(RasterDataNode raster,
                         ProductSceneView view)
Creates a new scene image for an existing view.

Parameters:
raster - The product raster.
view - An existing view.

ProductSceneImage

public 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.

Parameters:
name - the name of the scene view
redRaster - the product raster used for the red color component, must not be null
greenRaster - the product raster used for the green color component, must not be null
blueRaster - the product raster used for the blue color component, must not be null
configuration - a configuration
pm - 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 problem
Method Detail

getConfiguration

public PropertyMap getConfiguration()

getName

public String getName()

getImageInfo

public ImageInfo getImageInfo()

setImageInfo

public void setImageInfo(ImageInfo imageInfo)

getRasters

public RasterDataNode[] getRasters()

setRasters

public void setRasters(RasterDataNode[] rasters)

getCoordinateReferenceSystem

public Object getCoordinateReferenceSystem()
Specified by:
getCoordinateReferenceSystem in interface com.bc.ceres.glayer.LayerContext

getRootLayer

public com.bc.ceres.glayer.Layer getRootLayer()
Specified by:
getRootLayer in interface com.bc.ceres.glayer.LayerContext

initVectorDataCollectionLayer

public void initVectorDataCollectionLayer()

initMaskCollectionLayer

public void initMaskCollectionLayer()

getProduct

public Product getProduct()
Specified by:
getProduct in interface org.esa.beam.glayer.ProductLayerContext


Copyright © 2002-2013 Brockmann Consult GmbH. All Rights Reserved.