21 #ifndef _METEORMGR_HPP_
22 #define _METEORMGR_HPP_
24 #include "StelModule.hpp"
59 virtual void update(
double deltaTime);
87 std::vector<Meteor*> active;
94 #endif // _METEORMGR_HPP_
void setMaxVelocity(int maxv)
Set the maximum velocity in km/s.
Main class for Stellarium core processing.
static const double zhrToWsr
Factor to convert from zhr to whole earth per second rate.
void setZHR(int zhr)
Set the zenith hourly rate.
virtual void update(double deltaTime)
Update time-dependent parts of the module.
virtual void draw(StelCore *core)
Draw meteors.
MeteorMgr(int zhr, int maxv)
Construct a MeteorMgr object.
bool getFlagShow(void) const
Get value of flag used to turn on and off meteor rendering.
StelModuleActionName
Define the possible action for which an order is defined.
int getZHR(void)
Get the current zenith hourly rate.
Simulates a meteor shower.
This is the common base class for all the main components of stellarium.
virtual double getCallOrder(StelModuleActionName actionName) const
Defines the order in which the various modules are drawn.
void setFlagShow(bool b)
Set flag used to turn on and off meteor rendering.
virtual void init()
Initialize the MeteorMgr object.