Package org.esa.snap.core.layer
Class RgbImageLayerType
java.lang.Object
com.bc.ceres.core.ExtensibleObject
com.bc.ceres.glayer.LayerType
com.bc.ceres.glayer.support.ImageLayer.Type
org.esa.snap.core.layer.RgbImageLayerType
- All Implemented Interfaces:
Extensible
@LayerTypeMetadata(name="RgbImageLayerType",
aliasNames="org.esa.snap.core.layer.RgbImageLayerType")
public class RgbImageLayerType
extends ImageLayer.Type
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateLayer(LayerContext ctx, PropertySet configuration) Creates a layer instance for the given application provided context and the given layer configuration.createLayer(RasterDataNode[] rasters, ColoredBandImageMultiLevelSource multiLevelSource) Creates a default configuration instance for the type of layers this type can create.Methods inherited from class com.bc.ceres.glayer.support.ImageLayer.Type
isValidForMethods inherited from class com.bc.ceres.glayer.LayerType
createWithSceneView, getAliases, getNameMethods inherited from class com.bc.ceres.core.ExtensibleObject
getExtension
-
Constructor Details
-
RgbImageLayerType
public RgbImageLayerType()
-
-
Method Details
-
createLayer
Description copied from class:LayerTypeCreates a layer instance for the given application provided context and the given layer configuration. The configuration may contain both, inmutable construction parameters passed to specific layer constructor as well as mutable layer properties.- Overrides:
createLayerin classImageLayer.Type- Parameters:
ctx- An application provided context, may benull. The parameter may be ignored by many layer types.configuration- The layer configuration.- Returns:
- A new layer instance.
-
createLayerConfig
Description copied from class:LayerTypeCreates a default configuration instance for the type of layers this type can create. After a default configuration has been created it is usually modified to specify a layer's construction parameters, e.g. for an image layer this could be the file path to the image file. Then, an application will pass the configuration to theLayerType.createLayer(com.bc.ceres.glayer.LayerContext, com.bc.ceres.binding.PropertySet)method in order to create a new layer instance.- Overrides:
createLayerConfigin classImageLayer.Type- Parameters:
ctx- An application provided context, may benull. The parameter may be ignored by many layer types.- Returns:
- A new layer (default) configuration.
-
createLayer
public Layer createLayer(RasterDataNode[] rasters, ColoredBandImageMultiLevelSource multiLevelSource)
-