![]() |
Stellarium
25.3
|
Data Structures | |
| class | MosaicCamera |
| Main class of the Mosaic Camera plug-in. More... | |
The Mosaic Camera plugin overlays camera sensor boundaries on the sky.
| class MosaicCamera |
Main class of the Mosaic Camera plug-in.
Public Slots | |
| void | setRA (const QString &cameraName, double ra) |
| void | setDec (const QString &cameraName, double dec) |
| void | setRotation (const QString &cameraName, double rotation) |
| void | setVisibility (const QString &cameraName, bool visible) |
| void | setPosition (const QString &cameraName, double ra, double dec, double rotation) |
| void | setRADecToView () |
| void | setRADecToObject () |
| void | setViewToCamera () |
| void | incrementRotation () |
| void | decrementRotation () |
| void | nextCamera () |
| void | previousCamera () |
| void | enableMosaicCamera (bool b) |
| void | setFlagShowButton (bool b) |
| void | setCurrentCamera (const QString &cameraName) |
| void | setCurrentRA (double ra) |
| void | setCurrentDec (double dec) |
| void | setCurrentRotation (double rotation) |
| void | setCurrentVisibility (bool visible) |
| void | saveSettings () const |
| void | restoreDefaults () |
Signals | |
| void | flagMosaicCameraVisibilityChanged (bool b) |
| void | flagShowButtonChanged (bool b) |
| void | currentCameraChanged (const QString &cameraName) |
| void | currentRAChanged (double ra) |
| void | currentDecChanged (double dec) |
| void | currentRotationChanged (double rotation) |
| void | currentVisibilityChanged (bool visible) |
Public Member Functions | |
| void | init () override |
| Initialize itself. More... | |
| void | draw (StelCore *core) override |
| Execute all the drawing functions for this module. More... | |
| double | getCallOrder (StelModuleActionName actionName) const override |
| 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... | |
| bool | configureGui (bool show=true) override |
| Detect or show the configuration GUI elements for the module. More... | |
| Q_INVOKABLE double | getRA (const QString &cameraName) const |
| Q_INVOKABLE double | getDec (const QString &cameraName) const |
| Q_INVOKABLE double | getRotation (const QString &cameraName) const |
| Q_INVOKABLE bool | getVisibility (const QString &cameraName) const |
| QString | getCurrentCamera () const |
| double | getCurrentRA () const |
| double | getCurrentDec () const |
| double | getCurrentRotation () const |
| double | getCurrentVisibility () const |
| bool | isEnabled () const |
| bool | getFlagShowButton () const |
| void | loadSettings () |
| QStringList | getCameraNames () const |
| void | readPolygonSetsFromJson (const QString &cameraName, const QString &filename) |
Public Member Functions inherited from StelModule | |
| 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... | |
Camera properties | |
We maintain the concept of a "current" camera primarily for the convenience of setting and getting properties through the Stellarium Remove Control HTTP API. | |
| bool | enabled |
| Are mosaic camera overlays enabled? | |
| bool | showButton |
| QString | currentCamera |
| The name of the current camera. | |
| double | ra |
| Set or get the current camera's right ascension [deg]. | |
| double | dec |
| Set or get the current camera's declination [deg]. | |
| double | rotation |
| Set or get the current camera's rotation [deg]. | |
| bool | visible |
| Set or get the current camera's visibility. | |
Additional Inherited Members | |
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... | |
Protected Member Functions inherited from StelModule | |
| 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... | |
|
overridevirtual |
Detect or show the configuration GUI elements for the module.
This is to be used with plugins to display a configuration dialog from the plugin list window.
| show | if true, make the configuration GUI visible. If false, hide the config GUI if there is one. |
Reimplemented from StelModule.
|
overridevirtual |
Execute all the drawing functions for this module.
| core | the core to use for the drawing |
Reimplemented from StelModule.
|
overridevirtual |
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.
| actionName | the name of the action for which we want the call order |
Reimplemented from StelModule.
|
overridevirtual |
Initialize itself.
If the initialization takes significant time, the progress should be displayed on the loading bar.
Implements StelModule.