Skip to content
  • 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.

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

    Results are updated when changes are made to parameters of this function (or to parameters of functions from which it is composed).

    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.

    See also setParameters().

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

    Sets the parameters to parameters.

    See also parameters.

    Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.