AnalysisOverlay Class

  • AnalysisOverlay
  • class Esri::ArcGISRuntime::AnalysisOverlay

    AnalysisOverlay manages the display of one or more analyses in a scene view. More...

    Header: #include <AnalysisOverlay.h>
    Since: Esri::ArcGISRuntime 100.2
    Inherits: Esri::ArcGISRuntime::Object

    Public Functions

    AnalysisOverlay(QObject *parent = nullptr)
    virtual ~AnalysisOverlay() override
    Esri::ArcGISRuntime::AnalysisListModel *analyses() const
    bool isVisible() const
    void setVisible(bool visible)

    Detailed Description

    AnalysisOverlay is a collection of related analyses and controls the visibility for all members of the collection. A scene view can contain many AnalysisOverlays.

    Member Function Documentation

    [explicit] AnalysisOverlay::AnalysisOverlay(QObject *parent = nullptr)

    Constructs an empty AnalysisOverlay object.

    • parent Parent object.

    [override virtual] AnalysisOverlay::~AnalysisOverlay()

    Destructor.

    Esri::ArcGISRuntime::AnalysisListModel *AnalysisOverlay::analyses() const

    Returns the collection of analysis objects managed by the AnalysisOverlay.

    The collection is specific to an AnalysisOverlay so you can't reuse an analyses collection coming from another AnalysisOverlay. You have to create a new layer collection.

    bool AnalysisOverlay::isVisible() const

    Returns the visibility for the AnalysisOverlay.

    If the overlay's visibility is false, none of the Analyses in the collection will display. If true, only those Analyses whose visibility is also true will display. Will return false if an error occurs.

    void AnalysisOverlay::setVisible(bool visible)

    Sets the visible to visible.

    See also isVisible.

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