|
void | setFlagShow (bool b) |
| Set whether Sky Background should be displayed.
|
|
bool | loadSkyImage (const QString &id, const QString &filename, double long0, double lat0, double long1, double lat1, double long2, double lat2, double long3, double lat3, double minRes, double maxBright, bool visible, StelCore::FrameType frameType=StelCore::FrameJ2000, bool withAberration=true, int decimateBy=1) |
| Load an image from a file into a quad described with 4 corner coordinates. More...
|
|
void | showLayer (const QString &id, bool b) |
| Decide to show or not to show a layer by its ID. More...
|
|
bool | getShowLayer (const QString &id) const |
| Get the current shown status of a specified image. More...
|
|
QString | insertSkyImage (const QString &uri, const QString &keyHint=QString(), bool show=true, int decimateBy=1) |
| Add a new SkyImage from its URI (URL or local file name). More...
|
|
void | removeSkyLayer (const QString &key) |
| Remove a sky layer from the list. More...
|
|
QStringList | getAllKeys () const |
| Return the list of all the layer currently loaded.
|
|
|
void | init () override |
| Initialize.
|
|
void | draw (StelCore *core) override |
| Draws sky background.
|
|
double | getCallOrder (StelModuleActionName actionName) const override |
| Determines the order in which the various modules are drawn.
|
|
QString | insertSkyLayer (StelSkyLayerP l, const QString &keyHint=QString(), bool show=true) |
| Add a new layer. More...
|
|
void | removeSkyLayer (StelSkyLayerP l) |
| Remove a layer.
|
|
QMap< QString, StelSkyLayerP > | getAllSkyLayers () const |
| Get the list of all the currently loaded layers.
|
|
StelSkyLayerP | getSkyLayer (const QString &key) const |
|
bool | getFlagShow () const |
| Get whether Sky Background should be displayed.
|
|
| StelModule () |
| Constructor. Every derived class MUST call setObjectName(className) in its constructor.
|
|
virtual void | deinit () |
| Called before the module will be deleted, and before the OpenGL context is suppressed. More...
|
|
virtual QSettings * | getSettings () |
| Return module-specific settings. More...
|
|
virtual void | update (double deltaTime) |
| Update the module with respect to the time. More...
|
|
virtual QString | getModuleVersion () const |
| Get the version of the module, default is stellarium main version.
|
|
virtual QString | getAuthorName () const |
| Get the name of the module author.
|
|
virtual QString | getAuthorEmail () const |
| Get the email address of the module author.
|
|
virtual void | handleMouseClicks (class QMouseEvent *) |
| Handle mouse clicks. More...
|
|
virtual void | handleMouseWheel (class QWheelEvent *) |
| Handle mouse wheel. More...
|
|
virtual bool | handleMouseMoves (int x, int y, Qt::MouseButtons b) |
| Handle mouse moves. More...
|
|
virtual void | handleKeys (class QKeyEvent *e) |
| Handle key events. More...
|
|
virtual bool | handlePinch (qreal scale, bool started) |
| Handle pinch gesture events. More...
|
|
virtual bool | configureGui (bool show=true) |
| Detect or show the configuration GUI elements for the module. More...
|
|
|
enum | StelModuleSelectAction { AddToSelection
, ReplaceSelection
, RemoveFromSelection
} |
| Enum used when selecting objects to define whether to add to, replace, or remove from the existing selection list. More...
|
|
enum | StelModuleActionName {
ActionDraw
, ActionUpdate
, ActionHandleMouseClicks
, ActionHandleMouseMoves
,
ActionHandleKeys
} |
| Define the possible action for which an order is defined. More...
|
|
class StelAction * | addAction (const QString &id, const QString &groupId, const QString &text, QObject *target, const char *slot, const QString &shortcut="", const QString &altShortcut="") |
| convenience methods to add an action (call to slot) to the StelActionMgr object. More...
|
|
class StelAction * | addAction (const QString &id, const QString &groupId, const QString &text, const char *slot, const QString &shortcut="", const QString &altShortcut="") |
| convenience methods to add an action (call to own slot) to the StelActionMgr object. More...
|
|
StelAction * | addAction (const QString &id, const QString &groupId, const QString &text, QObject *contextObject, std::function< void()> lambda, const QString &shortcut="", const QString &altShortcut="") |
| convenience methods to add an action (call to Lambda functor) to the StelActionMgr object. More...
|
|
Manage the sky background images, including DSS and deep sky objects images.
Drawn after Milky Way, but before Zodiacal Light. It is not intended to be used to "overdraw" images into the foreground without a concept of surface magnitude.