19 #ifndef STELSKYLAYER_HPP
20 #define STELSKYLAYER_HPP
22 #include "StelCore.hpp"
26 #include <QSharedPointer>
38 StelSkyLayer(QObject* parent=NULL) : QObject(parent), frameType(StelCore::FrameJ2000) {;}
73 StelCore::FrameType frameType;
81 typedef QSharedPointer<StelSkyLayer> StelSkyLayerP;
83 #endif // STELSKYLAYER_HPP
void percentLoadedChanged(int percentage)
Emitted when the percentage of loading tiles/tiles to be displayed changed.
virtual QString getLayerDescriptionHtml() const
Return a human readable description of the layer with e.g.
StelCore::FrameType getFrameType()
Get the reference frame type.
Main class for Stellarium core processing.
virtual QString getKeyHint() const
Return a hint on which key to use for referencing this layer.
Provides functions for performing openGL drawing operations.
virtual QString getShortName() const =0
Return the short name to display in the loading bar.
void loadingStateChanged(bool b)
Emitted when loading of data started or stopped.
Abstract class defining the API to implement for all sky layer.
virtual QString getShortServerCredits() const
Return the short server name to display in the loading bar.
virtual void draw(StelCore *core, StelPainter &sPainter, float opacity=1.)=0
Draws the content of the layer.
void setFrameType(StelCore::FrameType ft)
Set the reference frame type.