AnalysisOverlay manages the display of one or more analyses in a scene view. More...
| Header | #include <Analysis |
| Since | Esri |
| Inherits | Esri |
Public Functions
| Analysis | |
| virtual | ~ |
| Esri | analyses() const |
| bool | is |
| void | set |
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.
Relevant samples:
- Distance measurement analysis: Measure distances between two points in 3D.
- Show exploratory line of sight (GeoElement): Show an exploratory line of sight between two moving objects.
- Show exploratory line of sight (Points): Perform an exploratory line of sight analysis between two points in real time.
- Show exploratory viewshed (Camera): Analyze the exploratory viewshed for a camera showing the visible and obstructed areas from an observer's vantage point.
- Show exploratory viewshed (GeoElement): Analyze the exploratory viewshed for an object (GeoElement) in a scene.
- Show exploratory viewshed (Point): Perform an exploratory viewshed analysis from a defined vantage point.
- Viewshed (location): Perform a viewshed analysis from a defined vantage point.
Member Function Documentation
[explicit] AnalysisOverlay::AnalysisOverlay (QObject *parent = nullptr)
Creates an AnalysisOverlay object.
- parent - The optional parent QObject.
An AnalysisOverlay manages a collection of Analysis objects in a scene view.
[override virtual noexcept] 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.