![]() |
Home · All Namespaces · All Classes · Functions · Coding Style · Scripting · Plugins · File Structure |
#include <StelSkyPolygon.hpp>
Inherits MultiLevelJsonBase.
Public Member Functions | |
| StelSkyPolygon () | |
| StelSkyPolygon (const QString &url, StelSkyPolygon *parent=NULL) | |
| StelSkyPolygon (const QVariantMap &map, StelSkyPolygon *parent) | |
| ~StelSkyPolygon () | |
| void | draw (StelCore *core, StelPainter &sPainter, float opacity=1.) |
| DataSetCredits | getDataSetCredits () const |
| ServerCredits | getServerCredits () const |
| QVariantMap | toQVariantMap () const |
Protected Member Functions | |
| virtual void | loadFromQVariantMap (const QVariantMap &map) |
Protected Attributes | |
| float | minResolution |
| ServerCredits | serverCredits |
| DataSetCredits | dataSetCredits |
| QList< SphericalConvexPolygon > | skyConvexPolygons |
| StelSkyPolygon::StelSkyPolygon | ( | ) | [inline] |
Default constructor.
| StelSkyPolygon::StelSkyPolygon | ( | const QString & | url, | |
| StelSkyPolygon * | parent = NULL | |||
| ) |
Constructor.
| StelSkyPolygon::StelSkyPolygon | ( | const QVariantMap & | map, | |
| StelSkyPolygon * | parent | |||
| ) |
Constructor.
| StelSkyPolygon::~StelSkyPolygon | ( | ) |
Destructor.
| void StelSkyPolygon::draw | ( | StelCore * | core, | |
| StelPainter & | sPainter, | |||
| float | opacity = 1. | |||
| ) | [virtual] |
| DataSetCredits StelSkyPolygon::getDataSetCredits | ( | ) | const [inline] |
Return the dataset credits to use in the progress bar.
| ServerCredits StelSkyPolygon::getServerCredits | ( | ) | const [inline] |
Return the server credits to use in the progress bar.
| QVariantMap StelSkyPolygon::toQVariantMap | ( | ) | const |
Convert the polygon informations to a map following the JSON structure.
It can be saved as JSON using the StelJsonParser methods.
Reimplemented from MultiLevelJsonBase.
| virtual void StelSkyPolygon::loadFromQVariantMap | ( | const QVariantMap & | map | ) | [protected, virtual] |
float StelSkyPolygon::minResolution [protected] |
Minimum resolution at which the next level needs to be loaded in degree/pixel.
ServerCredits StelSkyPolygon::serverCredits [protected] |
The credits of the server where this data come from.
DataSetCredits StelSkyPolygon::dataSetCredits [protected] |
The credits for the data set.
QList<SphericalConvexPolygon> StelSkyPolygon::skyConvexPolygons [protected] |
Direction of the vertices of the convex hull in ICRS frame.
1.5.5