Stellarium 0.11.1
Home · All Namespaces · All Classes · Functions · Coding Style · Scripting · Plugins · File Structure
Public Member Functions | Protected Member Functions | Protected Attributes
StelSkyPolygon Class Reference

#include <StelSkyPolygon.hpp>

List of all members.

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< SphericalConvexPolygonskyConvexPolygons

Detailed Description

Base class for any polygon with a fixed position in the sky.

Member Function Documentation

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.