Search in sources :

Example 1 with MultiStopLinearGradient

use of com.revolsys.elevation.gridded.rasterizer.gradient.MultiStopLinearGradient in project com.revolsys.open by revolsys.

the class GriddedElevationModel method serviceInit.

public static void serviceInit() {
    IoFactoryRegistry.addFactory(new ScaledIntegerGriddedDigitalElevation());
    IoFactoryRegistry.addFactory(new EsriAsciiGriddedElevation());
    IoFactoryRegistry.addFactory(new UsgsGriddedElevation());
    IoFactoryRegistry.addFactory(new Byn());
    MapObjectFactoryRegistry.newFactory("gradientStop", GradientStop::new);
    MapObjectFactoryRegistry.newFactory("multiStopLinearGradient", MultiStopLinearGradient::new);
    // Rasterizers
    MapObjectFactoryRegistry.newFactory("colorGriddedElevationModelRasterizer", ColorGriddedElevationModelRasterizer::new);
    MapObjectFactoryRegistry.newFactory("colorGradientGriddedElevationModelRasterizer", ColorGradientGriddedElevationModelRasterizer::new);
    MapObjectFactoryRegistry.newFactory("hillShadeGriddedElevationModelRasterizer", HillShadeGriddedElevationModelRasterizer::new);
}
Also used : ColorGriddedElevationModelRasterizer(com.revolsys.elevation.gridded.rasterizer.ColorGriddedElevationModelRasterizer) HillShadeGriddedElevationModelRasterizer(com.revolsys.elevation.gridded.rasterizer.HillShadeGriddedElevationModelRasterizer) ScaledIntegerGriddedDigitalElevation(com.revolsys.elevation.gridded.scaledint.ScaledIntegerGriddedDigitalElevation) Byn(com.revolsys.elevation.gridded.byn.Byn) EsriAsciiGriddedElevation(com.revolsys.elevation.gridded.esriascii.EsriAsciiGriddedElevation) GradientStop(com.revolsys.elevation.gridded.rasterizer.gradient.GradientStop) ColorGradientGriddedElevationModelRasterizer(com.revolsys.elevation.gridded.rasterizer.ColorGradientGriddedElevationModelRasterizer) UsgsGriddedElevation(com.revolsys.elevation.gridded.usgsdem.UsgsGriddedElevation) MultiStopLinearGradient(com.revolsys.elevation.gridded.rasterizer.gradient.MultiStopLinearGradient)

Aggregations

Byn (com.revolsys.elevation.gridded.byn.Byn)1 EsriAsciiGriddedElevation (com.revolsys.elevation.gridded.esriascii.EsriAsciiGriddedElevation)1 ColorGradientGriddedElevationModelRasterizer (com.revolsys.elevation.gridded.rasterizer.ColorGradientGriddedElevationModelRasterizer)1 ColorGriddedElevationModelRasterizer (com.revolsys.elevation.gridded.rasterizer.ColorGriddedElevationModelRasterizer)1 HillShadeGriddedElevationModelRasterizer (com.revolsys.elevation.gridded.rasterizer.HillShadeGriddedElevationModelRasterizer)1 GradientStop (com.revolsys.elevation.gridded.rasterizer.gradient.GradientStop)1 MultiStopLinearGradient (com.revolsys.elevation.gridded.rasterizer.gradient.MultiStopLinearGradient)1 ScaledIntegerGriddedDigitalElevation (com.revolsys.elevation.gridded.scaledint.ScaledIntegerGriddedDigitalElevation)1 UsgsGriddedElevation (com.revolsys.elevation.gridded.usgsdem.UsgsGriddedElevation)1