• ViewshedFunction
  • class Esri::ArcGISRuntime::ViewshedFunction

    Evaluates an elevation surface to produce a viewshed, determining which areas are visible and which are not visible to an observer. More...

    Header: #include <ViewshedFunction.h>
    Since: Esri::ArcGISRuntime 300.0
    Inherits: Esri::ArcGISRuntime::ContinuousFieldFunction

    Public Functions

    virtual ~ViewshedFunction() override
    Esri::ArcGISRuntime::ViewshedParameters *parameters() const
    void setParameters(Esri::ArcGISRuntime::ViewshedParameters *parameters)

    Static Public Members

    Esri::ArcGISRuntime::ViewshedFunction *create(Esri::ArcGISRuntime::ContinuousField *elevation, Esri::ArcGISRuntime::ViewshedParameters *parameters, QObject *parent = nullptr)
    Esri::ArcGISRuntime::ViewshedFunction *create(Esri::ArcGISRuntime::ContinuousFieldFunction *elevation, Esri::ArcGISRuntime::ViewshedParameters *parameters, QObject *parent = nullptr)

    Detailed Description

    Use evaluateAsync to compute the result of this function.

    After updating parameters of this function, or of functions from which it is composed, evaluation uses the updated parameter values and may produce an updated result.

    In the resulting viewshed, visible areas have a value of 1, while areas that are not visible have a value of 0.

    The function performs analysis at the full resolution of the data. To perform analysis at the current rendered resolution of scene layers or 3D graphics, use the ExploratoryViewshed tool.

    Member Function Documentation

    [override virtual noexcept] ViewshedFunction::~ViewshedFunction()

    Destructor.

    [static] Esri::ArcGISRuntime::ViewshedFunction *ViewshedFunction::create(Esri::ArcGISRuntime::ContinuousField *elevation, Esri::ArcGISRuntime::ViewshedParameters *parameters, QObject *parent = nullptr)

    Creates a ViewshedFunction.

    • elevation - A ContinuousField defining the elevation surface.
    • parameters - Parameters of the viewshed function.
    • parent - The optional parent QObject.

    [static] Esri::ArcGISRuntime::ViewshedFunction *ViewshedFunction::create(Esri::ArcGISRuntime::ContinuousFieldFunction *elevation, Esri::ArcGISRuntime::ViewshedParameters *parameters, QObject *parent = nullptr)

    Creates a ViewshedFunction.

    • elevation - A ContinuousFieldFunction defining the elevation surface.
    • parameters - Parameters of the viewshed function.
    • parent - The optional parent QObject.

    Esri::ArcGISRuntime::ViewshedParameters *ViewshedFunction::parameters() const

    Returns parameters that define properties like observer position and elevation sampling interval for the ViewshedFunction.

    After changing the parameters, evaluation uses the updated parameters to produce an updated result.

    See also setParameters().

    void ViewshedFunction::setParameters(Esri::ArcGISRuntime::ViewshedParameters *parameters)

    Sets the parameters to parameters.

    See also parameters.