Документ взят из кэша поисковой машины. Адрес
оригинального документа
: http://astro.uni-altai.ru/~aw/stellarium/api/classMeteorMgr.html
Дата изменения: Unknown Дата индексирования: Fri Feb 28 07:21:39 2014 Кодировка: Поисковые слова: neutrino |
![]() |
Stellarium 0.12.3
|
Simulates a meteor shower. More...
#include <MeteorMgr.hpp>
Public Slots | |
int | getZHR (void) |
Get the current zenith hourly rate. More... | |
void | setZHR (int zhr) |
Set the zenith hourly rate. More... | |
void | setFlagShow (bool b) |
Set flag used to turn on and off meteor rendering. More... | |
bool | getFlagShow (void) const |
Get value of flag used to turn on and off meteor rendering. More... | |
void | setMaxVelocity (int maxv) |
Set the maximum velocity in km/s. More... | |
Signals | |
void | zhrChanged (int) |
Public Member Functions | |
MeteorMgr (int zhr, int maxv) | |
Construct a MeteorMgr object. More... | |
virtual void | init () |
Initialize the MeteorMgr object. More... | |
virtual void | draw (StelCore *core, class StelRenderer *renderer) |
Draw meteors. More... | |
virtual void | update (double deltaTime) |
Update time-dependent parts of the module. More... | |
virtual double | getCallOrder (StelModuleActionName actionName) const |
Defines the order in which the various modules are drawn. More... | |
![]() | |
virtual void | deinit () |
Called before the module will be deleted, and before the renderer is destroyed. More... | |
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... | |
virtual bool | configureGui (bool show=true) |
Detect or show the configuration GUI elements for the module. More... | |
Properties | |
int | ZHR |
Additional Inherited Members | |
![]() | |
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... | |
Simulates a meteor shower.
Definition at line 30 of file MeteorMgr.hpp.
MeteorMgr::MeteorMgr | ( | int | zhr, |
int | maxv | ||
) |
Construct a MeteorMgr object.
zhr | the base zenith hourly rate - i.e. the rate when there is no meteor shower in progress. |
maxv | the initial value of the maximum meteor velocity. |
|
virtual |
Draw meteors.
Reimplemented from StelModule.
|
virtual |
Defines the order in which the various modules are drawn.
Reimplemented from StelModule.
|
inlineslot |
Get value of flag used to turn on and off meteor rendering.
Definition at line 74 of file MeteorMgr.hpp.
|
slot |
Get the current zenith hourly rate.
|
virtual |
Initialize the MeteorMgr object.
Implements StelModule.
|
inlineslot |
Set flag used to turn on and off meteor rendering.
Definition at line 72 of file MeteorMgr.hpp.
|
slot |
Set the maximum velocity in km/s.
|
slot |
Set the zenith hourly rate.
|
virtual |
Update time-dependent parts of the module.
This function adds new meteors to the list of currently visiable ones based on the current rate, and removes those which have run their course.
Implements StelModule.