Blends a hillshade with the original raster by specifying the elevation data. More...
| Header | #include <Blend |
| Since | Esri |
| Inherits | Esri |
This class was introduced in Esri::ArcGISRuntime 100.0.
Public Functions
| Blend | |
| Blend | |
| Blend | |
| Blend | |
| virtual | ~ |
| Esri | color |
| Esri | elevation |
| QList | gammas() const |
| QList | no |
| QList | output |
| QList | output |
| QList | source |
| QList | source |
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:
- minValues -
none - maxValues -
none - gammas -
none - slopeType -
SlopeType::None - pixelSizeFactor -
1 - pixelSizePower -
1 - outputBitDepth -
8
BlendRenderer::BlendRenderer (Esri::ArcGISRuntime::Raster *elevationRaster , QObject *parent = nullptr)
Constructor that takes an elevationRaster with an optional parent.
The default values are:
- minValues -
none - maxValues -
none - gammas -
none - altitude -
45 degrees - azimuth -
315 degrees - zFactor -
1 - slopeType -
SlopeType::None - pixelSizeFactor -
1 - pixelSizePower -
1 - outputBitDepth -
8
BlendRenderer::BlendRenderer (QObject *parent = nullptr)
Default constructor with an optional parent.
The default values are:
- elevationRaster -
null - minValues -
none - maxValues -
none - gammas -
none - altitude -
45 degrees - azimuth -
315 degrees - zFactor -
1 - slopeType -
SlopeType::None - pixelSizeFactor -
1 - pixelSizePower -
1 - outputBitDepth -
8
[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.