ArtificialHorizon

Search for usage in LXR

ArtificialHorizon Class Reference

#include <artificialhorizoncomponent.h>

Public Member Functions

void addRegion (const QString &regionName, bool enabled, const std::shared_ptr< LineList > &list, bool ceiling)
 
double altitudeConstraint (double azimuthDegrees) const
 
bool altitudeConstraintsExist () const
 
void drawPolygons (SkyPainter *painter, QList< LineList > *regions=nullptr)
 
bool enabled (int i) const
 
ArtificialHorizonEntity * findRegion (const QString &regionName)
 
const ArtificialHorizonEntity * getConstraintAbove (double azimuthDegrees, double altitudeDegrees, const ArtificialHorizonEntity *ignore=nullptr) const
 
const ArtificialHorizonEntity * getConstraintBelow (double azimuthDegrees, double altitudeDegrees, const ArtificialHorizonEntity *ignore=nullptr) const
 
const QList< ArtificialHorizonEntity * > * horizonList () const
 
bool isAltitudeOK (double azimuthDegrees, double altitudeDegrees, QString *reason) const
 
bool isVisible (double azimuthDegrees, double altitudeDegrees, QString *reason=nullptr) const
 
void load (const QList< ArtificialHorizonEntity * > &list)
 
void removeRegion (const QString &regionName, bool lineOnly=false)
 

Detailed Description

Represents custom area from the horizon upwards which represent blocked views from the vantage point of the user. Such blocked views could stem for example from tall trees or buildings. The user can define a series of line segments to represent the blocked areas.

Author
Jasem Mutlaq
Version
0.1

Definition at line 61 of file artificialhorizoncomponent.h.


The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Fri Jun 9 2023 04:02:27 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.