20 #ifndef _NAVSTARS_HPP_ 21 #define _NAVSTARS_HPP_ 23 #include "StelFader.hpp" 24 #include "StelModule.hpp" 25 #include "StelObject.hpp" 26 #include "StelTexture.hpp" 62 Q_PROPERTY(
bool navStarsVisible
83 virtual void update(
double deltaTime);
99 void populateNavigationalStarsSet(
void);
111 currentNSSet = nsset;
120 QString getCurrentNavigationalStarsSetDescription(
void)
const;
130 void starNamesChanged(
const bool b);
141 QList<int> starNumbers;
143 QVector<StelObjectP> stars;
157 #include "StelPluginInterface.hpp" 163 Q_PLUGIN_METADATA(IID StelPluginInterface_iid)
170 #endif // _NAVSTARS_HPP_ void setCurrentNavigationalStarsSetKey(QString key)
Set the set of navigational stars from its key.
void setCurrentNavigationalStarsSet(NavigationalStarsSet nsset)
Set the set of navigational stars.
Define the interface to implement when creating a plugin.
Implementation of StelFader which implements a linear transition.
Anglo-American set (The Nautical Almanach)
void saveConfiguration(void)
Save the settings to the main configuration file.
Main class for Stellarium core processing.
virtual void draw(StelCore *core)
Execute all the drawing functions for this module.
NavigationalStarsSet getCurrentNavigationalStarsSet() const
Get the set of navigational stars.
virtual double getCallOrder(StelModuleActionName actionName) const
Return the value defining the order of call for the given action For example if stars.callOrder[ActionDraw] == 10 and constellation.callOrder[ActionDraw] == 11, the stars module will be drawn before the constellations.
void loadConfiguration(void)
Read (or re-read) settings from the main config file.
Provides functions for performing openGL drawing operations.
void navStarsMarksChanged(bool b)
Emitted when display of markers have been changed.
Manages the registration of specific object properties with the StelProperty system.
NavigationalStarsSet
Available sets of navigational stars.
QString getCurrentNavigationalStarsSetKey(void) const
Get the key of current set of navigational stars.
StelModuleActionName
Define the possible action for which an order is defined.
virtual void init()
Initialize itself.
void setNavStarsMarks(const bool b)
Set flag of displaying markers of the navigational stars Emits navStarsMarksChanged() if the value ch...
void restoreDefaultConfiguration(void)
Set up the plugin with default values.
Main class of the Navigational Stars plugin.
QSharedPointer< StelTexture > StelTextureSP
Use shared pointer to simplify memory managment.
virtual void deinit()
Called before the module will be delete, and before the openGL context is suppressed.
virtual void update(double deltaTime)
Update the module with respect to the time.
bool getNavStarsMarks(void) const
Get flag of displaying markers of the navigational stars.
This is the common base class for all the main components of stellarium.
French set (Ephémérides Nautiques)
Russian set (Морской астрономический ежегодник)
Main window of the Navigational Stars plug-in.
Contains information about a Stellarium plugin.
virtual bool configureGui(bool show)
Detect or show the configuration GUI elements for the module.