Home · All Namespaces · All Classes · Functions · Coding Style · Scripting · Plugins · File Structure
Public Member Functions | Protected Member Functions | Protected Attributes

StelSkyImageTile Class Reference

Base class for any astro image with a fixed position. More...

#include <StelSkyImageTile.hpp>

List of all members.

Public Member Functions

 StelSkyImageTile ()
 StelSkyImageTile (const QString &url, StelSkyImageTile *parent=NULL)
 StelSkyImageTile (const QVariantMap &map, StelSkyImageTile *parent)
 ~StelSkyImageTile ()
void draw (StelCore *core, StelPainter &sPainter, float opacity=1.)
DataSetCredits getDataSetCredits () const
ServerCredits getServerCredits () const
bool isReadyToDisplay () const
QVariantMap toQVariantMap () const
QString getAbsoluteImageURI () const
virtual QString getLayerDescriptionHtml () const

Protected Member Functions

virtual void loadFromQVariantMap (const QVariantMap &map)

Protected Attributes

ServerCredits serverCredits
DataSetCredits dataSetCredits
QString absoluteImageURI
float luminance
bool alphaBlend
bool noTexture
QList< SphericalRegionPskyConvexPolygons
StelTextureSP tex
float minResolution

Detailed Description

Base class for any astro image with a fixed position.

Member Function Documentation

virtual void StelSkyImageTile::loadFromQVariantMap ( const QVariantMap &  map  )  [protected, virtual]

Reimplement the abstract method.

Load the tile from a valid QVariantMap.

Implements MultiLevelJsonBase.

QVariantMap StelSkyImageTile::toQVariantMap (  )  const

Convert the image informations to a map following the JSON structure.

It can be saved as JSON using the StelJsonParser methods.

Reimplemented from MultiLevelJsonBase.