Stellarium 0.11.3
Home · All Namespaces · All Classes · Functions · Coding Style · Scripting · Plugins · File Structure

MeteorMgr Class Reference

Simulates a meteor shower. More...

#include <MeteorMgr.hpp>

List of all members.

Public Slots

int getZHR (void)
void setZHR (int zhr)
void setFlagShow (bool b)
bool getFlagShow (void) const
void setMaxVelocity (int maxv)


void zhrChanged (int)

Public Member Functions

 MeteorMgr (int zhr, int maxv)
virtual void init ()
virtual void draw (StelCore *core)
virtual void update (double deltaTime)
virtual double getCallOrder (StelModuleActionName actionName) const


int ZHR

Detailed Description

Simulates a meteor shower.

Constructor & Destructor Documentation

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.

Member Function Documentation

virtual void MeteorMgr::update ( double  deltaTime  )  [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.

Generated on Thu May 31 10:37:20 2012 for Stellarium by  doxygen 1.6.3