Skip To Content ArcGIS for Developers Sign In Dashboard

BlendRenderer Class

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: Esri::ArcGISRuntime::HillshadeRenderer

This class was introduced in Esri::ArcGISRuntime 100.0.

Public Functions

BlendRenderer(Esri::ArcGISRuntime::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, Esri::ArcGISRuntime::ColorRamp *colorRamp, double altitude, double azimuth, double zFactor, Esri::ArcGISRuntime::SlopeType slopeType, double pixelSizeFactor, double pixelSizePower, int outputBitDepth, QObject *parent = nullptr)
BlendRenderer(Esri::ArcGISRuntime::Raster *elevationRaster, double altitude, double azimuth, double zFactor, QObject *parent = nullptr)
BlendRenderer(Esri::ArcGISRuntime::Raster *elevationRaster, QObject *parent = nullptr)
BlendRenderer(QObject *parent = nullptr)
virtual ~BlendRenderer() override
Esri::ArcGISRuntime::ColorRamp *colorRamp() const
Esri::ArcGISRuntime::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

Detailed Description

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

Member Function Documentation

BlendRenderer::BlendRenderer(Esri::ArcGISRuntime::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, Esri::ArcGISRuntime::ColorRamp *colorRamp, double altitude, double azimuth, double zFactor, Esri::ArcGISRuntime::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 for creating the blend renderer.
  • 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(Esri::ArcGISRuntime::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(Esri::ArcGISRuntime::Raster *elevationRaster, QObject *parent = nullptr)

Constructor that takes an elevationRaster with an optional parent.

The default values are:

BlendRenderer::BlendRenderer(QObject *parent = nullptr)

Default constructor with an optional parent.

The default values are:

[override virtual] BlendRenderer::~BlendRenderer()

Destructor.

Esri::ArcGISRuntime::ColorRamp *BlendRenderer::colorRamp() const

Returns the color ramp for creating the blend renderer.

This function was introduced in Esri::ArcGISRuntime 100.8.

Esri::ArcGISRuntime::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?