Skip To Content ArcGIS for Developers Sign In Dashboard

BlendRenderer Class

(Esri::ArcGISRuntime::BlendRenderer)

Blends a hillshade with the original raster by specifying the elevation data. More...

Header: #include <BlendRenderer>
Since: Esri::ArcGISRuntime 100.0
Inherits: HillshadeRenderer

Public Functions

BlendRenderer(QObject *parent = nullptr)
BlendRenderer(Raster *elevationRaster, QObject *parent = nullptr)
BlendRenderer(Raster *elevationRaster, double altitude, double azimuth, double zFactor, QObject *parent = nullptr)
BlendRenderer(Raster *elevationRaster, const QList<double> &outputMinValues, const QList<double> &outputMaxValues, const QList<double> &sourceMinValues, const QList<double> &sourceMaxValues, const QList<double> &noDataValues, const QList<double> &gammas, ColorRamp *colorRamp, double altitude, double azimuth, double zFactor, SlopeType slopeType, double pixelSizeFactor, double pixelSizePower, int outputBitDepth, QObject *parent = nullptr)
~BlendRenderer()
Raster *elevationRaster() const
QList<double> gammas() const
QList<double> noDataValues() const
QList<double> outputMaxValues() const
QList<double> outputMinValues() const
QList<double> sourceMaxValues() const
QList<double> sourceMinValues() const

Additional Inherited Members

Detailed Description

Blends a hillshade with the original raster by specifying the elevation data.

This provides a look similar to the original raster, but with some terrain shading, giving it a textured look.

Member Function Documentation

BlendRenderer::BlendRenderer(QObject *parent = nullptr)

Default constructor with an optional parent.

The default values are:

BlendRenderer::BlendRenderer(Raster *elevationRaster, QObject *parent = nullptr)

Constructor that takes an elevationRaster with an optional parent.

The default values are:

BlendRenderer::BlendRenderer(Raster *elevationRaster, double altitude, double azimuth, double zFactor, QObject *parent = nullptr)

Constructor that takes the following parameters:

  • elevationRaster - The raster elevation source.
  • altitude - The light's angle of elevation above the horizon.
  • azimuth - The light's relative angle along the horizon measured clockwise, where 0 is north.
  • zFactor - The z-factor used to convert z unit to x,y units.
  • parent - The optional parent.

The default values are:

BlendRenderer::BlendRenderer(Raster *elevationRaster, const QList<double> &outputMinValues, const QList<double> &outputMaxValues, const QList<double> &sourceMinValues, const QList<double> &sourceMaxValues, const QList<double> &noDataValues, const QList<double> &gammas, ColorRamp *colorRamp, double altitude, double azimuth, double zFactor, SlopeType slopeType, double pixelSizeFactor, double pixelSizePower, int outputBitDepth, QObject *parent = nullptr)

Constructor that takes the following parameters:

  • elevationRaster - The raster elevation source.
  • outputMinValues - The minimum output values for blending, one for each band.
  • outputMaxValues - The maximum output values for blending, one for each band.
  • sourceMinValues - The minimum input values for blending, one for each band.
  • sourceMaxValues - The maximum input values for blending, one for each band.
  • noDataValues - The no-data values, one for each band.
  • gammas - The gamma adjustments.
  • colorRamp - The color ramp object.
  • altitude - The light's angle of elevation above the horizon.
  • azimuth - The light's relative angle along the horizon measured clockwise, where 0 is north.
  • zFactor - The z-factor used to convert z unit to x,y units.
  • slopeType - The SlopeType.
  • pixelSizeFactor - The pixel size factor to account altitude changes as the viewer zooms.
  • pixelSizePower - The pixel size power to account altitude changes as the viewer zooms.
  • outputBitDepth - The output bit depth.
  • parent - The optional parent.

BlendRenderer::~BlendRenderer()

Destructor.

Raster *BlendRenderer::elevationRaster() const

Returns the elevation source.

QList<double> BlendRenderer::gammas() const

Returns the gamma adjustments.

Any changes to this array are not applied to the renderer.

QList<double> BlendRenderer::noDataValues() const

Returns the no-data values, one for each band.

Any changes to this array are not applied to the renderer.

QList<double> BlendRenderer::outputMaxValues() const

Returns the maximum output values for blending, one for each band.

Any changes to this array are not applied to the renderer.

QList<double> BlendRenderer::outputMinValues() const

Returns the minimum output values for blending, one for each band.

Any changes to this array are not applied to the renderer.

QList<double> BlendRenderer::sourceMaxValues() const

Returns the maximum input values for blending, one for each band.

Any changes to this array are not applied to the renderer.

QList<double> BlendRenderer::sourceMinValues() const

Returns the minimum input values for blending, one for each band.

Any changes to this array are not applied to the renderer.


Feedback on this topic?