![]() |
Stellarium
0.17.0
|
Models a single sporadic meteor with a random color and a random radiant. More...
#include <SporadicMeteor.hpp>
Public Member Functions | |
| SporadicMeteor (const StelCore *core, const float &maxVel, const StelTextureSP &bolideTexture) | |
| Create a SporadicMeteor object. | |
Public Member Functions inherited from Meteor | |
| Meteor (const StelCore *core, const StelTextureSP &bolideTexture) | |
| Create a Meteor object. | |
| void | init (const float &radiantAlpha, const float &radiantDelta, const float &speed, const QList< ColorPair > colors) |
| Initialize meteor. | |
| virtual bool | update (double deltaTime) |
| Updates the position of the meteor, and expires it if necessary. More... | |
| virtual void | draw (const StelCore *core, StelPainter &sPainter) |
| Draws the meteor. | |
| bool | isAlive () |
| Indicate if the meteor still visible. | |
| void | setAbsMag (float mag) |
| Set meteor absolute magnitude. | |
| float | absMag () |
| Get meteor absolute magnitude. | |
Additional Inherited Members | |
Public Types inherited from Meteor | |
| typedef QPair< QString, int > | ColorPair |
| <colorName, intensity> | |
1.8.11