Package com.luciad.format.netcdf.gxy
Class TLcdNetCDFGXYLayerFactory
java.lang.Object
com.luciad.format.netcdf.gxy.TLcdNetCDFGXYLayerFactory
- All Implemented Interfaces:
ILcdGXYLayerFactory
@LcdService(service=ILcdGXYLayerFactory.class,
priority=20000)
public class TLcdNetCDFGXYLayerFactory
extends Object
implements ILcdGXYLayerFactory
The default layer factory for NetCDF and GRIB models. All models created by the NetCDF model decoder are supported.
This layer factory:
- can create layers for models that have a
TLcdNetCDFModelDescriptor
as model descriptor. - uses
TLcdNetCDFGXYPainterProvider
to paint its elements
The styling can be customized by using a custom TLcdNetCDFGXYPainterProvider
. This allows you for
example to modify the color map, or to use ILcdParameterizedIcon to paint the data as a grid of icons. This is also demonstrated in the
decoder.netcdf.gxy
sample.
- Since:
- 2017.0
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncreateGXYLayer
(ILcdModel aModel) Creates anILcdGXYLayer
for representing anILcdModel
on anILcdGXYView
.
-
Constructor Details
-
TLcdNetCDFGXYLayerFactory
public TLcdNetCDFGXYLayerFactory()
-
-
Method Details
-
createGXYLayer
Description copied from interface:ILcdGXYLayerFactory
Creates anILcdGXYLayer
for representing anILcdModel
on anILcdGXYView
.- Specified by:
createGXYLayer
in interfaceILcdGXYLayerFactory
- Parameters:
aModel
- a model that needs to be visualized in anILcdGXYView
- Returns:
- a layer representing the given model, or
null
if such a layer cannot be created - See Also:
-