Документ взят из кэша поисковой машины. Адрес
оригинального документа
: http://astro.uni-altai.ru/~aw/stellarium/api/classSolarSystemEditor.html
Дата изменения: Unknown Дата индексирования: Fri Feb 28 07:39:37 2014 Кодировка: Поисковые слова: р п р п р п р п р п р п р п р п р п р п р п р п р п |
Stellarium 0.12.3
|
Main class of the Solar System Editor plug-in. More...
#include <SolarSystemEditor.hpp>
Public Types | |
enum | UpdateFlag { UpdateNameAndNumber = 0x01, UpdateType = 0x02, UpdateOrbitalElements = 0x04, UpdateMagnitudeParameters = 0x08 } |
Flags to control the updateSolarSystemConfigurationFile() function. More... | |
Public Types inherited from StelModule | |
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... | |
Public Slots | |
void | resetSolarSystemToDefault () |
Resets the Solar System configuration file and reloads the Solar System. More... | |
Signals | |
void | solarSystemChanged () |
Public Member Functions | |
virtual void | init () |
called when the plug-in is loaded. More... | |
virtual void | deinit () |
called before the plug-in is un-loaded. More... | |
virtual void | update (double deltaTime) |
Update the module with respect to the time. More... | |
virtual void | draw (StelCore *core, class StelRenderer *renderer) |
draws on the view port. More... | |
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. More... | |
virtual bool | configureGui (bool show) |
called when the "configure" button in the "Plugins" tab is pressed More... | |
SsoElements | readMpcOneLineCometElements (QString oneLineElements) |
Reads a single comet's orbital elements from a string. More... | |
SsoElements | readMpcOneLineMinorPlanetElements (QString oneLineElements) |
Reads a single minor planet's orbital elements from a string. More... | |
SsoElements | readXEphemOneLineElements (QString oneLineElements) |
Reads a single object's orbital elements from a string. More... | |
QList< SsoElements > | readMpcOneLineCometElementsFromFile (QString filePath) |
Reads a list of comet orbital elements from a file. More... | |
QList< SsoElements > | readMpcOneLineMinorPlanetElementsFromFile (QString filePath) |
Reads a list of minor planet orbital elements from a file. More... | |
QList< SsoElements > | readXEphemOneLineElementsFromFile (QString filePath) |
Reads a list of Solar System object orbital elements from a file. More... | |
bool | appendToSolarSystemConfigurationFile (SsoElements object) |
Adds a new entry at the end of the user solar system configuration file. More... | |
bool | appendToSolarSystemConfigurationFile (QList< SsoElements >) |
Adds new entries at the end of the user solar system configuration file. More... | |
Q_DECLARE_FLAGS (UpdateFlags, UpdateFlag) bool updateSolarSystemConfigurationFile(QList< SsoElements > objects | |
Updates entries in the user solar system configuration file. More... | |
QHash< QString, QString > | getDefaultSsoIdentifiers () |
Returns the names of the objects listed in the default ssystem.ini. More... | |
QHash< QString, QString > | listAllLoadedSsoIdentifiers () |
Lists the objects listed in the current user ssystem.ini. More... | |
bool | removeSsoWithName (QString name) |
Removes an object from the user Solar System configuration file. More... | |
bool | copySolarSystemConfigurationFileTo (QString filePath) |
bool | replaceSolarSystemConfigurationFileWith (QString filePath) |
QString | getCustomSolarSystemFilePath () const |
returns the path More... | |
Public Member Functions inherited from StelModule | |
virtual bool | drawPartial (StelCore *core, class StelRenderer *renderer) |
Iterate through the drawing sequence. More... | |
virtual QString | getModuleVersion () const |
Get the version of the module, default is stellarium main version. More... | |
virtual QString | getAuthorName () const |
Get the name of the module author. More... | |
virtual QString | getAuthorEmail () const |
Get the email adress of the module author. More... | |
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... | |
Public Attributes | |
UpdateFlags | flags |
Main class of the Solar System Editor plug-in.
Solar System bodies are identified by their names in Stellarium, but entries in the configuration file are identified by their group (section) names. This makes more difficult the detection of duplicates.
Definition at line 59 of file SolarSystemEditor.hpp.