Package com.esri.arcgisruntime.raster
Class BlendRenderer
- java.lang.Object
-
- com.esri.arcgisruntime.raster.RasterRenderer
-
- com.esri.arcgisruntime.raster.HillshadeRenderer
-
- com.esri.arcgisruntime.raster.BlendRenderer
-
public final class BlendRenderer extends HillshadeRenderer
Extends a hillshade renderer with options to provide minimum and maximum stretch values, gamma adjustments, elevation raster, color ramp.- Since:
- 100.0.0
-
-
Constructor Summary
Constructors Constructor Description BlendRenderer(Raster elevationRaster, java.util.List<java.lang.Double> outputMinValues, java.util.List<java.lang.Double> outputMaxValues, java.util.List<java.lang.Double> sourceMinValues, java.util.List<java.lang.Double> sourceMaxValues, java.util.List<java.lang.Double> noDataValues, java.util.List<java.lang.Double> gammas, ColorRamp colorRamp, double altitude, double azimuth, double zFactor, SlopeType slopeType, double pixelSizeFactor, double pixelSizePower, int outputBitDepth)Creates a BlendRenderer with specified values.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ColorRampgetColorRamp()Gets the color ramp for creating the blend renderer.RastergetElevationRaster()Gets the elevation raster.java.util.List<java.lang.Double>getGammas()Gets the gamma adjustments.java.util.List<java.lang.Double>getNoDataValues()Gets the no data values, one for each band.java.util.List<java.lang.Double>getOutputMaxValues()Gets the maximum output stretch values, one for each band.java.util.List<java.lang.Double>getOutputMinValues()Gets the minimum output stretch values, one for each band.java.util.List<java.lang.Double>getSourceMaxValues()Gets the maximum input stretch values, one for each band.java.util.List<java.lang.Double>getSourceMinValues()Gets the minimum input stretch values, one for each band.-
Methods inherited from class com.esri.arcgisruntime.raster.HillshadeRenderer
getAltitude, getAzimuth, getOutputBitDepth, getPixelSizeFactor, getPixelSizePower, getSlopeType, getZFactor
-
-
-
-
Constructor Detail
-
BlendRenderer
public BlendRenderer(Raster elevationRaster, java.util.List<java.lang.Double> outputMinValues, java.util.List<java.lang.Double> outputMaxValues, java.util.List<java.lang.Double> sourceMinValues, java.util.List<java.lang.Double> sourceMaxValues, java.util.List<java.lang.Double> noDataValues, java.util.List<java.lang.Double> gammas, ColorRamp colorRamp, double altitude, double azimuth, double zFactor, SlopeType slopeType, double pixelSizeFactor, double pixelSizePower, int outputBitDepth)
Creates a BlendRenderer with specified values.- Parameters:
elevationRaster- elevation rasteroutputMinValues- minimum output stretch values, one for each bandoutputMaxValues- maximum output stretch values, one for each bandsourceMinValues- input minimum stretch values, one per bandsourceMaxValues- input maximum stretch values, one per bandnoDataValues- values for no datagammas- gamma adjustmentscolorRamp- color rampaltitude- light's angle of elevation above the horizon, in degreesazimuth- light's relative angle along the horizon, in degrees; measured clockwise, 0 is northzFactor- factor to convert z unit to x,y unitsslopeType- slope typepixelSizeFactor- pixel size factor to account altitude changes as the viewer zoomspixelSizePower- pixel size power to account altitude changes as the viewer zoomsoutputBitDepth- output bit depth- Throws:
java.lang.IllegalArgumentException- if slopeType is null- Since:
- 100.0.0
-
-
Method Detail
-
getElevationRaster
public Raster getElevationRaster()
Gets the elevation raster.- Returns:
- the elevation raster
- Since:
- 100.0.0
-
getOutputMinValues
public java.util.List<java.lang.Double> getOutputMinValues()
Gets the minimum output stretch values, one for each band.- Returns:
- an unmodifiable list of the minimum output stretch values, one for each band
- Since:
- 100.0.0
-
getOutputMaxValues
public java.util.List<java.lang.Double> getOutputMaxValues()
Gets the maximum output stretch values, one for each band.- Returns:
- an unmodifiable list of the maximum output stretch values, one for each band
- Since:
- 100.0.0
-
getSourceMinValues
public java.util.List<java.lang.Double> getSourceMinValues()
Gets the minimum input stretch values, one for each band.- Returns:
- an unmodifiable list of the minimum input stretch values, one for each band
- Since:
- 100.0.0
-
getSourceMaxValues
public java.util.List<java.lang.Double> getSourceMaxValues()
Gets the maximum input stretch values, one for each band.- Returns:
- an unmodifiable list of the maximum input stretch values, one for each band
- Since:
- 100.0.0
-
getNoDataValues
public java.util.List<java.lang.Double> getNoDataValues()
Gets the no data values, one for each band.- Returns:
- an unmodifiable list of the no data values, one for each band
- Since:
- 100.0.0
-
getGammas
public java.util.List<java.lang.Double> getGammas()
Gets the gamma adjustments.- Returns:
- an unmodifiable list of the gamma adjustments
- Since:
- 100.0.0
-
getColorRamp
public ColorRamp getColorRamp()
Gets the color ramp for creating the blend renderer.- Returns:
- the color ramp
- Since:
- 100.0.0
-
-