A base class containing common functionality for line-of-sight analysis objects. More...
Detailed DescriptionThe LineOfSight 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.
Member Function Documentation[override virtual noexcept]
LineOfSight::~LineOfSight()
Destructor.
[static]
float LineOfSight::lineWidth()
Returns the line width used to render LineOfSight analysis results.
See also setLineWidth().
[static]
QColor LineOfSight::obstructedColor()
Returns the color used to render segments that are not visible along LineOfSight 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 LineOfSight::setLineWidth(float lineWidth)
Sets the line width used to render LineOfSight analysis results to lineWidth.
This is a global setting and applies to all LineOfSight analyses within the application.
See also lineWidth().
[static]
void LineOfSight::setObstructedColor(const QColor &obstructedColor)
Sets the color used to render segments that are not visible along LineOfSight 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 LineOfSight analyses within the application.
See also obstructedColor().
[static]
void LineOfSight::setVisibleColor(const QColor &visibleColor)
Sets the color used to render segments that are visible along LineOfSight 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 LineOfSight analyses within the application.
See also visibleColor().
Esri::ArcGISRuntime::LineOfSightTargetVisibility LineOfSight::targetVisibility() constReturns the target visibility state.
See also targetVisibilityChanged.
[signal]
void LineOfSight::targetVisibilityChanged(Esri::ArcGISRuntime::LineOfSightTargetVisibility targetVisibility)
Signal emitted when the targetVisibility changes for this LineOfSight.
[static]
QColor LineOfSight::visibleColor()
Returns the color used to render segments that are visible along LineOfSight analysis results.
Sections of the line between the observer and the target that are visible are drawn with the specified color.
See also setVisibleColor().
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4