![]() |
Home · All Namespaces · All Classes · Functions · Coding Style · Scripting · Plugins · File Structure |
Base class for any polygon with a fixed position in the sky. More...
#include <StelSkyPolygon.hpp>
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 |
Base class for any polygon with a fixed position in the sky.
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.