A base class containing common functionality for line-of-sight analysis objects. More...
| Header | #include <Exploratory |
| Since | Esri |
| Inherits | Esri |
| Inherited By | Esri |
Public Functions
| virtual | ~ |
| Esri | target |
Signals
| void | target |
Static Public Members
| float | line |
| QColor | obstructed |
| void | set |
| void | set |
| void | set |
| QColor | visible |
Detailed Description
The ExploratoryLineOfSight analysis result is a line rendered between the observer and target with distinct colors representing visible and obstructed segments.
When at least one of the two ends (the observer and the target) of the line is placed outside the view, the colors of the visible part of the line may not accurately represent the hidden part. In such cases, the line is rendered gray. To display the color, move both the observer and the target into the view.
Relevant samples:
- Show exploratory line of sight (GeoElement): Show an exploratory line of sight between two moving objects.
Member Function Documentation
[override virtual noexcept] ExploratoryLineOfSight::~ExploratoryLineOfSight ()
Destructor.
[static] float ExploratoryLineOfSight::lineWidth ()
Returns the line width used to render ExploratoryLineOfSight analysis results.
See also setLineWidth().
[static] QColor ExploratoryLineOfSight::obstructedColor ()
Returns the color used to render segments that are not visible along ExploratoryLineOfSight analysis results.
Sections of the line between the observer and the target that are obstructed (not visible) are drawn with the specified color.
See also setObstructedColor().
[static] void ExploratoryLineOfSight::setLineWidth (float lineWidth )
Sets the line width used to render ExploratoryLineOfSight analysis results to lineWidth.
This is a global setting and applies to all ExploratoryLineOfSight analyses within the application.
See also lineWidth().
[static] void ExploratoryLineOfSight::setObstructedColor (const QColor &obstructedColor )
Sets the color used to render segments that are not visible along ExploratoryLineOfSight analysis results to obstructedColor.
Sections of the line between the observer and the target that are obstructed (not visible) are drawn with the specified color.
This is a global setting and applies to all ExploratoryLineOfSight analyses within the application.
See also obstructedColor().
[static] void ExploratoryLineOfSight::setVisibleColor (const QColor &visibleColor )
Sets the color used to render segments that are visible along ExploratoryLineOfSight analysis results to visibleColor.
Sections of the line between the observer and the target that are visible are drawn with the specified color.
This is a global setting and applies to all ExploratoryLineOfSight analyses within the application.
See also visibleColor().
Esri::ArcGISRuntime::ExploratoryLineOfSightTargetVisibility ExploratoryLineOfSight::targetVisibility () const
Returns the target visibility state.
See also targetVisibilityChanged.
[signal] void ExploratoryLineOfSight::targetVisibilityChanged (Esri::ArcGISRuntime::ExploratoryLineOfSightTargetVisibility targetVisibility )
Signal emitted when the targetVisibility changes for this ExploratoryLineOfSight.
- targetVisibility - The target visibility state of the ExploratoryLineOfSight.
[static] QColor ExploratoryLineOfSight::visibleColor ()
Returns the color used to render segments that are visible along ExploratoryLineOfSight analysis results.
Sections of the line between the observer and the target that are visible are drawn with the specified color.
See also setVisibleColor().