@LayerTypeMetadata(name="MaskLayerType", aliasNames="org.esa.snap.core.layer.MaskLayerType") public class MaskLayerType extends ImageLayer.Type
Mask
s.Modifier and Type | Field and Description |
---|---|
static String |
PROPERTY_NAME_MASK |
Constructor and Description |
---|
MaskLayerType() |
Modifier and Type | Method and Description |
---|---|
Layer |
createLayer(LayerContext ctx,
PropertySet configuration)
Creates a layer instance for the given application provided context and the given layer configuration.
|
static Layer |
createLayer(RasterDataNode raster,
Mask mask) |
PropertySet |
createLayerConfig(LayerContext ctx)
Creates a default configuration instance for the type of layers this type can create.
|
static MultiLevelSource |
createMultiLevelSource(Mask mask) |
static MultiLevelSource |
createMultiLevelSource(PropertySet configuration) |
isValidFor
createWithSceneView, getAliases, getName
getExtension
public static final String PROPERTY_NAME_MASK
public static Layer createLayer(RasterDataNode raster, Mask mask)
public Layer createLayer(LayerContext ctx, PropertySet configuration)
LayerType
createLayer
in class ImageLayer.Type
ctx
- An application provided context, may be null
. The parameter may be ignored by many layer types.configuration
- The layer configuration.public static MultiLevelSource createMultiLevelSource(PropertySet configuration)
public static MultiLevelSource createMultiLevelSource(Mask mask)
public PropertySet createLayerConfig(LayerContext ctx)
LayerType
LayerType.createLayer(com.bc.ceres.glayer.LayerContext, com.bc.ceres.binding.PropertySet)
method in order
to create a new layer instance.createLayerConfig
in class ImageLayer.Type
ctx
- An application provided context, may be null
. The parameter may be ignored by many layer types.Copyright © 2014–2017 European Space Agency (ESA). All rights reserved.